When using gtk apps with x11-themes/gtk-qt-engine menus go black, and sometimes even the background of the app. This happened after upgrade to gnome 2.12 (only libs, since I use KDE) Also get warnings like: Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap found a patch in: http://www.kde-look.org/content/show.php?content=9714 That solves this problem (I've alredy tried it) Fix: files/patch-src_qt_theme_draw.c gdk_window_set_back_pixmap (window, pixmap, parent_relative);--OEIlp4y05IKeJvV2UlfQNxAkM951LIPevb0whscXQ37qmYvd Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- src/qt_theme_draw.c.orig Thu Nov 10 16:23:45 2005 +++ src/qt_theme_draw.c Thu Nov 10 16:24:55 2005 @@ -1777,6 +1777,7 @@ { pixmap = pix_test; parent_relative = FALSE; + gdk_drawable_set_colormap(pixmap, style->colormap); } How-To-Repeat: Start any gtk app with gtk-qt engine loaded
Maintainer of x11-themes/gtk-qt-engine, Please note that PR ports/88816 just has been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/88816 -- Edwin Groothuis edwin@FreeBSD.org
The problem and the workaround look credible. I'd like to contact the developer first though. It's possible that a patch or new release dealing with maybe more of these Gdk warnings that may have turned into errors by now. Give me a few days for this. If nothing new is coming, the patch goes in and I'll deal with removing it again by the time it hits upstream in some way (submitter, please keep an eye on it also if you will). Thanks, Dan (port maintainer)
After testing on an up-to-date box, I argee this patch is all that's needed. Sorry for the delay. Please commit.
State Changed From-To: open->closed Committed, thanks!