kwin/autotests/integration
Vlad Zahorodnii 19ad172584 Survive Xwayland crashes
If the Xwayland process crashes, it will bring down the entire session
together with itself. Obviously, we don't want that. At least, Wayland
clients should survive the crash.

This change refactors relevant X11 parts to handle Xwayland crashes in a
less fatal way.

In order to handle Xwayland crashes better, a pair of start() and stop()
methods had been introduced in the Xwayland class to allow starting and
stopping the Xwayland process at any moment.

If we detect that the Xwayland process has crashed, we will immediately
stop the Xwayland server, which in its turn will deactivate the socket
notifier and destroy all connected X11 clients. Unfortunately, a couple
of subtle changes in X11Client::releaseWindow() and Unmanaged::release()
had to be made to ensure that we are left with a valid state after the
Xwayland server has been stopped.
2020-08-05 08:48:00 +00:00
..
data Add support for desktopFileName provided by NETWinInfo 2016-10-31 13:19:46 +01:00
effects Introduce started signal in Application 2020-07-17 09:10:51 +00:00
fakes Update my email address 2020-01-14 18:17:18 +02:00
helper Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
scripting Introduce started signal in Application 2020-07-17 09:10:51 +00:00
activation_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
activities_test.cpp Fix testActivities 2020-07-17 09:10:51 +00:00
buffer_size_change_test.cpp Use AbstractClient instead of XdgShellClient wherever possible 2020-03-04 09:57:13 +02:00
CMakeLists.txt Add a simple test to check Xwayland dying 2020-08-05 08:48:00 +00:00
colorcorrect_nightcolor_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
dbus_interface_test.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
debug_console_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
decoration_input_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
desktop_window_x11_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
dont_crash_aurorae_destroy_deco.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
dont_crash_cancel_animation.cpp Use AbstractClient instead of XdgShellClient wherever possible 2020-03-04 09:57:13 +02:00
dont_crash_cursor_physical_size_empty.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
dont_crash_empty_deco.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
dont_crash_glxgears.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
dont_crash_no_border.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
dont_crash_reinitialize_compositor.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
dont_crash_useractions_menu.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
generic_scene_opengl_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
generic_scene_opengl_test.h [autotests] Test creating core context profile 2017-06-25 09:48:46 +02:00
globalshortcuts_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
idle_inhibition_test.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
input_stacking_order.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
internal_window.cpp Make setFrameGeometry() re-entrant for X and internal clients 2020-07-22 05:51:23 +00:00
keyboard_layout_test.cpp make keyboard layout DBus API more reliable 2020-07-17 12:42:28 +00:00
keymap_creation_failure_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
kwin_wayland_test.cpp Survive Xwayland crashes 2020-08-05 08:48:00 +00:00
kwin_wayland_test.h Tests: Add outputmanagement to test helper 2020-06-24 11:17:42 +02:00
kwinbindings_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
lockscreen.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
maximize_test.cpp When maximizing a window raise client and gain focus 2020-07-27 09:26:25 +00:00
modifier_only_shortcut_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
move_resize_window_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
no_global_shortcuts_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
no_xdg_runtime_dir_test.cpp Start accepting client connections after creating workspace 2020-07-17 09:10:51 +00:00
placement_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
plasma_surface_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
plasmawindow_test.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
platformcursor.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
pointer_constraints_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
pointer_input.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
quick_tiling_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
scene_opengl_es_test.cpp [autotests] Introduce a SceneOpenGL ES test 2017-06-24 21:05:49 +02:00
scene_opengl_shadow_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
scene_opengl_test.cpp [autotests] Introduce a SceneOpenGL ES test 2017-06-24 21:05:49 +02:00
scene_qpainter_shadow_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
scene_qpainter_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
screen_changes_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
screenedge_client_show_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
shade_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
showing_desktop_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
stacking_order_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
struts_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
tabbox_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
test_helpers.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
touch_input_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
transient_placement.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
virtual_desktop_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
window_rules_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
window_selection_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
x11_client_test.cpp Check if we successfully restored input focus 2020-07-22 12:29:41 +00:00
xdgshellclient_rules_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
xdgshellclient_test.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
xwayland_input_test.cpp Introduce started signal in Application 2020-07-17 09:10:51 +00:00
xwayland_selections_test.cpp Emit clientAdded for wayland clients 2020-07-27 15:01:07 +00:00
xwaylandserver_test.cpp Add a simple test to check Xwayland dying 2020-08-05 08:48:00 +00:00