kwin/autotests
Vlad Zagorodniy 295138145c Make sure that effect windows outlive effects
Summary:
Compositing is suspended/finished in a very hard way fashion, effect
windows are destroyed without notifying effects about it.

AnimationEffect tries gracefully release deleted windows, but because
in some cases(like when suspending compositing) a deleted window can
be already destroyed, a segmentation fault can happen.

This change adjusts the order in which effect windows and effects are
destroyed, so AnimationEffect (and other effects) cannot access dangling
pointers.

BUG: 400788
FIXED-IN: 5.15.0

Reviewers: #kwin, graesslin

Reviewed By: #kwin, graesslin

Subscribers: graesslin, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17311
2018-12-02 19:59:53 +02:00
..
drm
integration Make sure that effect windows outlive effects 2018-12-02 19:59:53 +02:00
libinput
libkwineffects [libkwineffects] Introduce timeline redirect modes 2018-11-17 13:43:39 +02:00
libxrenderutils
tabbox
abstract_client.h Fix minor EBN issues 2018-08-29 21:02:16 +03:00
client.h
CMakeLists.txt [wayland] Use the new plasma virtual desktop protocol 2018-11-01 16:35:29 +01:00
fakeeffectplugin.cpp
fakeeffectplugin.json
fakeeffectplugin_version.cpp
fakeeffectplugin_version.json
mock_abstract_client.cpp
mock_abstract_client.h
mock_client.cpp
mock_client.h
mock_effectshandler.cpp
mock_effectshandler.h [wayland] add enter/leave virtual desktop API 2018-11-14 11:08:46 +00:00
mock_screens.cpp
mock_screens.h
mock_workspace.cpp
mock_workspace.h
onscreennotificationtest.cpp
onscreennotificationtest.h
opengl_context_attribute_builder_test.cpp
test_builtin_effectloader.cpp [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
test_client_machine.cpp
test_gbm_surface.cpp
test_gestures.cpp
test_plugin_effectloader.cpp [autotests] Test all scripted effects 2018-11-21 20:01:06 +02:00
test_screen_edges.cpp
test_screen_paint_data.cpp
test_screens.cpp
test_scripted_effectloader.cpp [autotests] Test all scripted effects 2018-11-21 20:01:06 +02:00
test_virtual_desktops.cpp [wayland] Use the new plasma virtual desktop protocol 2018-11-01 16:35:29 +01:00
test_virtualkeyboard_dbus.cpp
test_window_paint_data.cpp [libkwineffects] Replace property name lookup with calling the virtual methods 2018-11-30 11:22:20 +00:00
test_x11_timestamp_update.cpp
test_xcb_size_hints.cpp
test_xcb_window.cpp
test_xcb_wrapper.cpp Fix minor EBN issues 2018-08-29 21:02:16 +03:00
test_xkb.cpp
test_xrandr_screens.cpp
testutils.h
workspace.h