The animation is surprisingly cpu heavy at times and really distracting.
BUG: 391634
davidedmundson |
Plasma |
The animation is surprisingly cpu heavy at times and really distracting.
BUG: 391634
No Linters Available |
No Unit Test Coverage |
Which is the main rationale? The fact that it's annoying or the CPU load?
Porting to OpacityAnimator instead of NumberAnimation will give a *significant* CPU reduction; there's also an important patch in Qt5.something that didn't clear the expired animations that quickly added up.
Initially a few years ago when I went kde5 I made this patch because of the cpu usage, which was stupid high (and it seems I'm not the only one that noticed). Some time later it occurred to me that it has the added benefit of my desktop not blinking at me when I want the timer to stop counting for an extended period of time.
Possibly the optimal solution here would be to rewrite the animation to use something less cpu heavy and add "don't blink on pause" as a config option. But such a patch would not be authored by me, especially the rewriting animation part.