Bug 422209 - The Blur effect in Latte Dock has a bug with the hide/unhide animation.
Summary: The Blur effect in Latte Dock has a bug with the hide/unhide animation.
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: git (master)
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 07:12 UTC by purdeyusuftahir
Modified: 2020-05-29 13:52 UTC (History)
0 users

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


Attachments
Demonstration of the bug. (48.29 KB, video/mp4)
2020-05-29 07:12 UTC, purdeyusuftahir
Details
Exported layout files (10.99 KB, text/plain)
2020-05-29 13:19 UTC, purdeyusuftahir
Details

Note You need to log in before you can comment on or make changes to this bug.
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.