[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KWin locks KDE with Alt+Tab
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-06-28 18:23:58
[Download RAW message or body]

On Thursday 28 June 2001 12:23, Matthias Ettrich wrote:
> On Thursday 28 June 2001 00:46, David Faure wrote:
> > On Tuesday 19 June 2001 15:21, David Faure wrote:
> > > > Do you still get these locks with the taskbar after my commit from
> > > > yesterday? Harri had the same problem on his laptop but cannot
> > > > reproduce it anymore.
> > >
> > > Ah, I thought this was only related to Alt+Tab....
> > > I wanted to keep kdelibs-2.1.2 on the laptop (to test koffice with it),
> > > but I'll upgrade to see if this fixes it, then.
> >
> > Hmm, no luck. I updated kdelibs & kdebase on the laptop.... ouch, not
> > better, maybe even worse.
> > I don't think the problem is only Alt+Tab and its grabbing.
> > With simply two windows opened (a konsole and an xemacs, or even two
> > xterms!), if I click inside the one of the windows => the mouse pointer is
> > 'stuck' to its current shape and won't change, whatever I do with it.
> > So this looks like some "focus" problem...
> > Either kwin or X......
> >
> > Hmm, just tried kwin from KDE 2.0 ... same problem.
> > Then I tried kwm (KDE-1.1.2)... _no_ problem.
> >
> > So... long standing kwin bug ?
> > How can I debug this ?
> 
> Tough to say, I don't know. The problem is clearly related to the way kwin 
> does XGrabButton (to install a passive grab over the window wrapper) and 
> XUngrabButton afterwards ( to release the passive grab, in the function 
> ungrabButton() in client.cpp ). And of course the XAllowEvents to release the 
> queued device. This is all in client.cpp.
> For debugging: It would be good to know whether we at least receive the 
> ButtonPress event in WindowWrapper::x11Event().

Okay, will do that when coming back on Sunday. For now I have reverted to KDE-2.1.1.
(kdelibs-2.1.2)

> We need to compare that to the way kwm handled it.

Actually, it seems something has changed since 2.1.1.. it's much better with 2.1.1
(I can actually use the laptop, without it hanging after 5 seconds).

> I assume the freezing happens when you click on an inactive window?

Yes, for instance. 

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic