Review Request 126870: Tooltip animation transition in the panel decrease it performance after continous usage
Marco Martin
notmart at gmail.com
Fri Jan 29 10:05:57 UTC 2016
> On Jan. 25, 2016, 8 a.m., Martin Gräßlin wrote:
> > src/declarativeimports/core/tooltip.cpp, line 160
> > <https://git.reviewboard.kde.org/r/126870/diff/2/?file=436482#file436482line160>
> >
> > why bind it to compositingActive?
>
> Anthony Fieroni wrote:
> To stop animated reposition when compositing is not active. How to fix, to remove it?
>
> Anthony Fieroni wrote:
> Any suggestions?
>
> Martin Gräßlin wrote:
> The animation is not done by the compositor in the first place. It's done by X and there it doesn't matter whether it's composited or not (compare my general note that this should be done by KWin).
>
> Anthony Fieroni wrote:
> Yes, i know that. How to perform it with KWindowEffects::slideWindow can i get distance/offset by geomStart-geomEnd and can it be negative?
>
> Martin Gräßlin wrote:
> > How to perform it with KWindowEffects::slideWindow can i get distance/offset by geomStart-geomEnd and can it be negative?
>
> That's currently not yet possible. We need a new dedicated effect for that in KWin.
a sliding/resizing/morphing effect was in my todo since a while, (hope to be able to put some hours in it next week, but anybody is very welcome to beat me into that).
personally i wouldn't touch the cusom tooltip animation code in the tooltip before then (and after the effect is there is can just be removed altogether)
- Marco
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126870/#review91561
-----------------------------------------------------------
On Jan. 24, 2016, 3:20 p.m., Anthony Fieroni wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126870/
> -----------------------------------------------------------
>
> (Updated Jan. 24, 2016, 3:20 p.m.)
>
>
> Review request for KDE Frameworks, Plasma and David Edmundson.
>
>
> Bugs: 354353
> http://bugs.kde.org/show_bug.cgi?id=354353
>
>
> Repository: plasma-framework
>
>
> Description
> -------
>
> Continous usage, read as suspend/resume/use and so on, cause *cool* tooltip animation transition between item to decrease it permormance and looks quite ugly. If add new panel animation is *cool* as is. The perfermonce decrease can be cause due to swap use, or QPropertyAnimation issue, however we (you KDE defs and i *like a user*) wants plasmashell and it's components (like panel) to works *forever*
>
>
> Diffs
> -----
>
> src/declarativeimports/core/tooltip.cpp a5e223b
> src/declarativeimports/core/tooltipdialog.h 2ea8af9
> src/declarativeimports/core/tooltipdialog.cpp 6c3712e
>
> Diff: https://git.reviewboard.kde.org/r/126870/diff/
>
>
> Testing
> -------
>
> Workaround is quite simple:
> Animation is refreshed as is, pointer hasn't same lifetime as panel
> + Animation is disabled if compositing is not active
>
>
> Thanks,
>
> Anthony Fieroni
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160129/8956e674/attachment.html>
More information about the Plasma-devel
mailing list