Bug 478532

Summary: Moving or resizing window with modifier key and clicking on the window doesn't focus the window
Product: [Plasma] kwin Reporter: John Dykes <98johndykes>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 5.27.9   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The window doesn't gain focus

Description John Dykes 2023-12-15 04:19:06 UTC
Created attachment 164175 [details]
The window doesn't gain focus

SUMMARY
In the settings app in Window Behaviour, under the Window Action tab there are options to move or resize a window with a modifier key plus left click, or right click.

However, the window being moved or resized isn't made the focused window, which seems strange.


STEPS TO REPRODUCE
1. Open two windows
2. Click on one window so it gains focus
3. Move the other window with Alt + Left click or Meta + Left click (or whatever binding is defined in the Window Actions tab) to move the window

OBSERVED RESULT
The window being moved is focused

EXPECTED RESULT
The focused window doesn't change


SOFTWARE/OS VERSIONS
Fedora 39
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION