D27618: fix(kwayland): fix crash when KWayland connection times out

Daniel Vrátil noreply at phabricator.kde.org
Mon Feb 24 09:43:10 GMT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200224/2baff4cc/attachment.html>


More information about the Plasma-devel mailing list