ports/88816: x11-themes/gtk-qt-engine black menus on gtk apps [patch]

Axel Gonzalez loox at e-shell.net
Thu Nov 10 22:40:14 UTC 2005


>Number:         88816
>Category:       ports
>Synopsis:       x11-themes/gtk-qt-engine black menus on gtk apps [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 10 22:40:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Axel Gonzalez
>Release:        6.0-STABLE
>Organization:
>Environment:
FreeBSD moonshadow.e-shell.net 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Nov  4 13:50:49 CST 2005     loox at moonshadow.e-shell.net:/usr/obj/usr/src/sys/LXTOSH  i386
>Description:

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)
>How-To-Repeat:

Start any gtk app with gtk-qt engine loaded
>Fix:

files/patch-src_qt_theme_draw.c

--- 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);
         }

       gdk_window_set_back_pixmap (window, pixmap, parent_relative);
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list