There are two window stacking related issues when lowering a window: * when lowering a window that is a parent of a window hierarchy only this window gets lowered - leaving rest of hierarchy "dangling" * when lowering a transient that is a part of something more complicated then just parent + single child - the whole hierarchy gets lowered as expected, but that window itself is promoted to the top of such hierarchy SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.81.80 KDE Frameworks Version: 5.245.0 Qt Version: 6.6.0
This is the behaviour, on wayland it is broken in another way: #478383
MR with fix is here: https://invent.kde.org/plasma/kwin/-/merge_requests/4779
New MR: https://invent.kde.org/plasma/kwin/-/merge_requests/6882
Git commit 1df917fae4bc744e1508b4e95e8d9a7b521a00da by Xaver Hugl, on behalf of Jarek Janik. Committed on 07/03/2025 at 15:08. Pushed by zamundaaa into branch 'master'. layers: fix stacking issues in Workspace::lowerWindow Workspace::lowerWindow() method had issues when handling window hierarchies (different on X11 and on wayland, see BUGS below). This patch unifies code paths for both X11 and wayland in lowerWindow() method, fixing the aforementioned bugs. Related: bug 478383 M +19 -14 src/layers.cpp https://invent.kde.org/plasma/kwin/-/commit/1df917fae4bc744e1508b4e95e8d9a7b521a00da
Git commit dc3e489472431789ded4ad5b9ab36c466118d5df by Xaver Hugl, on behalf of Jarek Janik. Committed on 07/03/2025 at 18:15. Pushed by zamundaaa into branch 'Plasma/6.3'. layers: fix stacking issues in Workspace::lowerWindow Workspace::lowerWindow() method had issues when handling window hierarchies (different on X11 and on wayland, see BUGS below). This patch unifies code paths for both X11 and wayland in lowerWindow() method, fixing the aforementioned bugs. Related: bug 478383 (cherry picked from commit 1df917fae4bc744e1508b4e95e8d9a7b521a00da) M +19 -14 src/layers.cpp https://invent.kde.org/plasma/kwin/-/commit/dc3e489472431789ded4ad5b9ab36c466118d5df