Bug 449402 - Latte doesn't fill the panel width, causes system tray / clock / etc to move left
Summary: Latte doesn't fill the panel width, causes system tray / clock / etc to move ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: lattedock
Classification: Unmaintained
Component: plasmoid (other bugs)
Version First Reported In: 0.10.7
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-31 02:59 UTC by Mircea Kitsune
Modified: 2022-01-31 14:27 UTC (History)
1 user (show)

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


Attachments
Screenshot (49.91 KB, image/png)
2022-01-31 02:59 UTC, Mircea Kitsune
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Kitsune 2022-01-31 02:59:06 UTC
Created attachment 146092 [details]
Screenshot

SUMMARY
When placed on a panel, the Latte task manager will not fill the panel and take up its entire width, causing widgets to its right (system tray, clock, etc) to be positioned at its left rather than at the right side of the screen. The default Task Manager and Icon Only Task manager take this approach which seems to be the safe and correct technique.

STEPS TO REPRODUCE
In a standard Plasma setup you can just right-click the existing task manager and select Show Alternatives then replace it with Latte, or just place it on the bottom panel manually if that fails.

OBSERVED RESULT
The first thing you'll notice is how your system tray and clock move to the center of the panel then move around based on how many tasks you have open.

EXPECTED RESULT
It feels like Latte should behave like the builtin task managers in this regard, not changing the size of the entire plasmoid.

ADDITIONAL INFORMATION
It might be a good idea to have an option for this? One that allows you to pick where and how you want the icons to be positioned: Either dynamically scale the widget (current functionality), fixed width aligned to the left (default task manager behavior), to the right if anyone wants that, or center them in the middle of the screen (a cool feature to have)... it should however be consistent both when the plasmoid is on the desktop or the panel.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.2-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Comment 1 Michail Vourlakos 2022-01-31 05:01:19 UTC
This is intentional. You can add a spacer that feels length between latte tasks and your other applets.

A. For Latte just use Justify alignment that adds such spacers automagically
B. For plasma panels you can right click panel, Edit panel..., Add Spacer
Comment 2 Mircea Kitsune 2022-01-31 14:27:33 UTC
Thanks for clarifying: If this is intentional and not a bug it makes sense. I can confirm spacers work, I'll be using that approach in that case.