kwin/autotests/integration
Martin Gräßlin 451bbb54dd [effects] Handle windowShown and windowHidden in fade effect
Summary:
For Wayland windows we can have a sequence of window unmapped
(windowHidden signal) followed by a windowClosed way later when the
application quits. This is for example the case with menus.

The result of this was that the fade out animation triggered when the
application quit showing all the already closed menus again.

This change implements a windowShown and windowHidden handler and
triggers the fadeIn/Out animation on it. If the window gets shown
again the existing fadeOut animation gets cancelled, so that it can run
again.

If a window gets closed for which a fade out animation has been run
already, it's not triggered again, thus ensuring that we don't see
zombie windows.

CCBUG: 372622

Reviewers: #kwin, #plasma_on_wayland, hein

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D3419
2016-11-22 07:18:27 +01:00
..
data Add support for desktopFileName provided by NETWinInfo 2016-10-31 13:19:46 +01:00
effects [effects] Handle windowShown and windowHidden in fade effect 2016-11-22 07:18:27 +01:00
helper KillWindow support for Wayland windows 2016-11-17 14:06:42 +01:00
scripting Add method unregisterScreenEdge to scripting 2016-10-07 13:29:29 +01:00
activities_test.cpp [autotests] Wrap integration tests in dbus-session-run 2016-09-14 07:59:14 +02:00
CMakeLists.txt Implement interactive window selection for Wayland platforms 2016-11-17 09:42:12 +01:00
debug_console_test.cpp Internal windows cannot be minimized 2016-11-04 08:59:43 +01:00
decoration_input_test.cpp Add support for resize only borders on Wayland 2016-10-05 07:49:23 +02:00
desktop_window_x11_test.cpp Force windows of type desktop to be opaque 2016-08-10 15:10:22 +02:00
dont_crash_aurorae_destroy_deco.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
dont_crash_cancel_animation.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
dont_crash_empty_deco.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
dont_crash_glxgears.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
dont_crash_no_border.cpp Add support for xdg-shell version 5 interface 2016-07-13 13:20:00 +02:00
globalshortcuts_test.cpp Fix shortcut triggering with shift+letter 2016-10-17 08:13:20 +02:00
input_stacking_order.cpp Add support for xdg-shell version 5 interface 2016-07-13 13:20:00 +02:00
internal_window.cpp DebugConsole window does not take keyboard input 2016-09-12 13:24:33 +02:00
kwin_wayland_test.cpp Unpolish QStyle on QApp prior to destroying internal Wayland connection 2016-11-07 11:28:06 +01:00
kwin_wayland_test.h [autotests/integration] Test case for screen locked with mod-only-shortcuts 2016-08-16 08:19:45 +02:00
lockscreen.cpp [autotest/intergration] Wait for pointer enter before simulating button press 2016-08-08 11:12:22 +02:00
maximize_test.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
modifier_only_shortcut_test.cpp Only trigger mod-only-shortcuts if global shortcuts are enabled 2016-10-06 13:28:31 +02:00
move_resize_window_test.cpp [autotests] Remove expected fail from snap to auto-hide Wayland 2016-11-03 08:56:59 +01:00
no_xdg_runtime_dir_test.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
plasma_surface_test.cpp Support docks which take input 2016-10-18 08:18:46 +02:00
plasmawindow_test.cpp Expose window geometry to PlasmaWindow 2016-07-20 13:49:10 +02:00
platformcursor.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
pointer_input.cpp [wayland] Ensure that pointer enter event carries the correct coordinates 2016-08-04 11:13:52 +02:00
quick_tiling_test.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
scene_opengl_test.cpp Support restarting the OpenGL compositor on Wayland 2016-07-20 14:08:23 +02:00
scene_qpainter_test.cpp Handle restart of Compositor Scene correctly for Wayland client 2016-07-21 08:11:32 +02:00
screen_changes_test.cpp Announce output changes to Wayland for platforms not handling outputs 2016-07-20 13:53:02 +02:00
screenedge_client_show_test.cpp Emit windowShown and windowHidden from Client::internalKeep and ::internalHide 2016-07-14 11:11:49 +02:00
shade_test.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
shell_client_test.cpp Merge branch 'Plasma/5.8' 2016-11-18 16:08:29 +01:00
start_test.cpp Add way to hide/show cursor in Platform 2016-10-31 11:46:50 +01:00
struts_test.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
tabbox_test.cpp [wayland] Fix release of TabBox on Wayland 2016-09-14 13:26:58 +02:00
test_helpers.cpp [autotests/integration] Add ScreenLockerWatcher to the Test::lockScreen and ::unlockScreen 2016-08-16 10:23:37 +02:00
touch_input_test.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
transient_no_input_test.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
transient_placement.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
window_rules_test.cpp Match window role in Rules in a case insensitive manner 2016-09-13 08:37:26 +02:00
window_selection_test.cpp Implement interactive window selection for Wayland platforms 2016-11-17 09:42:12 +01:00
x11_client_test.cpp Simplify the window title passed in from the window system 2016-11-07 11:26:48 +01:00
xclipboardsync_test.cpp Handle situation of no XDG_RUNTIME_DIR gracefully 2016-07-13 10:00:46 +02:00
xwayland_input_test.cpp Warp the xcb pointer whenever pointer leaves an X11 surface 2016-08-24 13:12:06 +02:00