Starting with GTK 2.8.0 (tried 2.8.1 and 2.8.2 too) menus appears to be black in gtk apps (like gftp or amule for example). Opening a menu results in many messages: Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap I tried to recompile lestest CVS, same problem.
Created attachment 3073 [details] Capture screen of gftp on KDE 3.4.2 and gtk-qt-engine 0.6cvs You can see full of warning in background
Ok, made new tests with: gtk 2.8.2 glib 2.8.1 pango 1.10.0 cairo : 1.0.0 all compiled from scratch Now the message I have is : gftp-gtk:30042): Gdk-WARNING **: Using Cairo rendering requires the drawable argument to have a specified colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap and of course menus entries are scratched. I put Severity on Critical because it's not possible to work with gtk-qt-engine. As example, gtk apps make segfaults when using with cairo 0.9.x ...
gtk 2.8.3 glib 2.8.1 pango 1.10.0 cairo : 1.0.0 I have the same problem.
Black menus and: Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap with gtk 2.8.x
Created attachment 3446 [details] [review] gtk-qt-engine-0.6-alt-menubg-colormap.patch courtesy of Alexey Morozov (morozov at altlinux dot org)
Dmitry Vukolov's patch works fine for me.
works for me, but someone should apply the patch if it is ok :)
*** Bug 5405 has been marked as a duplicate of this bug. ***
*** Bug 4571 has been marked as a duplicate of this bug. ***
Thanks, this should now be fixed in CVS.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.