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 128723 - proposal for new icon selector dialog
proposal for new icon selector dialog
Status: RESOLVED OBSOLETE
Product: libgnomeui
Classification: Deprecated
Component: general
unspecified
Other All
: High enhancement
: future
Assigned To: libgnomeui maintainers
libgnomeui maintainers
Depends on:
Blocks:
 
 
Reported: 2003-12-07 12:41 UTC by Stefan Ihringer
Modified: 2011-04-12 14:36 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
UI mockup of icon selector (checkbox to view file names not yet included) (52.65 KB, image/png)
2003-12-07 12:42 UTC, Stefan Ihringer
  Details
2nd UI mockup of icon selector (53.97 KB, image/png)
2003-12-07 12:44 UTC, Stefan Ihringer
  Details
An implementation of changes described in this bug (10.22 KB, patch)
2003-12-18 03:15 UTC, James Cape
none Details | Review
Better patch w/ icons in the combobox & preview updates from "update-preview" signal. (12.07 KB, patch)
2003-12-18 07:55 UTC, James Cape
rejected Details | Review

Description Stefan Ihringer 2003-12-07 12:41:16 UTC
I am proposing an overhaul of the icon selector's GUI to make it easier to
use. The main aims are:

- Implement freedesktop.org icon theme logic (which means: display the
  48x48 icons of the default gnome icon theme and merge them with the
  current icon theme)
- Use categories to help new users select an icon instead of forcing
  them to use the file selector to browse the whole file system
- Allow picking a custom icon using the file selector if user wants to do
  so (which is the way it's currently done)
- Implement a substring search feature in the icon list that shows matching
  file names while you're typing e.g. when entering "xchat" it would not
  only look for "xchat-icon.png" but also for "gnome-xchat.png".
- Implement tab completion when selecting a custom icon (see bug #101032)

The issue has been discussed on the usability list. Threads:
http://mail.gnome.org/archives/usability/2003-November/msg00113.html
http://mail.gnome.org/archives/usability/2003-December/msg00000.html
http://mail.gnome.org/archives/usability/2003-December/msg00010.html

A mockup of the new icon selector is attached to this bug report.

The idea of icon categories is to facilitate the task of selecting an icon 
that might otherwise be buried beneath dozens or hundreds of icons. 
Category names could be borrowed from clipart collections ("people", 
"computers") or based on the directories already present in icon themes 
("applications", "devices", "file types").

There should also be a category listing "All icons" as well as one listing 
"/usr/share/pixmaps" (as lots of applications are putting their icon there)
. Stock icons and emblems should not be made available in the icon selector 
(users may still select them using the "custom icon" feature).

By clicking the "Browse..." button, a file selector is opened which 
defaults to the home directory or to "~/.icons". The file selector should 
have a preview area and, if possible, shortcuts to installed icon themes or 
relevant directories (/usr/share/icons, /usr/share/pixmaps, ~/.icons).

The file name of each icon should not be listed by default as icons are 
selected based on looks, not on names. Names also take up lots of space. 
However, when selecting a custom icon, the contents of the current 
directory would be listed with file names included. There could also be a 
check box for this feature ([X] show file names) or the file name could be 
displayed as a tooltip.

Changes made to the icon should be applied immediately. A "revert" button 
to return to the previously selected icon might be necessary if this 
feature is not included in the parent dialog (launcher properties).
Comment 1 Stefan Ihringer 2003-12-07 12:42:56 UTC
Created attachment 22173 [details]
UI mockup of icon selector (checkbox to view file names not yet included)
Comment 2 Stefan Ihringer 2003-12-07 12:44:25 UTC
Created attachment 22174 [details]
2nd UI mockup of icon selector
Comment 3 James Cape 2003-12-18 03:03:14 UTC
I've got a mostly working patch to fix this, what I did was:

1.) Make GnomeIconSelection treat the @dir argument of ::add_directory
as a theme context if it's not a directory, and load the icons from
the theme from that.

2.) Change the UI of GnomeIconEntry's picker dialog so it matches the
screenshot below.

What I didn't do but should happen at some point:
1.) Kill the GnomeFileEntry in GnomeIconEntry altogether and use the
GtkFileChooser in the "custom" tab exclusively.
2.) Handle accessibility -- this may need to have each combo box entry
have it's own tab.
3.) Put icons in the pulldown (we've got them from the icon theme, but
this requires a custom ComboBox model).
Comment 5 James Cape 2003-12-18 03:15:18 UTC
Created attachment 22528 [details] [review]
An implementation of changes described in this bug
Comment 6 James Cape 2003-12-18 07:55:51 UTC
Created attachment 22532 [details] [review]
Better patch w/ icons in the combobox & preview updates from "update-preview" signal.
Comment 7 Kjartan Maraas 2004-01-18 20:15:12 UTC
I guess this will have to be punted to 2.7.x now.
Comment 8 Luis Villa 2004-02-14 05:33:18 UTC
It will, and that's a shame.
Comment 9 Anders Carlsson 2004-05-02 10:59:32 UTC
This is something that belongs in GTK+. If we come up with something good in
gtk+ 2.5, I'm willing to apply a patch that makes GnomeIconEntry look similar to it.
Comment 10 Kjartan Maraas 2005-05-11 11:07:14 UTC
Taking this as a rejection of the patches here. Has there been any movement on
the gtk+ side of things?
Comment 11 James Cape 2005-05-11 15:14:11 UTC
Yeah, there's a bunch of work in libegg as md5, pixbufthumbnail,
thumbnailpreview, and iconchooser.
Comment 12 Kjartan Maraas 2006-08-10 09:31:59 UTC
Should we mark this as WONTFIX then?
Comment 13 Kjartan Maraas 2006-10-23 14:24:13 UTC
Obsoleting this.
Comment 14 Markus Bertheau 2006-10-23 15:47:09 UTC
Why? Obsoleted by what? I think this is still a good idea and a good design.
Comment 15 Murray Cumming 2011-04-12 14:36:37 UTC
EggIconChooser, which is maybe relevant, needs to be ported to GTK+3. It uses a custom GtkFileSystem, which is no longer possible.