kwin/autotests/integration/effects
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
..
CMakeLists.txt [effects] Handle windowShown and windowHidden in fade effect 2016-11-22 07:18:27 +01:00
fade_test.cpp [effects] Handle windowShown and windowHidden in fade effect 2016-11-22 07:18:27 +01:00
slidingpopups_test.cpp Ensure that all Effects honour the grab roles correctly 2016-11-07 11:45:09 +01:00
translucency_test.cpp Use KWin's KSharedConfigPtr in ScriptedEffect 2016-11-16 15:31:14 +01:00