Handle restart of Compositor Scene correctly for Wayland client
ClosedPublic

Authored by graesslin on Jul 15 2016, 2:08 PM.

Details

Summary

This change ensures that KWin doesn't crash in the QPainter scene if
the compositor gets restarted and if there are Wayland clients.

BUG: 365471

Test Plan

Test case added to scene qpainter which triggers a restart
of the Compositor with a window being shown. Verifies that rendering
is correct afterwards.

Diff Detail

Repository
R108 KWin
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 5209.Jul 15 2016, 2:08 PM
graesslin retitled this revision from to Handle restart of Compositor Scene correctly for Wayland client.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptJul 15 2016, 2:08 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
sebas accepted this revision.Jul 20 2016, 1:51 PM
sebas added a reviewer: sebas.
sebas added a subscriber: sebas.
sebas added inline comments.
autotests/integration/scene_qpainter_test.cpp
214

let's

This revision is now accepted and ready to land.Jul 20 2016, 1:51 PM
This revision was automatically updated to reflect the committed changes.