[ Reason ]
Fixes #1147212: A race condtion in KWin, that can make Plasma Desktop
crash. It is about, when KWin cycles through the available outputs. The
race can be triggered either by sleep/resume or an usb-c docking station
attach/deattach. If you are affected by it, it recurs reliably in normal
use.
#1147212: session crash in ColorManagementOutputV1 on output change.
[ Impact ]
The user see a crashing Plasma desktop, when they connect and disconnect
monitors and may loose documents.
[ Tests ]
I got feedback from three person that were affected by this bug that the
patch fixes the issue for them.
[ Risks ]
The patches come without modification from upstream, so a larger group
already tested the patches (they fixes the issue kde#504959). The patch
is very narrowed and easy to follow.
https://bugs.kde.org/show_bug.cgi?id=504959
Chris Halls found that the one patch was not enough and added a followup
for their setup, so the second patch was added (a one line patch, that
checks for a null pointer):
https://salsa.debian.org/qt-kde-team/kde/kwin/-/merge_requests/8
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
Added two upstream patches unmodified.
e1fd647b: https://invent.kde.org/plasma/kwin/-/commit/e1fd647b
172f8f2e: https://invent.kde.org/plasma/kwin/-/commit/172f8f2e
[ Other info ]
Additionally this pu seems to fixes issue that are reported in #1116619 too.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147212&pow_referer=#27
#1116619: All opened app crash when disconnecting usb-c docking station
on a multi-monitor setup