You are not logged in.

#1 2005-09-20 06:41:51

Machiavelli
Member
Registered: 2005-08-24
Posts: 92

Strange all-black widgets with gtk-qt-engine

http://machiavelli.homelinux.org/bilder/black_crap.png

This is a problem I have with most (but not all) apps using gtk-qt-engine. As you can see, all pop-up-menus are entirely black until hovering over a selection in the menu, when it retains it's normal "selected widget" color.

This is something I've experienced on two different computers (both using testing repo), two different versions of KDE (3.4 and 3.5), and several apps (xchat, gtkpacman...)

.gtkrc-2.0 looks like this:

# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"

include "/usr/share/themes/Qt/gtk-2.0/gtkrc"

style "user-font"
{
        font_name="Arial 9"
}
widget_class "*" style "user-font"

gtk-theme-name="Qt"
gtk-font-name="Arial 9"

Any ideas?

Offline

#2 2005-09-20 08:49:44

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Strange all-black widgets with gtk-qt-engine

I'm not a KDE user at all but from a glace I'm guessing you're using compositing? Try disabling it in your xorg.conf file and see if the problem remains. Aside from using an unstable version of KDE (;)), that's something I'd try.

Offline

#3 2005-09-20 12:38:28

Machiavelli
Member
Registered: 2005-08-24
Posts: 92

Re: Strange all-black widgets with gtk-qt-engine

Hmm... do you suggest that this phenomena could be linked to the composite extension itself, rather than the composite manager (xcompmgr)? That might be worth a shot, even though I do enjoy xcompmgr.

Offline

#4 2005-09-20 19:54:09

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Strange all-black widgets with gtk-qt-engine

Who knows. In my experience, it just never hurts to try wink

Offline

#5 2005-09-21 00:19:30

oscar
Member
From: Kiruna, Sweden
Registered: 2004-08-13
Posts: 457

Re: Strange all-black widgets with gtk-qt-engine

Use konversation. Or kvirc. tongue


To err is human... to really foul up requires the root password.

Offline

#6 2005-09-21 01:08:36

keevn7
Member
From: Lancaster, OH, US
Registered: 2005-06-09
Posts: 206
Website

Re: Strange all-black widgets with gtk-qt-engine

Or use a good GTK theme like Clearlooks-Indubstrial. wink

Offline

#7 2005-10-03 21:45:59

Centare
Member
Registered: 2005-10-02
Posts: 11

Re: Strange all-black widgets with gtk-qt-engine

Ah, my GTK apps are pretty again. Thanks!

Offline

#8 2005-11-02 18:52:14

Dj_kourampies
Member
From: Greece
Registered: 2005-11-02
Posts: 32
Website

Re: Strange all-black widgets with gtk-qt-engine

Slashdot wrote:

This seems to be a known problem. A bug report has been filed as you can see at the gtk-qt-engine bug tracker at https://bugs.freedesktop.org/show_bug.cgi?id=4276.

Someone has posted a patch there, so I've written a PKGBUILD that includes this patch. Works great for me, I can finally read the menus again smile

pkgname=gtk-qt-engine
pkgver=0.6
pkgrel=3
pkgdesc="A GTK engine which makes your GTK2 Apps match your QT theme"
url="http://www.freedesktop.org/Software/gtk-qt"
depends=('gtk2' 'kdelibs' 'qt' 'x-server')

source=(http://www.freedesktop.org/~davidsansome/gtk-qt-engine-0.6.tar.bz2)
md5sums=('9c02c95a6e8d304b1f2801429759e1c0')

build() {
  cd $startdir/src
  wget --no-check-certificate -O - https://bugs.freedesktop.org/attachment.cgi?id=3446 > gtk-qt-engine-0.6-alt-menubg-colormap.patch
  patch -p0 < gtk-qt-engine-0.6-alt-menubg-colormap.patch
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

I love u  tongue
U helped me fix the gtk-qt-engine allowing me to use linux and kde as my primary desktop system (no more windows), and also forced me to learn how abs works, thats a very useful knowledge. thanks big_smile

Offline

Board footer

Powered by FluxBB