Bug 454488 - feature request: Appearance --> Margins --> "Window Edge"
Summary: feature request: Appearance --> Margins --> "Window Edge"
Status: RESOLVED NOT A BUG
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: 2022-05-27 16:16 UTC by dreamcat4
Modified: 2022-05-27 21:12 UTC (History)
0 users

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


Attachments
screenshot (713.66 KB, image/png)
2022-05-27 16:16 UTC, dreamcat4
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dreamcat4 2022-05-27 16:16:58 UTC
Created attachment 149265 [details]
screenshot

Hello, I wish for a gap between the dock and maximized window. To mirror (make even, symetrical) the existing 3rd Margin setting of "Screen Edge". So that the dock is both a gap from the edge of the screen and also the nearest a window can be butted against the dock.

This seems to be a missing feature? Or for some reason it deliberately was not implemented? OK so searching for answers on reddit the common workaround is to create a 2nd 'invisible panel', and use that as a large spacer that spans the whole length of the screen. And have it "spaced" to be on the other side of the actual dock.
So to manually make a no-mans land.

This does work, but only "kindda"? ...because the 2nd panel does not have any ability to inform the actual 'real' dock when a window is butted against it. So then we loose the other feature in latte, which is to make the background darker, when a window is touching it.
So if you decide this is worthwhile problem to solve properly: then we would need a new 4th option. Under Appearance --> Margins section. And have it after the existin option for "screen edge". Now you could make a seperate slider and call it "Window Edge" (as in the other side of the dock edge, that butts against any open windows).

Example screenshot attached.

You could also have a checkbox or ] anchor icon (like the aspect ratio icon in photoshop). Which would then link them together. To "Make symetrical" and track both margins together to be locked to the same value. Whatever value that is being set. To keep the dock looking aesthetically correct.

I think this is a worthwhile improvement, since the workaround of making an invisible panel is clunky, and not immediately obvious to everybody. And also because (as stated), we do want the dock to work properly. So that includes other existing features such as when it changes it's background depending whether a window is butted against it.

As things stand I can live with the workaround for the some being. However what I noticed was that my invisible panel has now dissapeared from the screen! Like... that is some other bug in that panel. And because it's invisible i lost it. And cannot edit it anymore. So will have to delete it from within the layouts editor and try again. (So this is yet another  additional reason why the workaround is not preferred method, but especially if it keeps on breaking in that way IDK if the next time it will stay up).

Many thanks for all your work on Latte Dock, and very much enjoying it. Likewise I hope you are enjoying development challenges, so I hope you see this more appropriate as a longer-term feature request. Something could be put off for later, or worked upon at any appropriate time that makes sense. There is no pressing need or urgency to solve it, unless conveniently something you also are motivated to tackle, all within your other priorities. Good day
Comment 1 Michail Vourlakos 2022-05-27 20:47:15 UTC
There is an option for this at: Behavior (advanced settings) -> Floating -> Mirror floating gap when it is shown
Comment 2 dreamcat4 2022-05-27 21:12:56 UTC
awesome! thanks so much for letting me know. works well, very pleased with it :)