Bug 419569 - Width/Length margins not working when panel size is large
Summary: Width/Length margins not working when panel size is large
Status: RESOLVED INTENTIONAL
Alias: None
Product: lattedock
Classification: Plasma
Component: containment (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-03 04:18 UTC by Jonathan Chun
Modified: 2020-04-03 04:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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