Bug 226877

Summary: Clicking on "no effect" window switcher is offset
Product: [Plasma] kwin Reporter: Haakon Nilsen <haakon>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Haakon Nilsen 2010-02-14 20:00:22 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    Ubuntu Packages

Problem: When the window switcher (alt-tab) is set to "no effect" and the "selected item view" is set to "Top", mouse clicks are registered as many pixels too far down as the item view is high. In other words, there seems to be a missing offset to compensate for the room the item view takes up.

How to reproduce: Go to System Settings -> Window Behavior -> Navigate Through Windows. Set "Effect" to "No Effect". Make sure "Display list while switching" and "Highlight selected window" are selected. Press "Configure Layout". Choose the Vertical Layout, and the Informative Item layout. Make sure "Show Selected Item" is selected. For "Selected item view", pick "Top". Now when you press and hold alt-tab and click one of the items with the mouse, what is selected is too far down.
Comment 1 Martin Flöser 2010-03-15 09:39:42 UTC
SVN commit 1103492 by graesslin:

Correctly handle mouse clicks in TabBox when there is an additional view.
BUG: 226877

 M  +1 -1      tabboxview.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1103492
Comment 2 Martin Flöser 2010-03-15 09:41:25 UTC
SVN commit 1103493 by graesslin:

Backport rev 1103492:
Correctly handle mouse clicks in TabBox when there is an additional view.
CCBUG: 226877

 M  +1 -1      tabboxview.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1103493