You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
8 years ago
..
integration [effects] Handle windowShown and windowHidden in fade effect 8 years ago
libinput [libinput] Load/store device configuration 8 years ago
libkwineffects
libxrenderutils
tabbox
CMakeLists.txt Remove KWin::display from kwinglobals 8 years ago
abstract_client.h
client.h
fakeeffectplugin.cpp [kwin] Add a PluginEffectLoader 11 years ago
fakeeffectplugin.json
fakeeffectplugin_version.cpp [kwin] Adapt to KPluginFactory change 11 years ago
fakeeffectplugin_version.json
mock_abstract_client.cpp
mock_abstract_client.h Implement show on screen edge for Wayland 8 years ago
mock_client.cpp
mock_client.h Implement show on screen edge for Wayland 8 years ago
mock_effectshandler.cpp
mock_effectshandler.h [effects] Add interactive window selection mode to ScreenshotEffect 8 years ago
mock_screens.cpp
mock_screens.h
mock_workspace.cpp
mock_workspace.h
test_builtin_effectloader.cpp
test_client_machine.cpp Remove KWin::display from kwinglobals 8 years ago
test_plugin_effectloader.cpp
test_screen_edges.cpp Remove KWin::display from kwinglobals 8 years ago
test_screen_paint_data.cpp Pass the current output geometry to ScreenPaintData 8 years ago
test_screens.cpp
test_scripted_effectloader.cpp Fix for failing testScriptedEffectsLoader 8 years ago
test_virtual_desktops.cpp VirtualDesktopGrid operates on VirtualDesktop objects 8 years ago
test_window_paint_data.cpp
test_xcb_size_hints.cpp Remove KWin::display from kwinglobals 8 years ago
test_xcb_window.cpp Remove KWin::display from kwinglobals 8 years ago
test_xcb_wrapper.cpp Remove KWin::display from kwinglobals 8 years ago
test_xrandr_screens.cpp Support multiple event types in X11EventFilter 8 years ago
testutils.h
workspace.h