Bug 445782 - Plasma systray should set PlasmaCore.Types.CanFillArea constraint hint
Summary: Plasma systray should set PlasmaCore.Types.CanFillArea constraint hint
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.23.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 23:58 UTC by MScattolin
Modified: 2021-12-01 18:23 UTC (History)
2 users (show)

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


Attachments
recording demonstrating what happens and how it fits whitin the the "thickness" setting from latte (2.27 MB, video/x-matroska)
2021-11-19 23:58 UTC, MScattolin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MScattolin 2021-11-19 23:58:38 UTC
Created attachment 143752 [details]
recording demonstrating what happens and how it fits whitin the the "thickness" setting from latte

SUMMARY
I've attached a gif demonstrating exactly what happens. This does not happen on horizontal panels.
The tray subitem seems to ignore completely the 'thickness' setting within latte when drawing the popup.

ADDITIONAL INFORMATION
I'm on wayland, but that happens on X11 too.
Other than that, thank you for your work :)
Comment 1 Michail Vourlakos 2021-11-20 06:10:52 UTC
This is systray fault...
Since Plasma 5.21 it is applets responsibility to request the entire thickness of then panel.
If you try plasma panel and plasma systray you will get the exact same results.

If Plasma systray wants the entire thickness should set:
Plasmoid.constraintHints: PlasmaCore.Types.CanFillArea

for this and many other tweaks such as icon spacing, icon backgrounds etc...
I have implemented and you can use: https://github.com/psifidotos/plasma-systray-latte-tweaks
it provides you an option to set: Fill all panel thickness with no margins.
Comment 2 Bug Janitor Service 2021-12-01 04:21:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1238
Comment 3 Nate Graham 2021-12-01 18:23:23 UTC
Discussion in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1238 indicates that PlasmaCore.Types.CanFillArea is inappropriate for the System Tray because we *do* want it to follow panel margins.