https://bugs.kde.org/show_bug.cgi?id=484838
--- Comment #10 from Marco Martin <notm...@gmail.com> --- Git commit eb1896d2df36e7f6945df8d3c615a924a15cb536 by Marco Martin. Committed on 15/11/2024 at 15:35. Pushed by mart into branch 'Plasma/6.2'. X11/multiscreen: Always emit outputOrderChanged when a screen is disconnected Don't remove immediately the output from m_outputOrder. This fixes screen removal both the "normal" case and the case of last screen removed that causes the last QScreen to become ":0.0" named. Why the current master was broken: In X11OutputOrderWatcher when a screen is disconnected it removes immediately the screen from m_outputOrder, but then on the timecompressed check in refresh() the outputorderchanged is emitted by comparing with m_outputOrder which is "new" already, so the signal is not emitted. This makes plasma not remove the corresponding DesktopView (and panels) staying with an inconsistent internal state, either failing screenInvariants() or ending up with wrong desktops and panels on wrong screen if invariants are disabled (cherry picked from commit 08174d25e0a12f385da4ae11e960eb7d12e3fa0f) M +3 -17 libkworkspace/outputorderwatcher.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/eb1896d2df36e7f6945df8d3c615a924a15cb536 -- You are receiving this mail because: You are watching all bug changes.