[compiz] Bug with kde applications and damageWindowRect wrapping...

David Reveman davidr at novell.com
Tue Apr 17 14:59:08 PDT 2007

On Thu, 2007-04-12 at 15:57 +0200, Bellegarde Cedric wrote:
> Here is a bug that make me insane since a lot of time.
> Randomly, when launching an kde application, i can see it appear on
> screen and then being placed by place plugin.
> I look at place plugin code and everything looks ok... 
> http://hibbert.univ-lille3.fr/~cbellegarde/PlacementBug.png
> Here a screenshot of the bug, as you can see, window first appear at
> this "non placed" position, then, it will be removed and place by
> place plugin ... As all this is executing fastly, you get a really bad
> looking effect on screen... 
> But, this only affect kde applications, i can't reproduce this with a
> gtk application ....
> Really don't understand what is happening :(
> If someone can confirm this bug ...
> Run this in an xterm with smart placement method: 
> while true; do konsole & sleep 1; killall konsole; done
> Look at the screen, you should randomly see the bug at konsole window
> mapping...

The placement plugin is broken. It shouldn't place windows when they
first appear but instead when we get the map request and before they are

This bug is only visible in kde apps as kde doesn't support the sync
request protocol.

- David

More information about the compiz mailing list