Gtk engines bug

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue May 18 18:51:15 CEST 2004


Olivier,

I've been hunting a bug in xfce4-session for some time now. The bug occurs 
when I use xfce4-session in multiscreen mode and open the logout window twice, 
once on each screen. No matter which screen comes first, once I click the 
logout button on the other screen, xfce4-session receives a BadMatch X error.

See the screenshot here:
http://xfce.org/~benny/tmp/gtk-engines-xfce-multiscreen-bug.png

And the backtrace:
http://xfce.org/~benny/tmp/gtk-engines-xfce-multiscreen-bug.backtrace

What makes me wonder is frame #11, the widget=0x0 and window=0x0, dunno if 
thats ok. And frame #8, stipple=0x0.

I thought it had to be a bug in xfce4-session and commented out nearly all 
code related to the shutdown screen, but it still received the BadMatch each 
time. That was done using the "Xfce" Gtk+ theme.

Then I tried the "Default" Gtk+ theme, and it worked just fine. No BadMatch.

So, I come to the conclusion that the Xfce Gtk+ engine is broken for 
multiscreen displays (same goes for RedHats Bluecurve engine).

After looking at the xfce-engines source, I think the problem is with the 
bitmaps in the parts array, which aren't created per screen (though from my 
understanding, I thought that bitmaps could be shared among the screens of a 
display).

Any ideas on this?

regards,
Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/
os-network:                                 http://www.os-network.de/

OpenPGP Key: http://www.home.unix-ag.org/bmeurer/#gpg




More information about the Xfce4-dev mailing list