GNOME Bugzilla – Bug 325745
White, black, grey point selection buttons have no text or icons in the levels dialog
Last modified: 2008-01-15 14:05:23 UTC
Please describe the problem: The grey selection and simular buttons is too small and has no text nor icon. The application uses the default scheme. Steps to reproduce: 1. Open levels buttons. 2. See the small buttons. Actual results: Expected results: Does this happen every time? Yes. Other information: Maybe it's a Win32 specific issue, I don't know.
Created attachment 56755 [details] the screenshot of levels dialog Look at the colour selection buttons
Looks like a problem with your build. But since 2.3.5 is a development version and not even the latest released one, it is probably not worth investigating this further. Closing as OBSOLETE.
(In reply to comment #2) > Looks like a problem with your build. But since 2.3.5 is a development version > and not even the latest released one, it is probably not worth investigating > this further. Closing as OBSOLETE. This bug also occurs in the Windows build of version 2.2.10 and is worth investigating further!
Yep, reopening.
Michael, since you see this too, would you mind adding some debugging printf to gimp_enum_stock_box_new_with_range() in libgimpwidgets/gimpenumwidgets.c ? The critical part being the call to gtk_image_new_from_stock()
I can't reproduce this in my own builds (gimp-2-2 and HEAD). Maybe it is a problem with the binaries in the installers?
I know what the problem is: GTK+ on Windows by default ships with disabled images on buttons - the gtkrc for the ms-windows theme is set this way: # disable images in buttons. i've only seen ugly delphi apps use this feature. gtk-button-images = 0 Commenting out that line causes the images to reappear.
We should slap whomever added this line.
Seriously, reassign to GTK+?
Of course not. GTK+ does the right thing here and for the Windows platform, gtk-button-images=0 is a reasonable default because it matches the look of the native widgets. The bug here is that GIMP abuses the stock-id property instead of manually adding the icons.
Fixed in both branches: 2006-01-31 Sven Neumann <sven@gimp.org> * app/tools/gimplevelstool.c (gimp_levels_tool_color_picker_new): manually add the icons to the color picker buttons instead of abusing the stock-id property. Fixes bug #325745.
*** Bug 330421 has been marked as a duplicate of this bug. ***