Bug 423009

Summary: Window Actions KCM mouse button settings do not account for Left Handed setting
Product: [Plasma] kwin Reporter: jimfenton75
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: nate, xaver.hugl
Priority: NOR    
Version First Reported In: 5.15.4   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jimfenton75 2020-06-15 12:31:28 UTC
SUMMARY
The mouse button references under Window Management>Window Actions do not properly account for the Left Handed setting under Input Devices>Mouse.

STEPS TO REPRODUCE
1. Under Input Devices>Mouse, set mouse to left handed 
2. Go to Window Management>Window Actions>Inactive Inner Window
3. Set Right button to Activate, Raise & Pass Click
4. Set Left button to Activate & Raise

OBSERVED RESULT
Left mouse button performs Activate, Raise & Pass Click
Right mouse button performs Activate & Raise 


EXPECTED RESULT
Left mouse button performs Activate & Raise
Right mouse button performs Activate, Raise & Pass Click


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Mageia 7
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.6

ADDITIONAL INFORMATION
It appears that on the Window Actions page  "Left button" actually means "button 1" and "Right button" means "button 2," and they are not actually mapping to the physical mouse buttons as set by the Left Handed option.
Comment 1 Zamundaaa 2024-04-25 13:43:24 UTC
It would be a bit complicated to make that work with multiple devices potentially having different settings... Apps will also not swap their labels around, so I think it's best if the settings page uses the same logic anyways.