kwin/libkwineffects
Martin Gräßlin fb69b791a1 Ensure that all Effects honour the grab roles correctly
Summary:
When windows get added some effects grab the window and want to be the
only one animating this window. For this the grab roles exists. An
effect being notified later on evaluates the grab state and does not
start the animation.

This process failed due to being dependent on the order the effects are
loaded. Window Added/Closed are signals emitted by EffectsHandler, thus
first come, first serve. The requested effect order does not play into
it.

Due to that it could happen that an Effect which should not animate,
started to animate as the grab was still there.

This change adds the possibility to be notified whenever the window data
changes. A new signal is added to EffectsHandler which is emitted
whenever the windowData changes. The interested effects connect to it
and cancel their (just started) animation for the window.

Adjusted effects are:
* ScaleIn
* Fade
* WobblyWindows

In case of WobblyWindows an additional logical error was fixed that the
animations were only run when an effect grabbed instead of the other way
around.

BUG: 336866
FIXED-IN: 5.8.4

Reviewers: #kwin, #plasma, broulik

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3211
2016-11-07 11:45:09 +01:00
..
anidata.cpp
anidata_p.h
CMakeLists.txt Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
kwinanimationeffect.cpp
kwinanimationeffect.h
kwinconfig.h.cmake
kwineffects.cpp Support highlighting windows through EffectsHandlerImpl 2016-09-13 08:36:12 +02:00
kwineffects.h Ensure that all Effects honour the grab roles correctly 2016-11-07 11:45:09 +01:00
kwinglcolorcorrection.cpp
kwinglcolorcorrection.h
kwinglcolorcorrection_p.h
kwinglobals.h Support triggering application launcher through screenedge 2016-08-10 20:39:28 +02:00
kwinglplatform.cpp [libkwineffects] Port getXServerVersion from X11 to xcb 2016-08-23 11:45:59 +02:00
kwinglplatform.h [libkwineffects] Add detection code for Qualcomm Adreno to GLPlatform 2016-08-12 09:59:38 +02:00
kwingltexture.cpp
kwingltexture.h [libkwineffects] Fix includes in kwingltexture.h 2016-08-08 15:46:25 +02:00
kwingltexture_p.h
kwinglutils.cpp Merge branch 'Plasma/5.7' 2016-09-12 13:14:15 +02:00
kwinglutils.h Add an OpenGL information tab to Debug Console 2016-08-10 08:27:36 +02:00
kwinglutils_funcs.cpp
kwinglutils_funcs.h
kwinxrenderutils.cpp [libkwinxrenderutils] Clean up static blend picture before going down 2016-06-13 15:29:07 +02:00
kwinxrenderutils.h [libkwinxrenderutils] Clean up static blend picture before going down 2016-06-13 15:29:07 +02:00
logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
logging_p.h pedantic fixes 2016-07-16 13:14:44 -04:00
Mainpage.dox
Messages.sh