Bug 430098

Summary: Alt + Resize or Move should keep selected window above others
Product: [Plasma] kwin Reporter: manuelchaves
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aldo-public, andy, xaver.hugl
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description manuelchaves 2020-12-07 02:08:23 UTC
I'm on Plasma 5.17.2

1) Have 2 windows open, put them side by side (though they can be anywhere)
2) Focus one window
3) Now alt+drag to either resize or move the other window
4) Do that until it goes beyond/overlaps the first window

What happens:
The first window is still on top, not the one being resized/moved.

What should happen:
The window I'm resizing/moving should get focus so whatever I'm doing is clear.
Comment 1 Aldoo 2021-04-01 11:26:57 UTC
I would like to add that current behavior disrupts a very classical workflow:

1. you work on window1, maximized on your main screen (or just taking a lot of room on your only screen, if you are in a single monitor setup)
2. you want to switch to another task (window2), currently on your secondary screen (or maybe a small window on your main screen)
3. so you alt-grab window2 and move it to the most comfortable place (i.e. maximized on the main screen), most of the time reaching for the screen top edge so that window2 is maximized in the process.

So you expect to have a readily usable full screen window for the new active task, but instead, the window of the task you want to switch to is hidden behind the window of your previous task.
Comment 2 andy 2022-06-21 21:21:56 UTC
I'm almost certain this was working for me around a month ago, since I constantly did this in my workflow. Now it's annoying I have to click around to mess with window focus before moving anything. I wonder if it's a setting that I somehow changed, or a regression. But it seems like this bug was reported a few years ago describing the same thing....


STEPS TO REPRODUCE
1. Click on a window so it is focused.
2. Alt + left click another window you want to move 
3. Drag the window to the middle of the previously focused window

OBSERVED RESULT
Dragged window is hidden behind *any* window that is higher in the focus stack.

EXPECTED RESULT
Dragged window stays on top of everything

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.46.1-lts
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Comment 3 Zamundaaa 2024-06-07 17:35:54 UTC
You can change the meta + left click option in the "window behavior > window actions" page from "move" to "activate, raise and move" to achieve this