Bug 408552 - Latte-Dock stutters when changing opacity
Summary: Latte-Dock stutters when changing opacity
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-10 21:03 UTC by gregorystarr00
Modified: 2019-06-11 15:09 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 2019-06-10 21:03:01 UTC
When Latte-Dock is set to have an opacity of zero and become solid when touching window it stutters when changing states.


STEPS TO REPRODUCE
1.  Set latte dock to have opacity to zero and to become solid on touching
2.  Minimize and then expand a window.

This is occuring with the Latest latte-dock git compiled version on Kubuntu 19.04
Comment 1 gregorystarr00 2019-06-10 21:05:11 UTC
https://drive.google.com/file/d/1vbqLIqesZZH_Kr8IwocjFqobhJyIMHlZ/view?usp=sharing

This video shows the bug
Comment 2 Michail Vourlakos 2019-06-10 21:20:33 UTC
No idea why this happens

in my system is not that obvious but I think it happens to me also
Comment 3 Michail Vourlakos 2019-06-11 15:07:32 UTC
Git commit 98587d11d496be2902a4e3b6f554ab00fff44b12 by Michail Vourlakos.
Committed on 11/06/2019 at 14:26.
Pushed by mvourlakos into branch 'master'.

make Latte panel background painting more important

--I reversed the logic meaning that the Latte panel
background painting in more important than the Plasma
original SVG painting. That way the animations between
panels painting become smoother with no glitches

M  +18   -7    containment/package/contents/ui/PanelBox.qml

https://commits.kde.org/latte-dock/98587d11d496be2902a4e3b6f554ab00fff44b12
Comment 4 Michail Vourlakos 2019-06-11 15:09:42 UTC
I think this is improved, please test again...

except that the plasma theme roundness heuristic must be updated in order to be improved for those plasma themes that do not provide (mask) elements at all...