kwin/autotests/integration
Jie Liu 1a1eaee13f Only precompute the geometry restore when m_interactiveMoveResize.initialQuickTileMode is None
If the user wants to move a tiled window but changes their mind and tiles the window back to the previous
position, quickTileGeometryRestore() will return an error value beacause m_electricMaximizing is true and
the m_electricGeometryRestore is the same as the geometry of the window in the last tiled mode.

Now the geometry restore of the tiled window is true when starting interactive move, so we no longer need
to precompute it.

Changes for testQuickTilingPointerMove:

We need to attach a new image after the tiling window, so that updateElectricGeometryRestore can obtain
the same framegeometry as the framegeometry obtained during actual runtime.

Now testQuickTilingPointerMove can detect the error:If the user wants to move a tiled window but changes
their mind and tiles the window back to the previous position, quickTileGeometryRestore() will return an
error value beacause m_electricMaximizing is true and the m_electricGeometryRestore is the same as the
geometry of the window in the last tiled mode.

Signed-off-by: Jie Liu <liujie01@kylinos.cn>
2024-01-17 01:03:27 +00:00
..
data
effects Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
fakes Adjust to KDecoration init API returning a bool 2023-10-22 10:52:42 +02:00
helper
scripting Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
activation_test.cpp There's no QVector anymore, QList is the QVector in Qt6 2023-10-19 13:43:53 +00:00
activities_test.cpp Drop some unused kwineffects.h includes 2023-11-15 14:41:42 +02:00
bounce_keys_test.cpp Implement bounce keys on Wayland 2023-11-23 13:07:35 +00:00
CMakeLists.txt xwayland: Make xinerama index -> Output mapping more robust with fractional scaling 2024-01-10 15:18:48 +00:00
dbus_interface_test.cpp There's no QVector anymore, QList is the QVector in Qt6 2023-10-19 13:43:53 +00:00
debug_console_test.cpp Don't use QtTest => use QTest + missing include 2023-07-04 10:38:21 +00:00
decoration_input_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
desktop_window_x11_test.cpp Drop some unused kwineffects.h includes 2023-11-15 14:41:42 +02:00
dont_crash_aurorae_destroy_deco.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
dont_crash_cancel_animation.cpp effects.h -> effecthandler.h 2023-11-20 15:47:36 +00:00
dont_crash_empty_deco.cpp autotests: Don't be so paranoid about compositing type 2023-09-08 09:48:16 +03:00
dont_crash_glxgears.cpp Don't use QtTest => use QTest + missing include 2023-07-04 10:38:21 +00:00
dont_crash_reinitialize_compositor.cpp effects.h -> effecthandler.h 2023-11-20 15:47:36 +00:00
dont_crash_useractions_menu.cpp autotests: Remove unused outputbackend.h includes 2023-05-23 11:42:32 +03:00
fakeinput_test.cpp backends/fakeinput: Implement fake input protocol in backend 2023-09-22 11:08:26 +03:00
fractional_scaling_test.cpp Port away from KWayland's server-decoration implementation 2023-09-25 06:42:02 +00:00
generic_scene_opengl_test.cpp libkwineffects/ -> effect/ 2023-11-20 11:32:43 +00:00
generic_scene_opengl_test.h screencasting: Add an autotest 2023-03-31 00:19:59 +02:00
globalshortcuts_test.cpp wayland: Drop "_interface" from filenames 2023-09-15 13:13:43 +00:00
idle_inhibition_test.cpp autotests: Remove unused outputbackend.h includes 2023-05-23 11:42:32 +03:00
input_stacking_order.cpp Drop some unused kwineffects.h includes 2023-11-15 14:41:42 +02:00
inputmethod_test.cpp inputmethod: Ensure InputPanelV1Window is always within the screen 2024-01-13 22:39:15 -08:00
internal_window.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
keyboard_layout_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
keymap_creation_failure_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
kwin_wayland_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
kwin_wayland_test.h inputmethod: Ensure InputPanelV1Window is always within the screen 2024-01-13 22:39:15 -08:00
kwinbindings_test.cpp There's no QVector anymore, QList is the QVector in Qt6 2023-10-19 13:43:53 +00:00
layershellv1window_test.cpp Fix -Wdeprecated-declarations 2023-12-01 12:06:48 +02:00
lockscreen.cpp Allow building KWin without KGlobalAccel 2023-11-27 17:07:28 +01:00
maximize_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
modifier_only_shortcut_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
move_resize_window_test.cpp Merge EffectsHandlerImpl and EffectsHandler 2023-11-15 15:21:50 +02:00
no_global_shortcuts_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
outputchanges_test.cpp outputconfigurationstore: don't handle laptop lid closing yet 2023-06-21 11:05:42 +02:00
placement_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
plasma_surface_test.cpp There's no QVector anymore, QList is the QVector in Qt6 2023-10-19 13:43:53 +00:00
plasmawindow_test.cpp Drop some unused kwineffects.h includes 2023-11-15 14:41:42 +02:00
platformcursor.cpp Don't use QtTest => use QTest + missing include 2023-07-04 10:38:21 +00:00
pointer_constraints_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
pointer_input.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
quick_tiling_test.cpp Only precompute the geometry restore when m_interactiveMoveResize.initialQuickTileMode is None 2024-01-17 01:03:27 +00:00
scene_opengl_es_test.cpp
scene_opengl_test.cpp
screen_changes_test.cpp There's no QVector anymore, QList is the QVector in Qt6 2023-10-19 13:43:53 +00:00
screencasting_test.cpp libkwineffects: move files out to more fitting places 2023-11-14 17:03:40 +01:00
screenedges_test.cpp Fix -Wdeprecated-declarations 2023-12-01 12:06:48 +02:00
screens_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
security_context_test.cpp Support SecurityContextManagerV1 2023-11-13 09:51:28 +00:00
shade_test.cpp Drop some unused kwineffects.h includes 2023-11-15 14:41:42 +02:00
showing_desktop_test.cpp Break show desktop mode if a new window is added 2024-01-15 15:41:57 +00:00
stacking_order_test.cpp testStackingOrder: wrap Test::XdgToplevel in a unique_ptr in all tests 2023-11-23 09:53:55 +00:00
sticky_keys_test.cpp Implement locking sticky keys on Wayland 2023-11-23 08:17:00 +00:00
struts_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
tabbox_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
test_helpers.cpp inputmethod: Ensure InputPanelV1Window is always within the screen 2024-01-13 22:39:15 -08:00
test_virtualkeyboard_dbus.cpp autotests: Remove unused outputbackend.h includes 2023-05-23 11:42:32 +03:00
tiles_test.cpp autotests: Avoid binding plasmashell global in tests that don't use it 2023-05-23 18:00:50 +00:00
touch_input_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
transient_placement.cpp Drop some unused kwineffects.h includes 2023-11-15 14:41:42 +02:00
virtual_desktop_test.cpp There's no QVector anymore, QList is the QVector in Qt6 2023-10-19 13:43:53 +00:00
window_rules_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
window_selection_test.cpp autotests: Remove unused outputbackend.h includes 2023-05-23 11:42:32 +03:00
x11_window_test.cpp libkwineffects/ -> effect/ 2023-11-20 11:32:43 +00:00
xdgshellwindow_rules_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
xdgshellwindow_test.cpp Support kill prompt for XdgTopLevelWindows 2023-11-27 14:10:15 +00:00
xinerama_test.cpp xwayland: Make xinerama index -> Output mapping more robust with fractional scaling 2024-01-10 15:18:48 +00:00
xwayland_input_test.cpp wayland: Drop "_interface" from filenames 2023-09-15 13:13:43 +00:00
xwayland_selections_test.cpp wayland: Integrate KWaylandServer classes into KWin namespace 2023-09-15 16:31:15 +03:00
xwaylandserver_crash_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
xwaylandserver_restart_test.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00