kwin/autotests/integration
Vlad Zahorodnii 11a5513e78 Avoid moving the window while it's maximized
Unlike X11, on Wayland, the window won't change its maximize mode until
it renders a new buffer. This creates a problem for interactive move
because if it's not careful and moves the window while it's still effectively
maximized, it will look as if the window has leaked to other screens.

This change fixes the problem by making Window::handleInteractiveMoveResize()
avoid move() if the window needs to be unmaximized.

As a bonus, it also allows to unmaximize the windows that are maximized
along only one dimension by dragging them.

Unfortunately, tiling stuff still suffers from the same issue. In order
to fix it, Window::tile() has to be part of double buffered state, like
Window::maximizeMode().

BUG: 449105
BUG: 459218
CCBUG: 482085
2024-03-15 18:00:52 +00:00
..
data
effects autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
fakes
helper
scripting
activation_test.cpp
activities_test.cpp
bounce_keys_test.cpp
buttonrebind_test.cpp buttonrebinds: Introduce tests 2024-03-14 14:39:00 -07:00
CMakeLists.txt buttonrebinds: Introduce tests 2024-03-14 14:39:00 -07:00
dbus_interface_test.cpp
debug_console_test.cpp Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
decoration_input_test.cpp autotests: Make xdg-toplevel-decoration-v1 factory function return a std::unique_ptr 2024-03-11 08:52:10 +00:00
desktop_window_x11_test.cpp Do not rely on NETWM for the main Window class 2024-02-20 18:04:06 +00:00
dont_crash_aurorae_destroy_deco.cpp
dont_crash_cancel_animation.cpp autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
dont_crash_empty_deco.cpp
dont_crash_glxgears.cpp
dont_crash_reinitialize_compositor.cpp
dont_crash_useractions_menu.cpp
fakeinput_test.cpp
fractional_scaling_test.cpp
generic_scene_opengl_test.cpp
generic_scene_opengl_test.h
globalshortcuts_test.cpp
idle_inhibition_test.cpp
input_stacking_order.cpp autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
inputmethod_test.cpp autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
internal_window.cpp
keyboard_layout_test.cpp
keymap_creation_failure_test.cpp
kwin_wayland_test.cpp buttonrebinds: Introduce tests 2024-03-14 14:39:00 -07:00
kwin_wayland_test.h Avoid moving the window while it's maximized 2024-03-15 18:00:52 +00:00
kwinbindings_test.cpp
layershellv1window_test.cpp wayland: Fix windows shrinking when output layout changes 2024-03-07 13:41:01 +02:00
lockscreen.cpp autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
maximize_test.cpp
modifier_only_shortcut_test.cpp xkb: caps lock is not shift lock 2024-02-14 14:25:03 +00:00
move_resize_window_test.cpp Port away the remaining users of windowShown/windowHidden to hiddenChanged 2024-02-27 20:58:52 +00:00
no_global_shortcuts_test.cpp
outputchanges_test.cpp autotests/integration/outputchanges: add geometry restore test 2024-02-19 17:18:28 +01:00
placement_test.cpp autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
plasma_surface_test.cpp Do not rely on NETWM for the main Window class 2024-02-20 18:04:06 +00:00
plasmawindow_test.cpp
platformcursor.cpp
pointer_constraints_test.cpp
pointer_input.cpp autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
quick_tiling_test.cpp
scene_opengl_es_test.cpp
scene_opengl_test.cpp
screen_changes_test.cpp
screencasting_test.cpp
screenedges_test.cpp Port away the remaining users of windowShown/windowHidden to hiddenChanged 2024-02-27 20:58:52 +00:00
screens_test.cpp pointer_input: implement edge barrier between screens 2024-03-08 12:03:28 -08:00
security_context_test.cpp
shade_test.cpp
showing_desktop_test.cpp
stacking_order_test.cpp autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
sticky_keys_test.cpp
struts_test.cpp Do not rely on NETWM for the main Window class 2024-02-20 18:04:06 +00:00
tabbox_test.cpp xkb: caps lock is not shift lock 2024-02-14 14:25:03 +00:00
test_helpers.cpp Avoid moving the window while it's maximized 2024-03-15 18:00:52 +00:00
test_virtualkeyboard_dbus.cpp
tiles_test.cpp
touch_input_test.cpp autotests: Make xdg-toplevel-decoration-v1 factory function return a std::unique_ptr 2024-03-11 08:52:10 +00:00
transient_placement.cpp autotests: Port xdg-shell factory functions to unique_ptr 2024-03-10 17:25:52 +00:00
virtual_desktop_test.cpp Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
window_rules_test.cpp
window_selection_test.cpp
x11_window_test.cpp autotests: Add skip switcher/pager/taskbar tests in X11WindowTest 2024-03-15 17:16:27 +00:00
x11keyread.cpp xwayland: Add unit test for XWayland key tracking 2024-03-03 12:41:15 +00:00
xdgshellwindow_rules_test.cpp autotests: Make xdg-toplevel-decoration-v1 factory function return a std::unique_ptr 2024-03-11 08:52:10 +00:00
xdgshellwindow_test.cpp Avoid moving the window while it's maximized 2024-03-15 18:00:52 +00:00
xinerama_test.cpp
xwayland_input_test.cpp
xwayland_selections_test.cpp
xwaylandserver_crash_test.cpp
xwaylandserver_restart_test.cpp