Squib of the day: all (or some) menu options should have icons

Icon from the orthodox nunnery of LintulaCurrently, only some of the options on the window menu have icons beside them.  GNOME bug 118405 suggests that all of them should, or at least that any option should have an icon whose inverse already has an icon, for consistency.  Whether the icons should change according to the theme is also discussed.

Photo © robin-root, cc-by-sa.

Published by

Thomas Thurman

Mostly themes, triaging, and patch review.

3 thoughts on “Squib of the day: all (or some) menu options should have icons”

  1. I have to say that the opinions in the bug all look pretty well-thought-out and reasonable.

    – If a menu item has an icon in one state, it should continue to have an icon when its state is toggled, such as the “Maximize” menu becoming “Unmaximize” on an already-maximized window (the writeup suggests that there may be two items appearing in the same menu that are inverses of each other; it turns out that’s not actually the case). It might even have the same icon in both states.

    – Not every menu-item should have an icon, just the most important ones.

    – The current menu item icons correspond to Windows’ standard button-glyphs, but the actual button glyphs of the window are drawn by the Metacity theme; it only seems fair for consistency that the menu icons are drawn by the theme too. Making menu-icons from existing themes would be difficult – you’d have to draw a full titlebar to a pixmap and crop out the button-shapes you needed. The alternative is to add special “window parts” used to draw the menu-icons, so the theme can create icons that resemble the buttons, but are designed to work in a menu context (for example, in a menu a theme can’t control the background colour).

    – If a Metacity theme doesn’t supply specific instructions for drawing menu icons, it seems quite a good idea to load menu icons from the icon theme – bundling an icon theme with a Metacity theme seems a pretty easy thing to do.

    – Another idea only lightly brushed on in the bug is that the existing icons don’t work very well in many GTK+ themes – since they’re plain black, they can be hard to see if you’re using a dark theme, or if you’re using a light theme with a dark highlight-colour.

  2. The initial idea of icons on menus, when Microsoft foisted it upon us, was so that you could easily identify menu items that had an equivalent on the application’s toolbar.

    Since none of the window menu icons appear on any toolbar, I don’t see any need for icons on the menu at all.

  3. (Unless, of course, you count the title bar as a ‘toolbar’– in which case, I guess, it makes sense to continue to show the icons for Minimize, Maximize, Unmaximize and Close on the menu, which was probably the original rationale for the current situation anyway….)

Leave a Reply

Your email address will not be published. Required fields are marked *

Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported.