See First: Tango Project Different intentions but likely to have similar affect to what I was hoping for.

See also: WidgetWishlist.

Stock Items

There is room for many more Stock Items in Gnome and hopefully directly in GTK. Note that I am talking about stock items, not just stock icon graphics and there will be cases (status bar for example) where it will still be very useful to have a standard item but without necessarily having an icon for it. Stock items help unify the look and feel of applications and increase consistency. Stock Items also mean stock translations and provide help centralise and standardise strings. Having items in a central place should also make it easier for distibutions to customise the whole desktop for better integration and consistancy with other toolkits if they want. (I particularly like how this will empower independant developers to reconfigure their whole desktop if they see fit) Sometimes it is more important to be consistant than it is to be perfect or have the idea answer. At least by being consistant it will make it easier to revise descisions in one single place. In some cases looking at the stock items will indicate that it might be appropriate to create stock widgets or dialogs or establish new standards.

Insert Obligatory comment here about how great the existing work of Jimmac, Tigert and others has been.

Although some adhoc efforts have been made to add more stock items it has become clear that it would be wiser to gather a list and try and add many stocks items and at the same time document how they should be used.

There is an increasing demand for standardisation across graphics applications, with particular reference to the GNU Image Manipulation Program (the GIMP) and Inkscape. Other applications that would be likely to benefit include EOG, Gthumb, Dia, GNU Paint and more. A lot of great work has already gone into EOG and gthumb that could potentially be used by many other applications. The hard part with the GIMP is deciding which stock items are more universally reusable.

Items which would probably make useful stock items

  • File
    • Import
      • also knows as Open as Copy
    • Export
      • also known as Save as Copy
    • Page Setup
    • Open Recent (submenu)
    • Send ?
  • View
    • Full Screen
    • Status Bar
    • Rulers
  • Help
  • Go
    • Various applications feature a Go menu with different types navigation tools.
  • Bookmarks
    • Add Bookmark
    • Edit Bookmarks
      • or Manage Bookmarks (in Mozilla).

Comments and notes on the above stock items.

Select All seems to already be available as a stock Gnome item but not yet in GTK. Rulers are not just limited to graphics applications. Office applications such as Abiword or Open Office Impress also have need for rulers. Send is listed because it appears in the Gnome Human Interface guidelines although it is not yet widely used. In an effort to keep things coherent I have roughly categorised them based on where they might appear in menus but as the list gets longer this layout may be counter productive and need to be changed.

  • Edit
    • Duplicate
    • Select All Ctrl+A
    • Select None Ctrl+Shift+A
  • View
    • Grid
    • Snap to Grid
  • Image or Object
    • Rotate Right Ctrl+R
      • Rotate clockwise, usually 90 degrees.
    • Rotate Left
      • Rotate anticlockwise, usually 90 degrees
    • Flip Horizontal
      • Mirror left to right, or mirror right to left.
    • Flip Vertical
      • Flip top to bottom
    • Group
    • Ungroup
  • Layers

  • Loop
    • Since gtk+-2.6 there are icons for play, stop, next, previous and so on. The source where the icons came from also has a loop (repeat) icon, which was not included.


Screenshot Set as Wallpaper

It would be very good to have new tab (ctrl+t) and close tab (ctrl+w) stock menu items. Maybe also for close all tabs.

Preferences dialogs

  • Standard look for prefs that use a side pane for sections. And guidelines on when to use these instead of tabs. Examples: xChat-Gnome, Meld.
  • Font preferences that allow Default or custom. Examples: xChat-Gnome, Meld, gnome-terminal

Stock Discard

Stock Fullscreen and Stock Info

Group and Ungroup includes sample icons in png format

Stock Window? (somewhat off-topic from original bug report)


GTK 2.4 Stock Items API reference

Gnome Stock Items API reference

GIMP Stock Items API reference

KDE Stock Items ???

QT Stock Items ???


Help cleaning up the layout and improving the wiki syntax of this page will be greatly appreciated.

See Also ProjectRidley ProjectRidley is likely to push the Gnome Stock items to GTK and may provide an opportunity to clear up some of other Stock itesm


Attic/UsabilityProject/Whiteboard/StockItems (last edited 2014-07-10 23:07:16 by AllanDay)