GNOME Bugzilla – Bug 93033
Have recent files on the toolbar
Last modified: 2020-12-04 18:19:38 UTC
Suggested in bug 93000 Suggested method of opening recent files: 1. click on down arrow beside Open icon on toolbar 2. activate targeted file Calum says: It's certainly an interesting idea and I don't think I've ever heard suggested before... actually I quite like the sound of it, but that's without actually trying it of course :) However, I think we'd have to standardize on how to do it (and write it into the HIG) before encouraging people to actually use it in their applications. Otherwise we'll end up with some applications using it and some not, which would be inconsistent and annoying for users.
In fact, this is implemented in gedit 2.1.x. Maybe people should try it there and write it into the HIG :)
I like how gedit has added this feature, though i wish the damn widget would work like it supposed to, damn bonobo....heehehehe
How should it behave? I am going to modify it soon to correctly display tooltips. Anything wrong with it other than that?
when you mouse over the arrow, the open button should highlight as well (see galeon 1 back/forward buttons for an example). apparently this is really hard to implement with bonobo.
This is one reason I'm a little loathe to put it in the HIG just yet-- personally I'd like to see the widget working just the way we want it and in one of the standard libraries first. Although maybe if we're sure we like it (which we seem to be) we can always just say "copy and paste the code from gedit" for now :)
Anybody looking at getting this in, say, libegg?
Something or other to do with Recent Files is in libegg, and is expected to move to libgnomeui.
re: libegg stuff... Now that gtk2.4 will have a actions based toolbar api that will most likely lead to a deprecated bonobo toolbar, the widget issue should be less of an issue. Epiphany has a fairly well abstracted action widget that can be moved into a common lib if needed. OTOH, I wouldn't mind us deprecating the idea of opening files from an app in favor of saying "Use the File manager," but thats probably a little far off i guess.
In the interest of privacy, how would one clear this (and all others, if standardized) list?
Probably the same way you clear recent files now: rm -f ~/.recently-used (also known as "pr0n hiding") :)
with the menu button drop down widet in GTK 2.6 is there any need to recommend this in the Guidelines?
There still aren't many apps actually use this, so perhaps it's something we ought to explicitly mention in HIG 3.x. (Especially as there's still no standard way to clear the list, so that's something we might want a UI pattern for.)
We'd need a standardised widget to do this I think, something like a toolbar button with list, the list can be populated by an external function so for instance we could plug GtkRecent or Zeitgeist into it easily enough.
Recent files on the toolbar is useful in some cases (gedit being a good example), but the number of apps where this is relevant is (thankfully) shrinking. I don't think we really need guidelines on this.