https://bugs.kde.org/show_bug.cgi?id=468430

Marco Martin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/2ba7b02c9538d9d8cfc019185 |t/5aec35f6be56aee6c32c3cdf7
                   |ab096e43c0eb325             |13825edfa30b6fa
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #40 from Marco Martin <[email protected]> ---
Git commit 5aec35f6be56aee6c32c3cdf713825edfa30b6fa by Marco Martin.
Committed on 18/05/2026 at 15:30.
Pushed by mart into branch 'Plasma/6.6'.

ShellCorona: Remove The invariant timer as is not deterministic enough

Looking at bug 468430 and at sentry issues
https://crash-reports.kde.org/organizations/kde/issues/267303?project=9
https://crash-reports.kde.org/organizations/kde/issues/401445/?project=9

It seems that sometimes it can happen that the invariants after a screen
remove can be executed by the timer before handleOutputOrderChanged.

when this happens, it causes the same backtrace as the issues.

Now, the assumption is that every single time that a screen is added or
removed, an output order change will happen eventually, so we check for the
screen data integrity only after handleOutputOrderChanged, where we're
guaranteed
we are in a settled state.

If this doesn't, that would be a bug of KSCreen or KWin.

Adds a test that checks the internal state of shellcorona inbetween
an screen removal and an output order change.


(cherry picked from commit 54a9dba9ec549cc06bdefaa727b2fcc52874c65e)

d6b6bf2c tests and debug to figure out the bug
c6e4ffcb ShellCorona: Remove The invariant timer as is not deterministic enough

Co-authored-by: Marco Martin <[email protected]>

M  +58   -0    shell/autotests/shelltest.cpp
M  +7    -15   shell/shellcorona.cpp
M  +1    -3    shell/shellcorona.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/5aec35f6be56aee6c32c3cdf713825edfa30b6fa

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to