Bug 421736 - A dock in Dodge Active mode doesn't always dodge small overlaps on the left side
Summary: A dock in Dodge Active mode doesn't always dodge small overlaps on the left side
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.9.11
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-18 17:26 UTC by AndyKluger
Modified: 2020-05-23 19:01 UTC (History)
0 users

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


Attachments
Screenshot showing dock above active window (541.39 KB, image/png)
2020-05-18 17:26 UTC, AndyKluger
Details
main latte config, though it's mostly klipper junk (3.35 KB, text/plain)
2020-05-18 17:31 UTC, AndyKluger
Details
redacted latte layout file (16.06 KB, text/plain)
2020-05-18 17:35 UTC, AndyKluger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AndyKluger 2020-05-18 17:26:21 UTC
Created attachment 128580 [details]
Screenshot showing dock above active window

SUMMARY

This is tricky for me to pin down and reliably reproduce, but happens often.

I have a centered dock at the bottom edge in dodge-active mode, which starts out small but can expand up to 80% of the screen width. I usually keep a narrow Telegram Desktop window at the left edge of the screen.

In the dock's smallest state, there is no overlap, it has a Virtual Desktop Bar plasmoid and the Task Manager plasmoid (not latte's), and widens when I open enough windows.

When wide enough, sometimes it will overlap the Telegram Desktop window, even when that window is active, though sometimes it will not. I don't know what constitutes the different conditions here.

STEPS TO REPRODUCE
1. Create dock (bottom; center; dodge active; items: relative-4.5%; zoom 0%; max length 80%; BG size 100%; BG opacity 60%)
2. Add Virtual Desktop Bar and Task Manager
3. Keep narrow (Telegram Desktop?) window at left
4. Open enough windows to widen the dock to overlap

Again, this does not always reproduce. I'm happy to receive any testing suggestions.

OBSERVED RESULT

The dock shows above the active window on the left.

EXPECTED RESULT

The dock hides if showing would overlap any active window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION

I'm attaching a screenshot of the behavior, and shortly I'll redact some latte configs and upload them.
Comment 1 AndyKluger 2020-05-18 17:31:59 UTC
Created attachment 128581 [details]
main latte config, though it's mostly klipper junk
Comment 2 Michail Vourlakos 2020-05-18 17:34:09 UTC
There is a chance that Latte has fixed this for git version.. All metrics have been updated vastly... You need to check it out with git version.
Comment 3 AndyKluger 2020-05-18 17:35:55 UTC
Created attachment 128582 [details]
redacted latte layout file
Comment 4 AndyKluger 2020-05-18 17:42:30 UTC
(In reply to Michail Vourlakos from comment #2)
> There is a chance that Latte has fixed this for git version.. All metrics
> have been updated vastly... You need to check it out with git version.

Alright, I'm running r4190.cb368c50 now, and will monitor behavior for a few days. Thanks.
Comment 5 AndyKluger 2020-05-18 17:47:48 UTC
I don't know if this will affect testing of this issue, but FYI in this version, the maximum length limit seems to be ignored by that dock.
Comment 6 Michail Vourlakos 2020-05-18 19:35:26 UTC
(In reply to andydecleyre from comment #5)
> I don't know if this will affect testing of this issue, but FYI in this
> version, the maximum length limit seems to be ignored by that dock.

no idea what you are talking about. Open a proper bug report for this. Maximum Length in never ignored.
Comment 7 AndyKluger 2020-05-23 19:01:34 UTC
So far, so good. I'll close. Thanks!