Bug 513960 - "Keep window below others" does not re-order window when turned off
Summary: "Keep window below others" does not re-order window when turned off
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: 6.5.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-29 17:57 UTC by Paul Pfann
Modified: 2025-12-29 17:57 UTC (History)
0 users

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 Paul Pfann 2025-12-29 17:57:28 UTC
SUMMARY
When "Keep window below others" is turned off for an active window, the window stays below other inactive windows. It does not return to the top of the stack until clicked.

STEPS TO REPRODUCE
1. Bind "Keep window below others" to a hotkey
2. Toggle it on & off

OBSERVED RESULT
Active window remains below other windows. Only a mouse click will reset it. Keyboard input goes to the window but does not raise it.

EXPECTED RESULT
When toggled off, an active window should return to the top of the stack.

EXTRA NOTES
The same behavior happens with right click titlebar -> more actions -> check keep below others.

But when using icons-only task manager right-click menu to turn it off, the correct behavior happens: the window immediately pops to top of stack. This even extends to **inactive** windows: if a window is set to keep below then focus is switched to another program, turning off keep below with the task manager returns it to above the other inactive windows, but below the new active one. So toggling with the task manager produces what I would call the correct behavior in all cases I can think of.



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Opensuse Tumbleweed
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel version: 6.18.2-1-default (64-bit)
Graphics platform: Wayland