| 1 |
The information below guided the units: |
| 2 |
CastleWindowRecentFiles, CastleLclRecentFiles, CastleRecentFiles. |
| 3 |
|
| 4 |
------------------------------------------------------------------------------ |
| 5 |
How should recent files menu look and work like in GNOME program ? |
| 6 |
|
| 7 |
(I didn't found this info in any guideline on Internet, |
| 8 |
especially not in GNOME HIG). |
| 9 |
|
| 10 |
Inline "recent files" menu: |
| 11 |
- Examples: See gedit, eog, evince, totem |
| 12 |
- Size: At most 5 recent items |
| 13 |
- Placement: After "print" commands, there's a separator, |
| 14 |
then a recent files list, then separator and "close" commands. |
| 15 |
Menu items are sorted from 1st (the most recent one). |
| 16 |
- Look: "n" + ". " + basename (with extension, without path) of the filename. |
| 17 |
"n" is between 1 and 5, and it's a key shortcut to this menu item. |
| 18 |
Only the basename is shown, to see full filename you should move to this |
| 19 |
menu item --- gedit will show full filename in status bar, |
| 20 |
eog will show it as a hint, in both cases the text is |
| 21 |
Opens "full-filename" |
| 22 |
|
| 23 |
-------------------- |
| 24 |
Separate "recent files" menu: |
| 25 |
- Examples: See gimp |
| 26 |
- Size: At most 10 recent items |
| 27 |
- Placement: As a submenu of "Open recent" in main menu. |
| 28 |
"Open recent" is right below "Open location", so it's visually |
| 29 |
connected with other "Open ..." commands. |
| 30 |
Menu items are sorted from the most recent one. |
| 31 |
- Look: just a file basename. There is no underlined menu shortcut, |
| 32 |
but there is a global shortcut: Ctrl+1, Ctrl+2 etc. |
| 33 |
The last (10th) item has a shortcut Ctrl+0. |
| 34 |
- The "Open recent" submenu ends with separator and command |
| 35 |
"Document History" that displays a window with full (long) list |
| 36 |
of recent files, allowing you to open files on this list and do |
| 37 |
some other operations. |
| 38 |
|
| 39 |
-------------------- |
| 40 |
There are reasons after and against separate "recent files", |
| 41 |
see e.g. [http://bugzilla.gnome.org/show_bug.cgi?id=349541] |
| 42 |
or [http://log.emmanuelebassi.net/archives/category/hacking/recent-files/]. |
| 43 |
In short: |
| 44 |
+ inline recent files menu allows you to avoid submenus, and avoiding |
| 45 |
submenus makes it more visible and easier to navigate |
| 46 |
- inline recent files menu blocks you from placing too many items |
| 47 |
there ("File" menu would grow too large) |
| 48 |
- inline recent files menu doesn't give you a clear place where you |
| 49 |
could place an item like "More" ("Document History" known from GIMP). |
| 50 |
|
| 51 |
-------------------- |
| 52 |
Somewhat related to this is |
| 53 |
[http://standards.freedesktop.org/recent-file-spec/recent-file-spec-0.2.html] |
| 54 |
but it seems to be used only by GIMP for now. |