https://bugs.kde.org/show_bug.cgi?id=495702
Zamundaaa <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/plas | |ma/kwin/-/commit/5aa070d5f4 | |a4c0ce1802aa94eec6ebf9bc9ed | |ca9 Resolution|--- |FIXED --- Comment #7 from Zamundaaa <[email protected]> --- Git commit 5aa070d5f4a4c0ce1802aa94eec6ebf9bc9edca9 by Xaver Hugl, on behalf of Vlad Zahorodnii. Committed on 20/10/2025 at 12:14. Pushed by zamundaaa into branch 'master'. Fix Workspace::activateNextWindow() corrupting active output on hotplug After 4ee32d7f71de7f7f9a24c44b9dc4dd31fd3be98f, layer shell windows are removed when the Workspace::outputRemoved() signal is emitted. The side-effect of that change is that the activateNextWindow() may be called when the Workspace::outputRemoved() signal is emitted. The activateNextWindow() function is interesting because it can set the active output to the one of the Window. If the next candidate window is on a just removed output, the Workspace can end up with a dangling active output. To prevent that case, this change moves active output cleanup code so it is after the outputRemoved() signal is emitted and after windows are re-arranged. M +116 -0 autotests/integration/workspace_test.cpp M +5 -1 src/workspace.cpp https://invent.kde.org/plasma/kwin/-/commit/5aa070d5f4a4c0ce1802aa94eec6ebf9bc9edca9 -- You are receiving this mail because: You are watching all bug changes.
