Bug 431273

Summary: Autohidden dock no longer appears on mouse hover
Product: [Unmaintained] lattedock Reporter: Nicholas Serrano <2019nicholas>
Component: plasmoidAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Current Layout file

Description Nicholas Serrano 2021-01-07 18:59:16 UTC
SUMMARY
Since commit https://invent.kde.org/plasma/latte-dock/-/commit/ba94315ecbc5b5b7367109573ca6687506897963 anytime the dock hides, it is impossible to make the dock appear again with a mouse. This affects the “Dodge All Windows”, “Dodge Active”, and “Autohide” visibility modes.
Latest commit I’ve tested: https://invent.kde.org/plasma/latte-dock/-/commit/f8cce7acfad89df205cf2a884f9f02bebba10468

STEPS TO REPRODUCE
1. Change dock to one of the above mentioned affected Visibility modes.
2. Let dock hide, either by packing window above dock or waiting for autohide timeout.
3. Move mouse over dock area

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Dock should appear

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Bedrock Linux 0.7.19 Poki (Debian Testing Stratum)
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2021-01-07 19:16:44 UTC
In which screen edge?
Comment 2 Nicholas Serrano 2021-01-07 19:17:55 UTC
(In reply to Michail Vourlakos from comment #1)
> In which screen edge?

In my case the bottom edge.
Comment 3 Michail Vourlakos 2021-01-07 20:09:39 UTC
I can't reproduce, please provide your layout file.
Comment 4 Nicholas Serrano 2021-01-07 20:26:21 UTC
Created attachment 134647 [details]
Current Layout file

This is my current Latte layout.
Comment 5 Nicholas Serrano 2021-01-07 20:28:24 UTC
After some more research, I found that the behavior works as expected when "Activate Kwin edge after hiding" is enabled. I currently have it disabled while latte has it enabled by default in the other layouts.
Comment 6 Michail Vourlakos 2021-01-07 20:41:40 UTC
Thank you, I will check it out, your findings are pointing in a very specific direction in order to debug.
Comment 7 Michail Vourlakos 2021-01-07 21:20:15 UTC
Git commit bb9564e11f17589c8702db7f83f854337d2dec67 by Michail Vourlakos.
Committed on 07/01/2021 at 21:18.
Pushed by mvourlakos into branch 'master'.

fix input mask area length calculations

--effects area is not relevant when the dock is
hidden, in such case using localGeometry is a much
better approach and more accurate.

M  +10   -8    containment/package/contents/ui/VisibilityManager.qml

https://invent.kde.org/plasma/latte-dock/commit/bb9564e11f17589c8702db7f83f854337d2dec67
Comment 8 Nicholas Serrano 2021-01-07 21:32:14 UTC
Just tried out the newest commit. Looks like it’s resolved while "Activate Kwin edge after hiding" is disabled. Thanks!