Completely black menus in GTK applications
Since upgrading to SuSE Linux 10.0 my GTK application have got menus with black backgrounds. Very annoying since the default font colour is black, too... I've seen this in acroread, gimp and eclipse. If I run acroread from a konsole and activate a menu, I get the following error on stderr: (acroread:5291): Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap I've tried various settings in the ControlCentre, under "GTK Styles and Fonts", but to no avail. I've removed all .gtkrc* files in my home directory, didn't help either. I googled the error, and found something releated to gtk2 2.8, but I've checked and the indicated patch is already applied to the SuSE gtk2 version, 2.8.7. Any hints on how to resolve this? -- !++ ! Lennart Börjeson ! Partner, Developer ! Cinnober Financial Technology AB ! Industrigatan 2A ! S-112 46 STOCKHOLM ! Sverige/Sweden/Schweden/Suède ! mailto:Lennart.Borjeson@cinnober.com ! phone:+46-8-50304717 ! gsm:+46-70-3394717 ! fax:+46-8-50304701 ! http://www.cinnober.com !--
On Wednesday 23 November 2005 16:35, Lennart Börjeson wrote:
Since upgrading to SuSE Linux 10.0 my GTK application have got menus with black backgrounds. Very annoying since the default font colour is black, too...
I've seen this in acroread, gimp and eclipse. If I run acroread from a konsole and activate a menu, I get the following error on stderr:
(acroread:5291): Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap
I've tried various settings in the ControlCentre, under "GTK Styles and Fonts", but to no avail. I've removed all .gtkrc* files in my home directory, didn't help either.
I googled the error, and found something releated to gtk2 2.8, but I've checked and the indicated patch is already applied to the SuSE gtk2 version, 2.8.7.
Any hints on how to resolve this?
Uninstall gtk-qt-engine. It's probably an old version from before your update. I had the exact same problem. -- Steve Boddy
Hmmmm, I had the same problem under a heavily updated SuSE 9.1 after installing GTK 2.8 I fixed this with rebuilding the gtk-qt-engine source package from SuSE 10.0. So that's why I know that the gtk-qt-engine from SuSE 10.0 has a fix for that bug. So I think Lennart updated either GTK or gtk-qt-engine from a package not provided by SuSE itself. I suggest reinstalling gtk and/or gtk-qt-engine from the suse cd/dvd. That should fix it. After that just use you to fetch all updates for these 2 packages provided by SuSE directly. Might be possible that there aren't any updates for these two packages though. Best, Daniel Am Mittwoch, 23. November 2005 18:36 schrieb Stephen Boddy:
On Wednesday 23 November 2005 16:35, Lennart Börjeson wrote:
Since upgrading to SuSE Linux 10.0 my GTK application have got menus with black backgrounds. Very annoying since the default font colour is black, too...
I've seen this in acroread, gimp and eclipse. If I run acroread from a konsole and activate a menu, I get the following error on stderr:
(acroread:5291): Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap
I've tried various settings in the ControlCentre, under "GTK Styles and Fonts", but to no avail. I've removed all .gtkrc* files in my home directory, didn't help either.
I googled the error, and found something releated to gtk2 2.8, but I've checked and the indicated patch is already applied to the SuSE gtk2 version, 2.8.7.
Any hints on how to resolve this?
Uninstall gtk-qt-engine. It's probably an old version from before your update. I had the exact same problem. -- Steve Boddy
Thank you both. Removing gtk-qt-engine, which I've got via apt from an external source, resolved the issue. Just curious and willing to learn: How did either of you determine that the package gtk-qt-engine was at fault? I do also have a "heavily updated" system, and after having gone through many upgrades, on several machines, through increasingly later, better and greater SuSE versions, I've learned to expect problems unless I have sticked to "pure" SuSE packages. But sometimes the temptation to install additional goodies is too great, even if I know this might lead to problems later on. (Sigh.) Thanks again, /Lennart Börjeson onsdag 23 november 2005 18:51 skrev Daniel Eckl:
Hmmmm, I had the same problem under a heavily updated SuSE 9.1 after installing GTK 2.8
I fixed this with rebuilding the gtk-qt-engine source package from SuSE 10.0. So that's why I know that the gtk-qt-engine from SuSE 10.0 has a fix for that bug.
So I think Lennart updated either GTK or gtk-qt-engine from a package not provided by SuSE itself.
I suggest reinstalling gtk and/or gtk-qt-engine from the suse cd/dvd. That should fix it. After that just use you to fetch all updates for these 2 packages provided by SuSE directly. Might be possible that there aren't any updates for these two packages though.
Best, Daniel
Am Mittwoch, 23. November 2005 18:36 schrieb Stephen Boddy:
On Wednesday 23 November 2005 16:35, Lennart Börjeson wrote:
Since upgrading to SuSE Linux 10.0 my GTK application have got menus with black backgrounds. Very annoying since the default font colour is black, too...
I've seen this in acroread, gimp and eclipse. If I run acroread from a konsole and activate a menu, I get the following error on stderr:
(acroread:5291): Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap
I've tried various settings in the ControlCentre, under "GTK Styles and Fonts", but to no avail. I've removed all .gtkrc* files in my home directory, didn't help either.
I googled the error, and found something releated to gtk2 2.8, but I've checked and the indicated patch is already applied to the SuSE gtk2 version, 2.8.7.
Any hints on how to resolve this?
Uninstall gtk-qt-engine. It's probably an old version from before your update. I had the exact same problem. -- Steve Boddy
-- !++ ! Lennart Börjeson ! Partner, Developer ! Cinnober Financial Technology AB ! Industrigatan 2A ! S-112 46 STOCKHOLM ! Sverige/Sweden/Schweden/Suède ! mailto:Lennart.Borjeson@cinnober.com ! phone:+46-8-50304717 ! gsm:+46-70-3394717 ! fax:+46-8-50304701 ! http://www.cinnober.com !--
Hi, I had the same problems with my SuSE 9.3 (apt maintained) after I upgraded gtk2 to 2.8.x for successful compiling jpilot 0.99.8 with gtk2 support. After removing gtk-qt-engine package all is fine. Thanx very much! Regards, Juergen -- ### Juergen Lennefer ### Kuerten ### Germany ###
On Thursday 24 November 2005 11:15, Juergen Lennefer wrote:
Hi,
I had the same problems with my SuSE 9.3 (apt maintained) after I upgraded gtk2 to 2.8.x for successful compiling jpilot 0.99.8 with gtk2 support. After removing gtk-qt-engine package all is fine. Thanx very much!
Regards, Juergen -- ### Juergen Lennefer ### Kuerten ### Germany ###
Ditto. -- Steve Boddy
On Monday 28 November 2005 10:48 am, Stephen Boddy wrote:
On Thursday 24 November 2005 11:15, Juergen Lennefer wrote:
Hi,
I had the same problems with my SuSE 9.3 (apt maintained) after I upgraded gtk2 to 2.8.x for successful compiling jpilot 0.99.8 with gtk2 support. After removing gtk-qt-engine package all is fine. Thanx very much!
Regards, Juergen -- ### Juergen Lennefer ### Kuerten ### Germany ###
Ditto. -- Steve Boddy
The gtk-qt engine is indeed the culprit for these issues. You can either remove it or recompile it using the patch at http://www.kde-look.org/content/show.php?content=9714 The patch mentioned on that link is: diff -urN gtk-qt-engine-0.6.orig/src/qt_theme_draw.c gtk-qt-engine-0.6/src/qt_theme_draw.c --- gtk-qt-engine-0.6.orig/src/qt_theme_draw.c 2004-12-21 21:28:34 +0600 +++ gtk-qt-engine-0.6/src/qt_theme_draw.c 2005-09-30 08:20:50 +0700 @@ -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); -- Osho
Daniel, I have run into this problem after rolling kde up to 3.5 via apt on 9.3 system. While removing the gtk-qt-engine will get the menus back ok. I would like to try 10.0 version build this version from source. I went looking for the source rpm for the on gwdg.de but ot sure which grouping the source rpm is in. Are you abel to point to the correct location. Best regards, Jim On Thursday 24 November 2005 01:51, Daniel Eckl wrote:
Hmmmm, I had the same problem under a heavily updated SuSE 9.1 after installing GTK 2.8
I fixed this with rebuilding the gtk-qt-engine source package from SuSE 10.0. So that's why I know that the gtk-qt-engine from SuSE 10.0 has a fix for that bug.
So I think Lennart updated either GTK or gtk-qt-engine from a package not provided by SuSE itself.
I suggest reinstalling gtk and/or gtk-qt-engine from the suse cd/dvd. That should fix it. After that just use you to fetch all updates for these 2 packages provided by SuSE directly. Might be possible that there aren't any updates for these two packages though.
Best, Daniel
Am Mittwoch, 23. November 2005 18:36 schrieb Stephen Boddy:
On Wednesday 23 November 2005 16:35, Lennart Börjeson wrote:
Since upgrading to SuSE Linux 10.0 my GTK application have got menus with black backgrounds. Very annoying since the default font colour is black, too...
I've seen this in acroread, gimp and eclipse. If I run acroread from a konsole and activate a menu, I get the following error on stderr:
(acroread:5291): Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap
I've tried various settings in the ControlCentre, under "GTK Styles and Fonts", but to no avail. I've removed all .gtkrc* files in my home directory, didn't help either.
I googled the error, and found something releated to gtk2 2.8, but I've checked and the indicated patch is already applied to the SuSE gtk2 version, 2.8.7.
Any hints on how to resolve this?
Uninstall gtk-qt-engine. It's probably an old version from before your update. I had the exact same problem. -- Steve Boddy
It's located here: ftp://ftp.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse/src/gtk-qt-engine-0.6cvs20050229-11.src.rpm or sometimes faster: ftp://ftp4.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse/src/gtk-qt-engine-0.6cvs20050229-11.src.rpm Have fun! Best, Daniel
--- Ursprüngliche Nachricht --- Von: Jim Hamilton <hhew6709@bigpond.net.au> An: suse-kde@suse.com Betreff: Re: [suse-kde] Completely black menus in GTK applications Datum: Thu, 1 Dec 2005 20:50:41 +0800
Daniel,
I have run into this problem after rolling kde up to 3.5 via apt on 9.3 system. While removing the gtk-qt-engine will get the menus back ok. I would like to try 10.0 version build this version from source.
I went looking for the source rpm for the on gwdg.de but ot sure which grouping the source rpm is in. Are you abel to point to the correct location.
Best regards, Jim
On Thursday 24 November 2005 01:51, Daniel Eckl wrote:
Hmmmm, I had the same problem under a heavily updated SuSE 9.1 after installing GTK 2.8
I fixed this with rebuilding the gtk-qt-engine source package from SuSE 10.0. So that's why I know that the gtk-qt-engine from SuSE 10.0 has a fix for that bug.
So I think Lennart updated either GTK or gtk-qt-engine from a package not provided by SuSE itself.
I suggest reinstalling gtk and/or gtk-qt-engine from the suse cd/dvd. That should fix it. After that just use you to fetch all updates for these 2 packages provided by SuSE directly. Might be possible that there aren't any updates for these two packages though.
Best, Daniel
On Wednesday 23 November 2005 16:35, Lennart Börjeson wrote:
Since upgrading to SuSE Linux 10.0 my GTK application have got menus with black backgrounds. Very annoying since the default font colour is black, too...
I've seen this in acroread, gimp and eclipse. If I run acroread from a konsole and activate a menu, I get the following error on stderr:
(acroread:5291): Gdk-WARNING **: gdk_window_set_back_pixmap():
Am Mittwoch, 23. November 2005 18:36 schrieb Stephen Boddy: pixmap
must have a colormap
I've tried various settings in the ControlCentre, under "GTK Styles and Fonts", but to no avail. I've removed all .gtkrc* files in my home directory, didn't help either.
I googled the error, and found something releated to gtk2 2.8, but I've checked and the indicated patch is already applied to the SuSE gtk2 version, 2.8.7.
Any hints on how to resolve this?
Uninstall gtk-qt-engine. It's probably an old version from before your update. I had the exact same problem. -- Steve Boddy
-- To unsubscribe, email: suse-kde-unsubscribe@suse.com For additional commands, email: suse-kde-help@suse.com Please do not cross-post to suse-linux-e
-- Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat, DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl
thanks Daniel, So to bother you. Found the source rpm ok and found I needed some additional packages to meet needed dependencies. Found when I run: lochard:/usr/src/packages/SPECS # rpmbuild gtk-qt-engine.spec error: Failed build dependencies: libcom_err is needed by gtk-qt-engine-0.6cvs20050229-11 I had to hunt around a bit but found that I have e2fsprogs installed and that I have a libcom_err which is a link -rw-r--r-- 1 root root 7352 Mar 20 2005 libcom_err.a lrwxrwxrwx 1 root root 20 Dec 2 09:02 libcom_err.so -> /lib/libcom_err.so.2 Not sure why the rpmbuild would through error. Any hints welcome. BR Jim On Thursday 01 December 2005 22:33, Daniel Eckl wrote:
It's located here:
ftp://ftp.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse/sr c/gtk-qt-engine-0.6cvs20050229-11.src.rpm or sometimes faster: ftp://ftp4.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse/s rc/gtk-qt-engine-0.6cvs20050229-11.src.rpm
Have fun!
Best, Daniel
--- Ursprüngliche Nachricht --- Von: Jim Hamilton <hhew6709@bigpond.net.au> An: suse-kde@suse.com Betreff: Re: [suse-kde] Completely black menus in GTK applications Datum: Thu, 1 Dec 2005 20:50:41 +0800
Daniel,
I have run into this problem after rolling kde up to 3.5 via apt on 9.3 system. While removing the gtk-qt-engine will get the menus back ok. I would like to try 10.0 version build this version from source.
I went looking for the source rpm for the on gwdg.de but ot sure which grouping the source rpm is in. Are you abel to point to the correct location.
Best regards, Jim
On Thursday 24 November 2005 01:51, Daniel Eckl wrote:
Hmmmm, I had the same problem under a heavily updated SuSE 9.1 after installing GTK 2.8
I fixed this with rebuilding the gtk-qt-engine source package from SuSE 10.0. So that's why I know that the gtk-qt-engine from SuSE 10.0 has a
fix
for that bug.
So I think Lennart updated either GTK or gtk-qt-engine from a package
not
provided by SuSE itself.
I suggest reinstalling gtk and/or gtk-qt-engine from the suse cd/dvd.
That
should fix it. After that just use you to fetch all updates for these 2 packages provided by SuSE directly. Might be possible that there aren't
any
updates for these two packages though.
Best, Daniel
Am Mittwoch, 23. November 2005 18:36 schrieb Stephen Boddy:
On Wednesday 23 November 2005 16:35, Lennart Börjeson wrote:
Since upgrading to SuSE Linux 10.0 my GTK application have got menus with black backgrounds. Very annoying since the default font colour
is
black, too...
I've seen this in acroread, gimp and eclipse. If I run acroread from
a
konsole and activate a menu, I get the following error on stderr:
(acroread:5291): Gdk-WARNING **: gdk_window_set_back_pixmap():
pixmap
must have a colormap
I've tried various settings in the ControlCentre, under "GTK Styles
and
Fonts", but to no avail. I've removed all .gtkrc* files in my home directory, didn't help either.
I googled the error, and found something releated to gtk2 2.8, but
I've
checked and the indicated patch is already applied to the SuSE gtk2 version, 2.8.7.
Any hints on how to resolve this?
Uninstall gtk-qt-engine. It's probably an old version from before your update. I had the exact same problem. -- Steve Boddy
-- To unsubscribe, email: suse-kde-unsubscribe@suse.com For additional commands, email: suse-kde-help@suse.com Please do not cross-post to suse-linux-e
-- Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat, DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl
Daniel, interesting what an hour away from the computer does for your clarity of thought. libcom_err is a separate rpm for 10.0 so I simply removed the dependency from the spec file the source built and installed fine. Back to having my menus working correctly. Thanks for your time. Br Jim On Friday 02 December 2005 09:50, Jim Hamilton wrote:
thanks Daniel,
So to bother you.
Found the source rpm ok and found I needed some additional packages to meet needed dependencies.
Found when I run:
lochard:/usr/src/packages/SPECS # rpmbuild gtk-qt-engine.spec error: Failed build dependencies: libcom_err is needed by gtk-qt-engine-0.6cvs20050229-11
I had to hunt around a bit but found that I have e2fsprogs installed and that I have a libcom_err which is a link
-rw-r--r-- 1 root root 7352 Mar 20 2005 libcom_err.a lrwxrwxrwx 1 root root 20 Dec 2 09:02 libcom_err.so -> /lib/libcom_err.so.2
Not sure why the rpmbuild would through error. Any hints welcome.
BR Jim
On Thursday 01 December 2005 22:33, Daniel Eckl wrote:
It's located here:
ftp://ftp.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse/ sr c/gtk-qt-engine-0.6cvs20050229-11.src.rpm or sometimes faster: ftp://ftp4.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse /s rc/gtk-qt-engine-0.6cvs20050229-11.src.rpm
Have fun!
Best, Daniel
--- Ursprüngliche Nachricht --- Von: Jim Hamilton <hhew6709@bigpond.net.au> An: suse-kde@suse.com Betreff: Re: [suse-kde] Completely black menus in GTK applications Datum: Thu, 1 Dec 2005 20:50:41 +0800
Daniel,
I have run into this problem after rolling kde up to 3.5 via apt on 9.3 system. While removing the gtk-qt-engine will get the menus back ok. I would like to try 10.0 version build this version from source.
I went looking for the source rpm for the on gwdg.de but ot sure which grouping the source rpm is in. Are you abel to point to the correct location.
Best regards, Jim
On Thursday 24 November 2005 01:51, Daniel Eckl wrote:
Hmmmm, I had the same problem under a heavily updated SuSE 9.1 after installing GTK 2.8
I fixed this with rebuilding the gtk-qt-engine source package from SuSE 10.0. So that's why I know that the gtk-qt-engine from SuSE 10.0 has a
fix
for that bug.
So I think Lennart updated either GTK or gtk-qt-engine from a package
not
provided by SuSE itself.
I suggest reinstalling gtk and/or gtk-qt-engine from the suse cd/dvd.
That
should fix it. After that just use you to fetch all updates for these 2 packages provided by SuSE directly. Might be possible that there aren't
any
updates for these two packages though.
Best, Daniel
Am Mittwoch, 23. November 2005 18:36 schrieb Stephen Boddy:
On Wednesday 23 November 2005 16:35, Lennart Börjeson wrote:
Since upgrading to SuSE Linux 10.0 my GTK application have got menus with black backgrounds. Very annoying since the default font colour
is
black, too...
I've seen this in acroread, gimp and eclipse. If I run acroread from
a
konsole and activate a menu, I get the following error on stderr:
(acroread:5291): Gdk-WARNING **: gdk_window_set_back_pixmap():
pixmap
must have a colormap
I've tried various settings in the ControlCentre, under "GTK Styles
and
Fonts", but to no avail. I've removed all .gtkrc* files in my home directory, didn't help either.
I googled the error, and found something releated to gtk2 2.8, but
I've
checked and the indicated patch is already applied to the SuSE gtk2 version, 2.8.7.
Any hints on how to resolve this?
Uninstall gtk-qt-engine. It's probably an old version from before your update. I had the exact same problem. -- Steve Boddy
-- To unsubscribe, email: suse-kde-unsubscribe@suse.com For additional commands, email: suse-kde-help@suse.com Please do not cross-post to suse-linux-e
-- Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat, DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl
participants (8)
-
Daniel Eckl
-
Daniel Eckl
-
Jim Hamilton
-
Juergen Lennefer
-
Lennart Börjeson
-
Mathias Homann
-
Osho GG
-
Stephen Boddy