fix(kwayland): move blocking tablet init before timer start

Authored by romangg on Jan 14 2020, 12:02 PM.

Description

fix(kwayland): move blocking tablet init before timer start

Summary:
On init of the tablet mode the d-bus connection to KWin for receiving tablet
mode information is blocking for some reason for over one second. This leads
to the single shot timer timing out before the Wayland interfaces can be
received.

For now move the blocking call before the timer is started such that we do
not fail anymore.

Note that the d-bus call is only blocking unusual long on session startup.
Later d-bus calls return without prolonged delay.

Test Plan: Starts without seg fault on output management object in applyConfig.

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
romanggJan 16 2020, 1:24 PM
Reviewer
Plasma
Differential Revision
D26658: fix(kwayland): move blocking tablet init before timer start
Parents
R110:f5ac835ce55c: Update version number for 5.17.90 GIT_SILENT
Branches
Unknown
Tags
Unknown
References
tag: v5.17.90.1