Bug 419569

Summary: Width/Length margins not working when panel size is large
Product: [Unmaintained] lattedock Reporter: Jonathan Chun <unmonitored>
Component: containmentAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jonathan Chun 2020-04-03 04:18:00 UTC
SUMMARY
https://youtu.be/8sEE2p9yCxw?t=82
See this feature video at 1:22. The "Width" margins are set fairly high at 13%, but if you look at the side panel, the widgets are expanding to fill the entire width of the panel. When the panel is small enough so that only icons display, this does not happen.

STEPS TO REPRODUCE
1. Create a panel
2. Size panel to something large. >250px or so so that widgets display rather than just the icon
3. Add a widget to the panel

OBSERVED RESULT
- Widget fully expands width with 0 margins

EXPECTED RESULT
- Widget should have margins and be kept inside the panel based on the setting.

SOFTWARE/OS VERSIONS
Linux: KDE neon 5.18
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Latte Dock was built from source: https://github.com/KDE/latte-dock
master branch on commit 688a45289a63d57f74237efa75d3b7d3d014688d.

Haven't had a chance to test if this applies to older versions.
Comment 1 Michail Vourlakos 2020-04-03 04:51:35 UTC
Yep these are called thickness margins, plasma applets are responsible to provide them properly. All applets are taking up the entire thickness otherwise many things break with pkasma applets