https://bugs.kde.org/show_bug.cgi?id=372622

--- Comment #4 from Martin Gräßlin <mgraess...@kde.org> ---
Git commit 451bbb54ddf864f80142f36a9d5d54f57e434f1c by Martin Gräßlin.
Committed on 22/11/2016 at 06:18.
Pushed by graesslin into branch 'master'.

[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.

Reviewers: #kwin, #plasma_on_wayland, hein

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D3419

M  +1    -0    autotests/integration/effects/CMakeLists.txt
A  +182  -0    autotests/integration/effects/fade_test.cpp     [License: GPL
(v2)]
M  +16   -4    effects/fade/package/contents/code/main.js

http://commits.kde.org/kwin/451bbb54ddf864f80142f36a9d5d54f57e434f1c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to