https://bugs.kde.org/show_bug.cgi?id=389231

Martin Flöser <mgraess...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kwa
                   |                            |yland/d38825d934e4d0b656495
                   |                            |851fdf9a0d2fc247449
         Resolution|---                         |FIXED

--- Comment #5 from Martin Flöser <mgraess...@kde.org> ---
Git commit d38825d934e4d0b656495851fdf9a0d2fc247449 by Martin Flöser.
Committed on 07/02/2018 at 18:41.
Pushed by graesslin into branch 'master'.

[server] Don't crash when a subsurface gets commited whose parent surface got
destroyed

Summary:
Qt seems to damage and commit child subsurfaces although their parent
got destroyed. This actually doesn't make any sense as without a parent
surface they cannot be shown. But nevertheless we should not crash in
such a situation.

This change guards the places in the commit handling code where the
parent gets accessed.

Test Plan: New test case which exposes the problem

Reviewers: #frameworks, #kwin, #plasma

Subscribers: plasma-devel

Tags: #plasma, #frameworks

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

M  +47   -0    autotests/client/test_wayland_subsurface.cpp
M  +3    -0    src/server/subcompositor_interface.cpp
M  +5    -2    src/server/surface_interface.cpp

https://commits.kde.org/kwayland/d38825d934e4d0b656495851fdf9a0d2fc247449

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to