Bug 408552

Summary: Latte-Dock stutters when changing opacity
Product: [Unmaintained] lattedock Reporter: gregorystarr00
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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...