D5262: Animate quick tiling outline
Kai Uwe Broulik
noreply at phabricator.kde.org
Fri Mar 31 13:29:40 UTC 2017
broulik created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY
When quick tiling animate the outline from the window geometry to the position it would have afterwards.
This provides a visual hint to from where to where the window will go.
TEST PLAN
The outline window size is a union of target and destination size and the animation itself is done in QML, ie. no window position is animated.
Due to this, when the outline is already shown (e.g. dragging the window along a side of the screen) it jumps into new position without an animation like before.
Also, in order to facilitate the initial animation, it first calls show() on the outline and then sets active true after which QML will animate.
The non-composited outline is unchanged.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D5262
AFFECTED FILES
geometry.cpp
outline.cpp
outline.h
qml/outline/plasma/outline.qml
To: broulik, #plasma, #kwin
Cc: plasma-devel, kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170331/62314194/attachment-0001.html>
More information about the Plasma-devel
mailing list