Bug 432122 - Latte dock overlaps snapped windows when screen edge setting is used in Always Visible mode
Summary: Latte dock overlaps snapped windows when screen edge setting is used in Alway...
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-25 21:19 UTC by Ali Tajelsir
Modified: 2021-01-26 01:23 UTC (History)
0 users

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


Attachments
Latte dock overlapping windows (1.59 MB, image/png)
2021-01-25 21:19 UTC, Ali Tajelsir
Details
Layout file (16.74 KB, text/plain)
2021-01-25 21:36 UTC, Ali Tajelsir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Tajelsir 2021-01-25 21:19:40 UTC
Created attachment 135181 [details]
Latte dock overlapping windows

SUMMARY
Latte dock overlaps windows when screen edge setting is used even if the dock is set to always visible.

STEPS TO REPRODUCE
1. Open the dock
2. Set screen edge to any value
3. Move a window (or do window tiling) under the dock

OBSERVED RESULT
Latte dock overlaps the window

EXPECTED RESULT
No window overlap should occur

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.10-arch1-1
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Downgrading to commit b9b41317 solves the problem
Comment 1 Michail Vourlakos 2021-01-25 21:23:46 UTC
send me please your latte layout file
Comment 2 Ali Tajelsir 2021-01-25 21:36:47 UTC
Created attachment 135182 [details]
Layout file

This is the layout file currently used.
Comment 3 Michail Vourlakos 2021-01-25 22:03:11 UTC
You need to disable: Behavior(advanced settings) -> Floating -> Hide floating gap for maximized windows
Comment 4 Ali Tajelsir 2021-01-25 22:10:39 UTC
(In reply to Michail Vourlakos from comment #3)
> You need to disable: Behavior(advanced settings) -> Floating -> Hide
> floating gap for maximized windows

Doing that indeed solve the problem, but then the gap remains when the windows are maximized. The previous behavior allowed the gap to be present unless there is a maximized window (during which the gap disappear).
Comment 5 Michail Vourlakos 2021-01-25 22:48:58 UTC
Git commit 66361652ef3edd97381c20d7368292dc60d3edfd by Michail Vourlakos.
Committed on 25/01/2021 at 22:46.
Pushed by mvourlakos into branch 'master'.

floating,support two different struts thickness

- Hide Thickness Screen Gap scenario provides two different struts thicknesses.
--- [1] The first struts thickness is when there is no maximized window and is such case
---     the view is behaving as in normal AlwaysVisible visibility mode. This is very useful
---     when users tile windows. [bug #432122]
--- [2] The second struts thickness is when there is a maximized window present and in such case
---     the view is hiding all of its screen edges. It is used mostly when the view is wanted
---     to act as a window titlebar.

M  +2    -2    containment/package/contents/config/main.xml
M  +11   -2    containment/package/contents/ui/VisibilityManager.qml
M  +1    -2    containment/package/contents/ui/main.qml
M  +5    -5    shell/package/contents/configuration/pages/BehaviorConfig.qml

https://invent.kde.org/plasma/latte-dock/commit/66361652ef3edd97381c20d7368292dc60d3edfd
Comment 6 Ali Tajelsir 2021-01-26 01:23:06 UTC
Working as expected now!.
Really your efforts are much appreciated.