Bug 418883 - Make animations independent of Plasma animations speed
Summary: Make animations independent of Plasma animations speed
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.9.9
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-15 15:44 UTC by gregorystarr00
Modified: 2020-03-24 10:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gregorystarr00 2020-03-15 15:44:09 UTC
SUMMARY
Animations, such as the bouncing when an app needs attention, are now incredibly fast.

STEPS TO REPRODUCE
1. Install the newest versions of all plasma apps
2. Set a somewhat fast animation speed
3. Profit

OBSERVED RESULT
The bouncing apps move incredibely fast

EXPECTED RESULT
Compositor animation settings shouldnt affect latte dock animations.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Video here:
https://drive.google.com/file/d/1MJ0DPAtZo5kHss2k0-R10H8zfZPmKGyi/view?usp=sharing
Also, I am using Kwin low-latency, but that shouldn't affect it, as I was using kwin low latency before the 5.18 and new latte dock update, and it didn't appear like this. I already checked, and kwin low-latency is the same version as KDE plasma.
Comment 1 Michail Vourlakos 2020-03-15 16:08:55 UTC
0.9.9 has adjusted to new Plasma animations make sure you havent set Plasma animations too fast... In general with 0.9.9 if Latte animations are fast then your plasma animations should also be fast...
Comment 2 Michail Vourlakos 2020-03-15 16:17:24 UTC
On the other hand, having independent animations speed might be a good idea... Even though it is a vast change in qml files...
I will leave it open in order to test it out, and of course this could be applied only in master version...

For v0.9.x nothing more can be done...
For v0.9.x the users must play with Plasma animations speed and Latte animations speed in order to find a workable animations speed...
Comment 3 gregorystarr00 2020-03-15 17:26:19 UTC
(In reply to Michail Vourlakos from comment #1)
> 0.9.9 has adjusted to new Plasma animations make sure you havent set Plasma
> animations too fast... In general with 0.9.9 if Latte animations are fast
> then your plasma animations should also be fast...

I set my plasma animations fast because for most UI things, faster animations look better. Unfortunately, for animations such as bouncing, the faster animation speed makes it look ridiculous. Non-transistional animations (such as the bouncing) should be independent from the animation speed set in plasma
Comment 4 Michail Vourlakos 2020-03-24 10:49:34 UTC
Git commit 1c88a97c5592f32fb154a13ca33b2bed52dc75b4 by Michail Vourlakos.
Committed on 24/03/2020 at 10:46.
Pushed by mvourlakos into branch 'master'.

app animations independent of plasma durations

--plasma durations can mess up the Latte animations
experience a lot. We now use our own set animations
durations which are independent of what the user
chose for plasma animations speed.

M  +1    -1    containment/package/contents/ui/PanelBox.qml
M  +2    -2    containment/package/contents/ui/VisibilityManager.qml
M  +4    -4    containment/package/contents/ui/applet/AppletItem.qml
M  +1    -1    containment/package/contents/ui/applet/ItemWrapper.qml
M  +6    -6    containment/package/contents/ui/editmode/ConfigOverlay.qml
M  +1    -1    containment/package/contents/ui/editmode/Visual.qml
M  +8    -5    containment/package/contents/ui/main.qml
M  +3    -3    indicators/default/package/ui/main.qml
M  +13   -0    liblatte2/quickwindowsystem.cpp
M  +8    -0    liblatte2/quickwindowsystem.h
M  +3    -3    plasmoid/package/contents/ui/indicators/styles/LatteIndicator.qml
M  +10   -7    plasmoid/package/contents/ui/main.qml
M  +5    -5    plasmoid/package/contents/ui/task/IconItem.qml
M  +7    -7    plasmoid/package/contents/ui/task/TaskItem.qml
M  +2    -2    plasmoid/package/contents/ui/task/animations/ClickedAnimation.qml
M  +1    -1    plasmoid/package/contents/ui/task/animations/LauncherAnimation.qml
M  +1    -1    plasmoid/package/contents/ui/task/animations/NewWindowAnimation.qml
M  +1    -1    plasmoid/package/contents/ui/task/animations/RealRemovalAnimation.qml
M  +1    -1    plasmoid/package/contents/ui/task/animations/RemoveWindowFromGroupAnimation.qml
M  +1    -1    plasmoid/package/contents/ui/task/animations/ShowWindowAnimation.qml
M  +2    -2    plasmoid/package/contents/ui/taskslayout/ScrollableList.qml

https://commits.kde.org/latte-dock/1c88a97c5592f32fb154a13ca33b2bed52dc75b4