kwin/autotests/integration
Vlad Zahorodnii 41d431de27 Adapt to input region changes in kwayland-server
SurfaceInterface::inputIsInfinite() has been dropped. If the surface has
no any input region specified, SurfaceInterface::input() will return a
region that corresponds to the rect of the surface (0, 0, width, height).

While the new design is more robust, for example it's no longer possible
to forget to check SurfaceInterface::inputIsInfinite(), it has shown some
issues in the input stack of kwin.

Currently, acceptsInput() will return false if you attempt to click the
server-side decoration for a surface whose input region is not empty.

Therefore, it's possible for an application to set an input region with
a width and a height of 1. If user doesn't know about KSysGuard or the
possibility of closing apps via the task manager, they won't be able to
close such an application.

Another issue is that if an application has specified an empty input
region on purpose, user will be still able click it. With the new
behavior of SurfaceInterface::input(), this is no longer an issue and it
is handled properly by kwin.
2020-10-17 16:11:13 +03:00
..
data Prettify license headers 2020-08-07 19:57:56 +00:00
effects autotests: Use new xdg-shell helpers in ToplevelOpenCloseAnimationTest 2020-09-09 15:23:06 +00:00
fakes Prettify license headers 2020-08-07 19:57:56 +00:00
helper Prettify license headers 2020-08-07 19:57:56 +00:00
protocols Implement the layer-shell v1 protocol 2020-09-03 18:11:44 +00:00
scripting Prettify license headers 2020-08-07 19:57:56 +00:00
activation_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
activities_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
buffer_size_change_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
CMakeLists.txt autotests: rename to testInputMethod 2020-09-30 16:04:49 +05:30
colorcorrect_nightcolor_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
dbus_interface_test.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
debug_console_test.cpp Port some tests away from a deprecated QProcess::start() overload 2020-09-10 10:19:30 +03:00
decoration_input_test.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
desktop_window_x11_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
dont_crash_aurorae_destroy_deco.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
dont_crash_cancel_animation.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
dont_crash_cursor_physical_size_empty.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
dont_crash_empty_deco.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
dont_crash_glxgears.cpp Port some tests away from a deprecated QProcess::start() overload 2020-09-10 10:19:30 +03:00
dont_crash_no_border.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
dont_crash_reinitialize_compositor.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
dont_crash_useractions_menu.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
generic_scene_opengl_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
generic_scene_opengl_test.h Prettify license headers 2020-08-07 19:57:56 +00:00
globalshortcuts_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
idle_inhibition_test.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
input_stacking_order.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
inputmethod_test.cpp Fix build 2020-09-30 16:16:45 +05:30
internal_window.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
keyboard_layout_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
keymap_creation_failure_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
kwin_wayland_test.cpp virtualkeyboard: rename class to InputMethod 2020-09-29 20:55:24 +05:30
kwin_wayland_test.h virtualkeyboard: add text-input-v3 support 2020-09-29 10:56:24 +00:00
kwinbindings_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
layershellv1client_test.cpp Implement the layer-shell v1 protocol 2020-09-03 18:11:44 +00:00
lockscreen.cpp Fix Build Warning 2020-08-26 19:24:02 +02:00
maximize_test.cpp Fix Build Warning 2020-08-26 19:24:02 +02:00
modifier_only_shortcut_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
move_resize_window_test.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
no_global_shortcuts_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
no_xdg_runtime_dir_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
placement_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
plasma_surface_test.cpp Fix for PlasmaSurfaceTest broken in a3b50500 2020-09-24 09:34:29 +00:00
plasmawindow_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
platformcursor.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
pointer_constraints_test.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
pointer_input.cpp Adapt to input region changes in kwayland-server 2020-10-17 16:11:13 +03:00
quick_tiling_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_opengl_es_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_opengl_shadow_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_opengl_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_qpainter_shadow_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_qpainter_test.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
screen_changes_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
screenedge_client_show_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
shade_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
showing_desktop_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
stacking_order_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
struts_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
tabbox_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_helpers.cpp virtualkeyboard: rename class to InputMethod 2020-09-29 20:55:24 +05:30
touch_input_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
transient_placement.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
virtual_desktop_test.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
window_rules_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
window_selection_test.cpp Avoid QPointer in return types of Input methods 2020-09-08 08:04:13 +00:00
x11_client_test.cpp Port some tests away from a deprecated QProcess::start() overload 2020-09-10 10:19:30 +03:00
xdgshellclient_rules_test.cpp autotests: Remove XdgShellSurfaceType enum 2020-09-09 13:21:57 +03:00
xdgshellclient_test.cpp wayland: Fix Qt clients not being maximized initially 2020-10-15 11:35:06 +00:00
xwayland_input_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
xwayland_selections_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
xwaylandserver_crash_test.cpp xwayland: Avoid creating a tree query on crash 2020-10-14 16:17:42 +00:00
xwaylandserver_restart_test.cpp xwayland: Avoid creating a tree query on crash 2020-10-14 16:17:42 +00:00