Bug 411190 - Latte captures mouse in parabolic "area" even if effect is not active
Summary: Latte captures mouse in parabolic "area" even if effect is not active
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: 0.9.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-22 20:45 UTC by André M
Modified: 2019-08-24 05:58 UTC (History)
1 user (show)

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


Attachments
Right-clicke where the mouse is, left click isn't passed also (36.41 KB, image/png)
2019-08-22 20:45 UTC, André M
Details
Bluish area which is outside the dock, don't dodge the window but grabs the clicks (167.42 KB, image/png)
2019-08-22 23:29 UTC, André M
Details
Video demo of the bug: can't click slider, background=100% in size (1.59 MB, video/ogg)
2019-08-22 23:29 UTC, André M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André M 2019-08-22 20:45:00 UTC
Created attachment 122297 [details]
Right-clicke where the mouse is, left click isn't passed also

SUMMARY

Latte e.g. in Dodge Active mode and with parabolic effect activated grabs clicks and mouse actions on the area "above" (i.e. the area that would be occupied by the enlarged  icons, even if there's nothing there yet because the dock is resting at the bottom).
This is more problematic in my usecase: I usually like to resize some windows (e.g. IM apps) to not cover the dock, so the dock is always shown on this desktop, but suddenly I can't interact with the bottom of the window, even if the dock doesn't seem to be there, but an "invisible" part of it is. Right clicking on this area even brings the Latte Dock menu, as shown in the attached screenshot.
This "invisible" area seems to coincide with the blue-background area shown when Latte settings dialog is open.

STEPS TO REPRODUCE
1. Almost standard layout, parabolic effect, 48-64px
2. Try to click the window below the area of the parabolic effect, even if the effect is not activated

OBSERVED RESULT
There's an "invisible" part of the dock on this area which doesn't allow to click/right click on the window below, even if in they aren't overlapping yet (would do only when parabolic effect is activated)

EXPECTED RESULT
If the effect is not activated, the dock area is contained in the area delimited by its background/icons, and windows which doesn't overlap with resting-delimited dock area receive the clicks, not the resting dock.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux testing current
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Comment 1 Michail Vourlakos 2019-08-22 23:12:27 UTC
Yes that is intentional and there is no other way to have always perfect centered plasma applets. If you set the panel background to 100% you will see exactly which area is used.

If you want to reduce that effect only thing you can do is to reduce your thickness margins to minimum from Appearance page
Comment 2 André M 2019-08-22 23:27:53 UTC
Uh, I think you may have misunderstood the issue. My panel IS set to 100%, and still ~26px OUT of the full background I can't click the window below. Attached is the screenshot with the settings open. This bluish outer background is the area I can't click on a window below, even if the parabolic effect isn't activated. Notice it's way LARGER than the dark, 100%-sized background, and make inaccessible a bigger area which SHOULD be clickable if I'm using dodge active window mode. I'm also attaching a video of it, in which I can't click the icon slider when it's close though not overlapping the Dock. Please, reopen if it's relevant.
Comment 3 André M 2019-08-22 23:29:07 UTC
Created attachment 122301 [details]
Bluish area which is outside the dock, don't dodge the window but grabs the clicks
Comment 4 André M 2019-08-22 23:29:39 UTC
Created attachment 122302 [details]
Video demo of the bug: can't click slider, background=100% in size
Comment 5 Michail Vourlakos 2019-08-23 00:04:29 UTC
1. If you restart Latte does this occur?
2. Please run Latte with, latte-dock -d --with-window and make a video demonstrating again when this occurs, the debug window will give some more info
3. Send also you layout in order to try to reproduce in my system and it would be good to know how you reproduce it
Comment 6 Michail Vourlakos 2019-08-23 00:04:33 UTC
1. If you restart Latte does this occur?
2. Please run Latte with, latte-dock -d --with-window and make a video demonstrating again when this occurs, the debug window will give some more info
3. Send also you layout in order to try to reproduce in my system and it would be good to know how you reproduce it
Comment 7 André M 2019-08-23 00:10:33 UTC
Hmm, problem is gone upon Latte restart. I'm running with the command you passed, will try to trigger the bug and report back the logs.
Comment 8 Michail Vourlakos 2019-08-23 00:12:36 UTC
(In reply to André Vitor de Lima Matos from comment #7)
> Hmm, problem is gone upon Latte restart. I'm running with the command you
> passed, will try to trigger the bug and report back the logs.

Logs won't help, only actions to reproduce and the debug window in a video when the problem occurs
Comment 9 André M 2019-08-24 05:58:19 UTC
Can't reproduce. Restart as workaround should be enough for something happening rarely. Thank you for the attention.