kwin/autotests/integration
Vlad Zahorodnii 77f712d3a7 Fix tracking of geometry restore with electric maximize
If the user wants to move a tiled window, but changes their mind and
tiles the window back to the previous position, the geometryRestore()
will be corrupted because initialMoveResizeGeometry() is the same as the
geometry of the window in the tiled mode.

This change fixes tracking of the geometry restore by precomputing the
geometry restore when starting interactive move. That way, if the window
is untiled and tiled again without release left pointer button, the
geometry restore will be set to the correct value in setQuickTileMode().

This change also adjusts the test suite so such a subtle case won't be
broken again without noticing it.
2022-02-03 16:01:45 +00:00
..
data Prettify license headers 2020-08-07 19:57:56 +00:00
effects Drop geometry tip 2022-01-04 07:36:42 +00:00
fakes Use versionless Qt cmake target 2021-01-30 17:18:21 +01:00
helper Use versionless Qt cmake target 2021-01-30 17:18:21 +01:00
protocols Implement the layer-shell v1 protocol 2020-09-03 18:11:44 +00:00
scripting autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
activation_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
activities_test.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
buffer_size_change_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00
CMakeLists.txt autotests: Replace output management test with a more useful test 2021-12-10 13:06:40 +02:00
dbus_interface_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
debug_console_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
decoration_input_test.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
desktop_window_x11_test.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
dont_crash_aurorae_destroy_deco.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
dont_crash_cancel_animation.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
dont_crash_cursor_physical_size_empty.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
dont_crash_empty_deco.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
dont_crash_glxgears.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
dont_crash_no_border.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
dont_crash_reinitialize_compositor.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
dont_crash_useractions_menu.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
generic_scene_opengl_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00
generic_scene_opengl_test.h compositor: Merge the OpenGL 2 and 3 backends 2021-10-08 15:26:25 +00:00
globalshortcuts_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
idle_inhibition_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
input_stacking_order.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
inputmethod_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
internal_window.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
keyboard_layout_test.cpp Move Xkb::LEDs enum to KWin namespace 2021-10-13 17:49:19 +00:00
keymap_creation_failure_test.cpp Ensure we start our tests with wayland already initialised 2021-05-10 12:33:43 +00:00
kwin_wayland_test.cpp Move xcbutils to utils directory 2022-01-25 16:56:33 +00:00
kwin_wayland_test.h Try our best to convert preedit styling to text-input-v3 cursor range. 2021-12-27 06:32:31 +00:00
kwinbindings_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
layershellv1client_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
lockscreen.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
maximize_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
modifier_only_shortcut_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
move_resize_window_test.cpp wayland: Make fullscreen and maximize mode not affect interactive resize 2022-01-17 08:38:03 +00:00
nightcolor_test.cpp NightColor: use config watcher to update state when configs are changed 2021-10-07 13:12:30 +00:00
no_global_shortcuts_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
no_xdg_runtime_dir_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
outputchanges_test.cpp autotests: Replace output management test with a more useful test 2021-12-10 13:06:40 +02:00
placement_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
plasma_surface_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
plasmawindow_test.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
platformcursor.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
pointer_constraints_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
pointer_input.cpp make software cursors work per output 2021-12-28 18:42:29 +00:00
quick_tiling_test.cpp Fix tracking of geometry restore with electric maximize 2022-02-03 16:01:45 +00:00
scene_opengl_es_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_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00
screen_changes_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
screenedge_client_show_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
screenedges_test.cpp AbstractClient: split up hideClient into hide and show 2021-11-08 14:19:05 +00:00
screens_test.cpp Drop unused Screens::intersecting() 2022-01-25 17:56:40 +00:00
shade_test.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
showing_desktop_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
stacking_order_test.cpp autotests: Port the tests to new xdg-shell helpers 2021-05-11 05:26:51 +00:00
struts_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
tabbox_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
test_helpers.cpp autotests: Update property before updating 2022-01-19 11:38:03 +00:00
test_virtualkeyboard_dbus.cpp autotests: Fix VirtualKeyboardDBusTest 2021-06-22 16:28:45 +03:00
touch_input_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
transient_placement.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
virtual_desktop_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
window_rules_test.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
window_selection_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
x11_client_test.cpp Lock clientStepUserMovedResized to move resize geometry changes 2022-01-04 07:36:42 +00:00
xdgshellclient_rules_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
xdgshellclient_test.cpp wayland: Let user set "no border" property in more cases 2022-01-31 15:55:25 +00:00
xwayland_input_test.cpp autotests: Remove unused screenedge.h include 2022-01-25 21:16:51 +02:00
xwayland_selections_test.cpp autotests: Remove unused screens.h includes 2022-01-25 21:13:30 +02:00
xwaylandserver_crash_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00
xwaylandserver_restart_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00