Bug 439749 - latte changes desktop available geometry
Summary: latte changes desktop available geometry
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-11 08:07 UTC by Tim
Modified: 2021-07-19 19:35 UTC (History)
0 users

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


Attachments
Before Relog (2.43 MB, image/png)
2021-07-11 08:07 UTC, Tim
Details
After relog (2.44 MB, image/png)
2021-07-11 08:12 UTC, Tim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim 2021-07-11 08:07:21 UTC
Created attachment 139989 [details]
Before Relog

SUMMARY
Latte moves the desktop on launch, when using borderless maximised windows.
This breaks connected desktop icons on login

STEPS TO REPRODUCE
1. Set latte to borderless maximised windows and have a dock at the top of the screen
2. Add a widget, that touches latte and add another widget into latte's push direction behind the first widget
3. relog

OBSERVED RESULT
Latte moved the widgets on login, but not connected to each other, but it created big gaps between them 

EXPECTED RESULT
It shouldn't move the widget grid at all or 

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.15-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 2600X Six-Core Processor
Memory: 31.4 GiB of RAM
Graphics Processor: Radeon RX 560 Series

ADDITIONAL INFORMATION
Comment 1 Tim 2021-07-11 08:12:41 UTC
Created attachment 139990 [details]
After relog

The widgets got moved down quite some distance and one even left the screen. Just restarting latte moves the widgets up and down properly.
Comment 2 Michail Vourlakos 2021-07-11 08:23:02 UTC
1. Borderless feature is just a workaround feature even for KWin implementation. When KWin provides this properly, Latte will update its implemetation
2. Changing Desktop geometry is a feature, the idea is that widgets should not overlap with panels and docks. That Plasma Desktop feature is also half implemented with many issues

Just hope for 1,2 to be implemented properly upstream and then Latte afterwards to provide something more robust.
Comment 3 Tim 2021-07-11 08:50:51 UTC
(In reply to Michail Vourlakos from comment #2)
> 1. Borderless feature is just a workaround feature even for KWin
> implementation. When KWin provides this properly, Latte will update its
> implemetation
> 2. Changing Desktop geometry is a feature, the idea is that widgets should
> not overlap with panels and docks. That Plasma Desktop feature is also half
> implemented with many issues
> 
> Just hope for 1,2 to be implemented properly upstream and then Latte
> afterwards to provide something more robust.

I'd love to at least toggle 2. It's pretty annoying, and I'm not using any other widgets than the ones on the screenshot
Comment 4 Michail Vourlakos 2021-07-11 10:08:08 UTC
(In reply to Tim from comment #3)
> (In reply to Michail Vourlakos from comment #2)
> > 1. Borderless feature is just a workaround feature even for KWin
> > implementation. When KWin provides this properly, Latte will update its
> > implemetation
> > 2. Changing Desktop geometry is a feature, the idea is that widgets should
> > not overlap with panels and docks. That Plasma Desktop feature is also half
> > implemented with many issues
> > 
> > Just hope for 1,2 to be implemented properly upstream and then Latte
> > afterwards to provide something more robust.
> 
> I'd love to at least toggle 2. It's pretty annoying, and I'm not using any
> other widgets than the ones on the screenshot

there is no toggler
Comment 5 Michail Vourlakos 2021-07-11 10:14:35 UTC
Btw I dont think Borderless has something to do with this, if you disable Borderless you will probably get the same behavior
Comment 6 Michail Vourlakos 2021-07-17 18:11:31 UTC
I added an option in Latte Global Preferences window that you can disable that behavior totally.
Comment 7 Tim 2021-07-19 19:35:11 UTC
(In reply to Michail Vourlakos from comment #6)
> I added an option in Latte Global Preferences window that you can disable
> that behavior totally.

Huge thanks! It's working perfectly.