From kwin Sun Jun 10 12:03:07 2007 From: Lubos Lunak Date: Sun, 10 Jun 2007 12:03:07 +0000 To: kwin Subject: Re: _NET_ACTIVE_WINDOW sent on workplace switch Message-Id: <200706101403.07954.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kwin&m=118147703932025 On so 9. Ĩervna 2007, Thomas Thurman wrote: > Hi. I'm one of the maintainers of the GNOME window manager, and someone has > raised a bug which boils down to the fact that KDE applications are sending > _NET_ACTIVE_WINDOW on themselves to the root window when the user switches > workplaces to the workplace on which they reside. I have confirmed that > this happens with KCalc (2.0.6, KDE 3.5.6, Qt 3.3.7), and not with > gnome-calculator. I'm prepared to start digging through KDE and Qt to find > the problem, but before I start, is there a known reason they would be > sending this message? No, they shouldn't, and as far as I can tell, they don't. I added debug statements to the place in KDE libraries for sending this message and it's not called when the problem occurs (and Qt does not use _NET_ACTIVE_WINDOW at all). Also, I can reproduce the problem even in KDE, but only with Metacity running instead of KWin, which narrows it down to the offender being either Metacity or KCalc (+libs). Since the request doesn't seem to come from KCalc and KWin should have the same problem if it did, I think the problem is in Metacity. I suggest you try to find out where the activation request really comes from. > The bug is http://bugzilla.gnome.org/show_bug.cgi?id=445835 -- the reason > for the title is that metacity sets _NET_WM_STATE_DEMANDS_ATTENTION for at > least partially obscured windows which attempt to activate themselves (and > ignores the request). > > (Of course, this is not a kwin problem, but the people on #kde-devel said > to come and ask here because you would be most likely to know.) Yes, that's ok. -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 028 972 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http//www.suse.cz _______________________________________________ Kwin mailing list Kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin