Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 22:37:08 GMT
From:      Axel Gonzalez <loox@e-shell.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/88816: x11-themes/gtk-qt-engine black menus on gtk apps [patch]
Message-ID:  <200511102237.jAAMb8a5048381@www.freebsd.org>
Resent-Message-ID: <200511102240.jAAMeCuV008109@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511102237.jAAMb8a5048381>