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

Daniel Vrátil <dvra...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/lib
                   |                            |kscreen/691c85879cafad942ed
                   |                            |f6245196da9f04bc4cb6f
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED
   Version Fixed In|                            |5.18.2

--- Comment #6 from Daniel Vrátil <dvra...@kde.org> ---
Git commit 691c85879cafad942edf6245196da9f04bc4cb6f by Daniel Vrátil.
Committed on 24/02/2020 at 13:57.
Pushed by dvratil into branch 'Plasma/5.18'.

fix(kwayland): wait longer for connection timeout and retry

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 if connecting to Wayland server times out.
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 successfully this time.
FIXED-IN: 5.18.2

Reviewers: #plasma, romangg

Reviewed By: #plasma, romangg

Subscribers: romangg, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27618

M  +1    -2    backends/kwayland/waylandbackend.cpp
M  +0    -1    backends/kwayland/waylandbackend.h
M  +11   -3    backends/kwayland/waylandconfig.cpp
M  +2    -0    backends/kwayland/waylandconfig.h

https://commits.kde.org/libkscreen/691c85879cafad942edf6245196da9f04bc4cb6f

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

Reply via email to