You are not logged in.

#1 2005-06-27 04:33:48

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

GTK redraw screwed up by Xcomposite

So, I finally broke down and enabled Xcomposite and now my GTK apps don't redraw some widgets correctly on window resizes. I'm using GNOME and this problem seems to affect almost every app. I was wondering if anyone had heard of this issue or maybe if someone knew about a solution.

Offline

#2 2005-06-27 06:46:58

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

Re: GTK redraw screwed up by Xcomposite

copy this to ~/.devilspie.xml and run devilspie (search aur and forum)

<?xml version="1.0"?>
<!DOCTYPE devilspie SYSTEM "devilspie.dtd">

<!-- The root element is devilspie -->
<devilspie>

  <flurb name="default opacity">
    <matchers>
        <!--Match all windows--> 
        <matcher name="DevilsPieMatcherAlways"/>
    </matchers>
    <actions>
      <action name="DevilsPieActionOpacity">
         <property name="opacity" value="0.9"/>
      </action>
    </actions>
  </flurb>

</devilspie>

you will figure it out  :twisted:

Offline

#3 2005-06-27 18:20:47

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: GTK redraw screwed up by Xcomposite

i installed devilspie, copied that config and added it to startup with X but I'm still getting window redraw problems.

Offline

#4 2005-06-27 19:07:02

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

Re: GTK redraw screwed up by Xcomposite

Devilspie must be launched after the windowmanager. Put devilspie into gnome autostart instead of .xinitrc .

Offline

#5 2005-06-27 21:18:52

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: GTK redraw screwed up by Xcomposite

Well, now some stuff seems to work better, but the nautilus windows still don't always redraw correctly. For example, if I make a nautilus browser window larger, the status bar left in the filelist.

Offline

#6 2005-06-28 03:09:24

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

Re: GTK redraw screwed up by Xcomposite

Found out this remedies more than devilspie. Open gconf-editor and check key /apps/metacity/general/reduced_resources or just runonce (no this is not registry roll

gconftool-2 --set /apps/metacity/general/reduced_resources --type=bool true

If you want to transset manually again drop devilspie.

Offline

Board footer

Powered by FluxBB