dvratil created this revision. dvratil added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dvratil requested review of this revision.
REVISION SUMMARY During login creating the connection to Wayland server may take longer than 1 second (KWin busy, high CPU and IO load, ...) causing WaylandConfig to time out and leave the backend in an inconsistent state. This patch increases the timeout to 3 seconds and sets the overall backend status to invalid. This will abort the pending KScreen operation and prevent it from interacting with the broken backend. The next KScreen operation will try to set up the backend again, hopefully successfuly this time. BUG: 416566 FIXED-IN: 5.18.2 REPOSITORY R110 KScreen Library BRANCH Plasma/5.18 REVISION DETAIL https://phabricator.kde.org/D27618 AFFECTED FILES backends/kwayland/waylandbackend.cpp backends/kwayland/waylandbackend.h backends/kwayland/waylandconfig.cpp backends/kwayland/waylandconfig.h To: dvratil, #plasma Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart