After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 158009 - Stock Browse
Stock Browse
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: [obsolete] stock-icons
unspecified
Other All
: Normal enhancement
: Small API
Assigned To: libgnomeui maintainers
libgnomeui maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-11 22:16 UTC by Alan Horkan
Modified: 2013-08-14 01:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Alan Horkan 2004-11-11 22:16:21 UTC
(no idea if this belongs in gtk+ but I'm reasonably sure this is an appropriate
place for it)

Many dialogs use a Text Entry followed by a Browse Button like so
[                    ] [ Browse... ]

Some developers have a bad habit of using only "..." three dots instead of
Browse, and I believe the fact that it doesn't need to be translated is a factor
in this decision.   

Given how often this scenario occurs I think it would be reasonably worthwhile
for there to be a stock button for it.
Comment 1 Alan Horkan 2004-11-29 17:10:40 UTC
In hindsight I really should have filded this against GTK, so moving...
Comment 2 Alan Horkan 2004-12-17 20:59:14 UTC
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooserButton.html

I was just looking at the Gtk File chooser Button which appears to have been
added for gtk 2.6 
It seems to meet the required functionality I described above but I'm concerned
about the user inteface.  

the usual way of displaying this functionality looks like:
[                    ] [ Browse... ]

which has the advantage of allowing the user to see and copy the whole file path
location if they want, and the labelled button with the ... makes it fairly
clear that clicking on the button will pop a new dialog.  

Perhaps the FileChooserButton has advantages I'm not seeing?  
Comment 3 Yevgen Muntyan 2006-03-23 15:20:24 UTC
The main its advantages are ease of use for developer and uniform appearance/functionality in all gtk applications, but in some cases it's invonvenient, e.g. for copy/paste; or impossible to use, e.g. for entering a path which may or may not exist (no, it's not SAVE or CREATE_FOLDER action of GtkFileChooser). An entry with Browse button can not be replaced with GtkFileChooserButton everywhere.
Comment 4 Alan Horkan 2006-03-23 16:11:32 UTC
I should have updated this report, a gtk developer did explain to me recently that the GtkFileChooser was only intended for a few specific tasks, not a universal replacement for an entry and a selection button (so if I were to see it used inappropriately I could file bugs against the app rather than against the widget). 
 
Comment 5 Matthias Clasen 2013-08-14 01:46:12 UTC
gtk stock apis have been deprecated.