Bug 422209

Summary: The Blur effect in Latte Dock has a bug with the hide/unhide animation.
Product: [Unmaintained] lattedock Reporter: purdeyusuftahir
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Demonstration of the bug.
Exported layout files

Description purdeyusuftahir 2020-05-29 07:12:35 UTC
Created attachment 128897 [details]
Demonstration of the bug.

SUMMARY
The Git version of Latte Dock has some bugs with the blur effect. Specifically with the hide/unhide animation.

STEPS TO REPRODUCE
1. Installed Latte Dock Git.
2. Enabled blur in KDE's settings.
3. Enabled blur in Latte Dock's settings.
4. Tried to hide or unhide dock.

OBSERVED RESULT
Latte gets somewhat buggy when hiding, leaving a small trace of blur behind.

EXPECTED RESULT
Latte Dock disappearing with no problem in it's blur.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE (Minimal, Stable branch)
KDE Plasma Version: 5.18.5-2
KDE Frameworks Version: 5.70.1-1
Qt Version: 5.14.2-2
Comment 1 Michail Vourlakos 2020-05-29 12:54:02 UTC
The video quality is not good enough. I tried in my system and dont notive any Blur trailing.

1. Send me your layout file please
2. Are you using latest daily git version or your version is old ?
3. Can you send a video link that its quality is much better and the issue is demonstrated in more detail in it? for example with a brighter background that contains a lot of details in order for the blur to be easily noticed.
Comment 2 purdeyusuftahir 2020-05-29 13:19:02 UTC
Created attachment 128907 [details]
Exported layout files

Layout is in the attachment.
Here is a link to the video, could not attach two files: https://imgur.com/a/nr0jZSx

I used the latte-dock-git package from the Arch User Repository. I'm not sure if it's up-to-date or not.
Comment 3 Michail Vourlakos 2020-05-29 13:46:52 UTC
Git commit 7672202b4cae936251ae5608873eb106685086ee by Michail Vourlakos.
Committed on 29/05/2020 at 13:45.
Pushed by mvourlakos into branch 'master'.

decrease Blur area update interval

--was changed to 60Hz from 20Hz and also
the first call is immediately draw and then
the timer in triggered in order to block all
other calls. Hopefully this will be enough
for smooth moving blurring areas.

M  +2    -1    containment/package/contents/ui/background/MultiLayered.qml

https://invent.kde.org/plasma/latte-dock/commit/7672202b4cae936251ae5608873eb106685086ee
Comment 4 Michail Vourlakos 2020-05-29 13:48:01 UTC
hopefully this will increase the Blur area responsiveness without having too much cpu impact. You can test it out when it reaches your distro in order to provide feedback.
Comment 5 purdeyusuftahir 2020-05-29 13:52:09 UTC
Thanks. But the latte-dock-git package hasn't been maintained for months. I'll just build from source.