Bug 510858 - background windows raised upon mouse button release
Summary: background windows raised upon mouse button release
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwinoptions (other bugs)
Version First Reported In: 6.4.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-21 07:28 UTC by Stefan Kaerst
Modified: 2025-10-23 10:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kaerst 2025-10-21 07:28:19 UTC
SUMMARY
a background window gets raised when left mouse button is released. Focus is set to "Focus follows mouse.*", no "Click raises active window", no "Raise on hover"

STEPS TO REPRODUCE
1. click on a background window, holding mouse key
2. release the mouse key
3. 

OBSERVED RESULT
window gets raised, which it shouldn't

EXPECTED RESULT
window stays in background

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.12.0-160000.5-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Graphic
Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.12.0-160000.5-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Graphics

ADDITIONAL INFORMATION
the same is true for moving windows using either ALT+mouse or by clicking on the top window bar. upon clicking to move the background window, it gets raised. which it shouldn't (IMHO). I set all options I could find regarding movement to not include "raise"

I always use "Focus follows mouse" and have the background windows stay in background! I can mark text with the left mouse key and copy it in my active window using middle mouse button. I only raise windows if it's really necessary using ALT+middle mouse key or ALT-Tab  ... but as screens are getting bigger and bigger I raraly have to.
508581 could be a like
Comment 1 Zamundaaa 2025-10-22 21:54:50 UTC
The "inactive inner window actions" in the window actions tab define that the window is raised on left click release. That raising also applies to active windows though, because once you click on the window it becomes active...

What you want to use will be "Activate and pass click". I'm not entirely sure how to present this better in the UI, it is pretty confusing.
Comment 2 Stefan Kaerst 2025-10-23 10:30:23 UTC
@Zamundaaa
thanks for your hint. "Activate and pass click"  does indeed what I was looking for.

maybe it's another "bug" but by moving background windows they still get raised. which I don't want to.
the "Inner Window, Titlebar and Frame Actions" shows Alt+Left click "Move" ............... not "Move and Raise", which does not exist atm (in contrast to the "Inactive Inner Window Actions" drop-down list

maybe there is a way to add an option that says "never change window order (raise,lower)" on the Window Action Tab?  this is what would I prefer when moving,resizing windows -> only change excatly that (pos,size), no change of order (raise) and no focus stealing - that is why I use and really like "Focus follows mouse"!

Many Thanks!