GNOME Bugzilla – Bug 136676
drawable menus too wide
Last modified: 2005-02-16 23:56:27 UTC
Ligthing dialog width is to big : look at http://raymond.ostertag.free.fr/pub/bugzilla/lighting_effects.jpeg In my console i have several : (Lighting:2747): Gdk-CRITICAL **: file ../../../gdk/x11/gdkmain-x11.c: line 648 (gdk_error_trap_pop): assertion `gdk_error_traps != NULL' failed
It does certainly not look like that over here. What GTK+ version are you using? Are there any images / drawables with lengthy names? How do the other notebook pages look like? The error messages seem to indicate a problem with your X11 server.
I found the reason for this bad behavior: the image shown in the screenshot is our Wilber Construction Kit. With GIMP from CVS HEAD, I got the same ridiculously large dialog because the "Bump Map" tab contains a drop-down list with the layer names, and the top layer in the Wilber Construction Kit has a very long name. The same problem occurs with other plug-ins such as Bump Map, Displace and others, but it is more annoying in the Lighting Effects plug-in because the preview image and the label next to the drop-down list are already consuming some space.
This is a known problem and I am pretty sure there's a report for it already. Most probably got reassigned to GTK+ since actually it's an problem with GtkOptionMenu. But then GtkOptionMenu is deprecated as of GTK+-2.4. Let's hope that the replacement widget doesn't have this problem. If someone finds the relevant GTK+ bug, please make this a duplicate.
My libgtk+2 is 2.2.4-2mdk
The replacement widget (GtkComboBox) has the very same problem. There is hope though. Pango 1.6 has just been released and it supports ellipsation so sooner or later GTK+ will offer an API for it as well.
2005-02-17 Sven Neumann <sven@gimp.org> * app/widgets/gimpcontainercombobox.c * libgimpwidgets/gimpintcombobox.c: set the "ellipsize" property on the text cell-renderer. Not sure if it's a good idea to hardcode this for GimpIntComboBox, but let's give it a try. Fixes bug #136676.