Bug 441924

Summary: Latte icons move back and forth when launching a new app
Product: [Plasma] lattedock Reporter: David <david.cortes.rivera>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 0.10.1   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: latte_vibrating
latte_config

Description David 2021-09-02 21:11:38 UTC
Created attachment 141258 [details]
latte_vibrating

SUMMARY
Whenever a new app is launched and this app adds a new icon into the latte dock, or whenever an app is closed and closing it removes the icon from the dock, the rest of the icons will move to the left and right many times in a short period, looking as if they are vibrating.

(Attached is a GIF but due to the low framerate the problem is not very visible there)

STEPS TO REPRODUCE
1. Set a latte dock.
2. Launch a windowed app which is not currently running and not pinned, or close some non-pinned app.

OBSERVED RESULT
All icons move left and right several times.

EXPECTED RESULT
Icons should not move if they are not being resized.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2021-09-03 04:34:27 UTC
I suppose this is from tasks scrolling option, no idea if this is fixable
Comment 2 Michail Vourlakos 2021-09-03 04:34:33 UTC
I suppose this is from tasks scrolling option, no idea if this is fixable
Comment 3 David 2021-09-03 04:48:02 UTC
Created attachment 141263 [details]
latte_config

But I have that functionality disabled.
Comment 4 Michail Vourlakos 2021-09-03 05:04:31 UTC
no idea then
Comment 5 Michail Vourlakos 2021-09-05 06:06:23 UTC
I am almost sure this is upstream but I dont have proof. My guess is that plasma libtaskmanager that is not Latte responsibility when a new window is added or something it is adding initially at the 0 position and subsequently moves it at its proper placement. This behavior has been observed in other cases also.
Comment 6 David 2021-09-05 17:15:56 UTC
(In reply to Michail Vourlakos from comment #5)
> I am almost sure this is upstream but I dont have proof. My guess is that
> plasma libtaskmanager that is not Latte responsibility when a new window is
> added or something it is adding initially at the 0 position and subsequently
> moves it at its proper placement. This behavior has been observed in other
> cases also.

Not so sure about that. If I dowgrade latte to 0.9.11 while keeping libtaskmanager at the same version (5.21.5), I do not experience this issue anymore.
Comment 7 Michail Vourlakos 2021-09-05 17:29:19 UTC
Still no idea then, I am considering it pretty minor. Maybe someone else in the future will find something more.