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 97973 - Problems with icon themes via gtkrc
Problems with icon themes via gtkrc
Status: VERIFIED INVALID
Product: GIMP
Classification: Other
Component: General
unspecified
Other other
: Normal normal
: ---
Assigned To: GIMP Bugs
Daniel Egger
Depends on:
Blocks:
 
 
Reported: 2002-11-07 22:23 UTC by gsr.bugs
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Classic-test.tgz, to demo the problem with Gimp 1.3 (1.53 KB, application/x-gzip)
2002-11-07 22:25 UTC, gsr.bugs
Details

Description gsr.bugs 2002-11-07 22:23:18 UTC
I am trying to make a theme for GIMP 1.3/1.4, but it seems
the icon used for rendering is the wrong one. If I use GLE
module to inspect and change the icon size, it renders
OK the next time you set the original size again (size 4 ->
3 -> 4).

Check:
https://lists.XCF.Berkeley.EDU/lists/gimp-developer/2002-November/007611.html
Comment 1 gsr.bugs 2002-11-07 22:25:40 UTC
Created attachment 12145 [details]
Classic-test.tgz, to demo the problem with Gimp 1.3
Comment 2 Owen Taylor 2002-11-07 22:48:54 UTC
I don't know what the GIMP does with icon themes. Might be
a bug there. Icon themes have gotten a fair bit of testing
for accessibility stuff, and seem to work pretty well
with GTK+-2.2.
Comment 3 Sven Neumann 2003-01-07 02:01:08 UTC
What is the point you are trying to proove here? As far as I can see
your theme is working correctly. I get the prefs dialog w/o icons and
I get a relief in the toolbox.

The rest of your gtkrc looks pretty much b0rken and I don't get what
exactly you are trying to achieve here. It seems we need to distribute
a theme with The GIMP so you have something to copy from. Actually I
was hoping we could use your theme for this purpose :-(
Comment 4 gsr.bugs 2003-01-07 02:57:59 UTC
The point was (here it still is), that the navigation "four
arrows" image should appear as a green square in the image
windows, but appears as blue, which is the image for all the
other sizes. Forget about reliefs or preference windows, just
track where gimp navigation icons appear.

Using GLE as inspector, it shows all is OK. If you force the
size with GLE to a different value, and change back to the
original one, the green square appears. In other places, like
a tab header for navigation preview (dock), the green version
appears since the first time it is draw, as it should.

So the line '{ "images/test-green.png", *, *, "gtk-button" },'
that appears in the file 'gtkrc-icons' is only in effect in the
image window after GLE forcing it by the change. If all would be working, it should be green for size 4 (button size) as soon as
it is draw on screen, without GLE tricks.

The GLE steps I used: gimp-1.3 --gtk-module=gle, Ctrl+Alt+Tab to
get GLE on screen, click Selector and click in an image window.
MB3 click in image_window entry and choose Tree Editor. Then
via MB3 again choose Object editor for GimpDisplayShell - GtkVBox
- GtkVBox - GtkHBox - GtkEvenBox - GtkImage. You get a window
where it says Icon size 4 and Stock ID gimp-navigation. Change
size to 3 and back to 4, icon changes colour.
Comment 5 gsr.bugs 2003-01-07 02:59:13 UTC
The point was (here it still is), that the navigation "four
arrows" image should appear as a green square in the image
windows, but appears as blue, which is the image for all the
other sizes. Forget about reliefs or preference windows, just
track where gimp navigation icons appear.

Using GLE as inspector, it shows all is OK. If you force the
size with GLE to a different value, and change back to the
original one, the green square appears. In other places, like
a tab header for navigation preview (dock), the green version
appears since the first time it is draw, as it should.

So the line '{ "images/test-green.png", *, *, "gtk-button" },'
that appears in the file 'gtkrc-icons' is only in effect in the
image window after GLE forcing it by the change. If all would be
working, it should be green for size 4 (button size) as soon as
it is draw on screen, without GLE tricks.

The GLE steps I used: gimp-1.3 --gtk-module=gle, Ctrl+Alt+Tab to
get GLE on screen, click Selector and click in an image window.
MB3 click in image_window entry and choose Tree Editor. Then
via MB3 again choose Object editor for GimpDisplayShell - GtkVBox
- GtkVBox - GtkHBox - GtkEvenBox - GtkImage. You get a window
where it says Icon size 4 and Stock ID gimp-navigation. Change
size to 3 and back to 4, icon changes colour.
Comment 6 gsr.bugs 2003-02-25 23:51:11 UTC
No idea what is really going with the blue icon and no
time. Anybody that gets weird icons can open new bugs.