Bug 372809

Summary: Moving or resizing windows with Alt key does not work when Caps Lock is enabled
Product: [Plasma] kwin Reporter: Kai Uwe Broulik <kde>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal Flags: mgraesslin: Wayland+
mgraesslin: ReviewRequest+
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://phabricator.kde.org/D3467
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kai Uwe Broulik 2016-11-22 20:41:17 UTC
When Caps Lock is enabled, I cannot move or resize windows with Alt + Left click or right click.

1.) Press Caps Lock so it is on
2.) Try to move a window by pressing and holding Alt while dragging the mouse

Moreover, it tends to get confused about keyboard state when I do this. I now type in lower caps although caps lock light is on but I cannot move windows around. Now I press Caps Lock again, light is off, I type in all caps and I can move windows. (affects both X and wayland clients)
Comment 1 Martin Flöser 2016-11-23 07:54:03 UTC
unit test confirms the situation
Comment 2 Martin Flöser 2016-11-23 08:07:44 UTC
Patch at: https://phabricator.kde.org/D3467
Comment 3 Martin Flöser 2016-11-25 06:39:05 UTC
Git commit 0b47b84816acff5a2a493db3aab5aff52c6cc5dd by Martin Gräßlin.
Committed on 25/11/2016 at 06:37.
Pushed by graesslin into branch 'master'.

Ignore non-relevant modifiers when evaluating mouse actions

Summary:
E.g. CapsLock should not prevent Alt+left click move.

Reviewers: #kwin, #plasma_on_wayland, broulik

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D3467

M  +51   -16   autotests/integration/pointer_input.cpp
M  +2    -2    input.cpp

https://commits.kde.org/kwin/0b47b84816acff5a2a493db3aab5aff52c6cc5dd