[kstyle] Delay init of Wayland setup till next event cycle
ClosedPublic

Authored by graesslin on Nov 3 2016, 9:55 AM.

Details

Summary

This is a change mostly for KWin (the Wayland compositor). The internal
Wayland connection is created after the QStyle is created in the case of
KWin. But both are created before the event dispatcher is run for the
first time. So delaying by one cycle makes it work for KWin and also all
other Wayland applications.

BUG: 372001
FIXED-IN: 5.8.4

Diff Detail

Repository
R31 Breeze
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 7848.Nov 3 2016, 9:55 AM
graesslin retitled this revision from to [kstyle] Delay init of Wayland setup till next event cycle.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
Restricted Application added a project: Plasma. · View Herald TranscriptNov 3 2016, 9:55 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hpereiradacosta accepted this revision.Nov 3 2016, 9:56 AM
hpereiradacosta edited edge metadata.

No objection, you're the expert !
Thanks !

This revision is now accepted and ready to land.Nov 3 2016, 9:56 AM
This revision was automatically updated to reflect the committed changes.