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 if connecting to Wayland server times out.
and prevent it from interactThis will abort the pending with the broken backend. The nextKScreen operation and prevent it from
KScreen operation will try to set up theinteracting with the broken backend again,. hopefullyThe next KScreen operation
will try to set up the backend again, hopefully successfully this time.
BUG: 416566
FIXED-IN: 5.18.2