Bug 410379

Summary: Widgets don't respect margin height
Product: [Unmaintained] lattedock Reporter: Fernando <ffvillaca07>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: 0.9.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Widget filling panel with only 28px in size

Description Fernando 2019-07-30 02:54:33 UTC
Created attachment 121827 [details]
Widget filling panel with only 28px in size

SUMMARY

Widgets are not respecting margin heights, and are filling total panel height. Only latte task manager respect panel size.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60
Qt Version: 5.13
Comment 1 Michail Vourlakos 2019-07-30 05:56:45 UTC
This is by design of v0.9 ..

What applet is the own you would like to not fill all the panel thickness?
Comment 2 Michail Vourlakos 2019-07-30 07:11:10 UTC
So either an applet needs support Latte through https://techbase.kde.org/LatteDock#Applets OR you need applets that give you options to adjust their size
Comment 3 Fernando 2019-07-30 15:12:34 UTC
(In reply to Michail Vourlakos from comment #1)
> This is by design of v0.9 ..
> 
> What applet is the own you would like to not fill all the panel thickness?

Applets should follow panel thickness, the problem is, margins should only increase panel thickness without changing widgets size. You control the size of applets by increasing "panel size" setting and add space between applets and panel border with "margin height" setting, that's what I meant.

I like that now we can control margins in latte-dock, but in 0.8 applets kept their size when we enabled margins.
Comment 4 Michail Vourlakos 2019-07-30 15:18:11 UTC
(In reply to Fernando from comment #3)
> (In reply to Michail Vourlakos from comment #1)
> > This is by design of v0.9 ..
> > 
> > What applet is the own you would like to not fill all the panel thickness?
> 
> Applets should follow panel thickness, the problem is, margins should only
> increase panel thickness without changing widgets size. You control the size
> of applets by increasing "panel size" setting and add space between applets
> and panel border with "margin height" setting, that's what I meant.
> 

nope. In an ideal world that would be the case, but Plasma is not using that design approach. Only way this is supported now is just like Plasma is doing it. If you want other margins for your applets then these applets must learn to play well with Latte OR to provide an option to set thickness margins. Plenty of reasons that this was changed in v0.9 and of course, try any widget you want with a plasma panel, you will get the exact same results!