The screen gap makes the panel float (separate) from screen border but it does not float from applications in the desktop environment. For visual consistency, I'd like to apply a (small) symmetric floating gap both with respect to the screen limit as well as to application windows.
this is not Latte responsibility, you can use KWin tiling scripts for that
(In reply to Michail Vourlakos from comment #1) > this is not Latte responsibility, you can use KWin tiling scripts for that Yes, right. I'm actually doing this with quarter tiling, but tiling scripts don't deal with margins of maximized windows (I guess it's not their responsibility either). Please see: https://github.com/Jazqa/kwin-quarter-tiling/issues/83 I know there is an option to remove the floating gap for maximized windows in latte but IMO floating panels look better for those who want to use them, and with only one client there is no much reason to save the gap space. My only issue is the dissonance in the behavior of maximized windows, hence I opened this issue to easily workaround the problem. But I understand your point.
Provide a mockup of what you are trying to achieve for maximized windows and please the mockup to show the entire desktop, in order to understand if that makes any sense.
(In reply to Michail Vourlakos from comment #3) > Provide a mockup of what you are trying to achieve for maximized windows and > please the mockup to show the entire desktop, in order to understand if that > makes any sense. I am about to add three attachments to see how: - two windows look like - one window looks like - one maximized window looks like I wish the gaps that are present in the first two screenshots to apply to the third. For this I would need to: - remove margins from tiling - and have symmetric gaps from latte, so gaps would apply above and below a panel [ Similarly for vertical panels this could be generalized to symmetric gaps are set at their right and left ] If you think it doesn't make sense it's fine, perhaps just a kwin script for maximized clients may do the job, but I never did any one before :/
Created attachment 127328 [details] Screenshot 2 windows
Created attachment 127329 [details] Screenshot 1 window
Created attachment 127330 [details] Screenshot 1 window (maximized)
Let me think about it, they look nice but I don't know the environment consequences
(In reply to Michail Vourlakos from comment #8) > Let me think about it, they look nice but I don't know the environment > consequences Sure, thank you. Perhaps, if it would simplify things, a kwin script setting margins could suffice.
Git commit 069455be4e0831b12fceed7c94bd86a98426ef97 by Michail Vourlakos. Committed on 07/01/2021 at 22:33. Pushed by mvourlakos into branch 'master'. provide struts based on screen gap --following new norms and styles the struts applying for Always Visible they now take into account the screen edge margin and apply the same margin also at their head thickness margin. If there is much negative user feedback this might be reverted. M +2 -2 containment/package/contents/ui/VisibilityManager.qml https://invent.kde.org/plasma/latte-dock/commit/069455be4e0831b12fceed7c94bd86a98426ef97