Summary: | Alt-Tab no longer switches windows in latest trunk | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Robert Marmorstein <robert> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apaku, kde, robert, tomjamesgillespie |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Robert Marmorstein
2010-08-02 20:57:46 UTC
I see the same thing, see http://lists.kde.org/?t=128051757300001&r=1&w=2 One (easier to try) workaround is to hold down both Alt+Tab for a bit, this should eventually show up the tabbox with the list of windows. The somewhat more involved change is to edit kdebase/workspace/kwin/utils.cpp and adjust grabXKeyboard to use "CurrentTime" instead of "xTime()" in the call to XGrabKeyboard. That fixes the problem for me completely, but I have no idea about why or how or wether the change is good enough or not. Commit r1002752 changed the XUngrabKeyboard call to use CurrentTime instead of xTime, so it probably makes sense for the XGrabKeyboard call to match. Michael Jansen committed that change. Adding him to the CC list... I can confirm the fix by Andreas (using CurrentTime instead of xTime() in utils.cpp) but as he commented, someone who knows the code will be a better judge of it's correctness. I can, too. Since I patched it, everything has worked correctly. The breakage turns out to be in kdelibs (a change involving the X11 event filter in KApplication). It also affects the keyboard access in the logout dialog (when pressing Ctrl+Alt+Del) and possibly other places where the keyboard is being grabbed. I've asked for help from the core-developers as I don't understand the code enough to propose a fix. This is fixed now by r1160177: http://websvn.kde.org/?view=revision&revision=1160177 |