[server] Add a workaround for a freeze in QtWayland
ClosedPublic

Authored by graesslin on Mar 23 2016, 4:04 PM.

Details

Summary

See: https://bugreports.qt.io/browse/QTBUG-52092

Freeze happens if a sub-surface is rendered to before the main surface
is rendered. The compositor has no chance to know that this is a window
which needs to be rendered, thus the application might freeze without
ever becoming visible.

Famous example applications being affected: all kcms with a nested
QQuickView. E.g.: kcmshell5 kwineffects

Diff Detail

Repository
R127 KWayland
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 2925.Mar 23 2016, 4:04 PM
graesslin retitled this revision from to [server] Add a workaround for a freeze in QtWayland.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptMar 23 2016, 4:04 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Mar 24 2016, 12:28 AM
sebas added a reviewer: sebas.
sebas added a subscriber: sebas.

Plausible and clean practical solution. :)

This revision is now accepted and ready to land.Mar 24 2016, 12:28 AM
This revision was automatically updated to reflect the committed changes.