kwin/src/wayland/autotests/client
Vlad Zahorodnii 34982850e2 Destroy all clients before destroying wl_display
One of the most disappointing things when writing autotests is dealing
with a race condition where destructor requests are processed after all
globals have been destroyed.

With this change, the Display object will destroy all clients and their
resources before destroying the wl_display object. The good thing about
doing so is that shut down logic becomes simple. We don't have to assume
that wl_resource objects can outlive their wl_global objects, etc. The
bad thing is that it exposed a couple of pre-existing latent bugs in the
data device and the xdg foreign code.

closes plasma/kwayland-server#2
2020-11-11 09:26:57 +02:00
..
CMakeLists.txt autotests: rename file to reflect that it tests only TextInputV2 now 2020-09-23 08:59:59 +00:00
test_compositor.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_datadevice.cpp Introduce DragAndDropIcon 2020-11-03 19:53:12 +00:00
test_datasource.cpp Port DataDevice to the new inheritance approach 2020-10-01 14:49:33 +00:00
test_drag_drop.cpp autotests: Fix TestDragAndDrop 2020-10-28 17:42:32 +00:00
test_error.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_fake_input.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_idle.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_plasma_virtual_desktop.cpp Migrate Window Management to new approach 2020-09-28 11:40:51 +00:00
test_plasma_window_model.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_plasmashell.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_pointer_constraints.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_selection.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_server_side_decoration.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_server_side_decoration_palette.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_shadow.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_shm_pool.cpp Port namespaces and includes 2020-04-29 16:56:38 +02:00
test_text_input_v2.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_wayland_appmenu.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_wayland_blur.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_wayland_contrast.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_wayland_filter.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_wayland_output.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_wayland_outputdevice.cpp Port namespaces and includes 2020-04-29 16:56:38 +02:00
test_wayland_outputmanagement.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_wayland_region.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_wayland_seat.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_wayland_slide.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_wayland_subcompositor.cpp Rewrite subsurface wrappers following the new design principles 2020-11-02 08:26:57 +02:00
test_wayland_subsurface.cpp Rewrite subsurface wrappers following the new design principles 2020-11-02 08:26:57 +02:00
test_wayland_surface.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_wayland_windowmanagement.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_xdg_decoration.cpp Port the wl_compositor wrapper to the new approach 2020-07-15 11:05:59 +03:00
test_xdg_foreign.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00
test_xdg_output.cpp Port XdgOutput to the new approach 2020-08-20 11:41:14 +00:00
test_xdg_shell.cpp Destroy all clients before destroying wl_display 2020-11-11 09:26:57 +02:00