Bug 410388 - Latest Latte broke widget sizing
Summary: Latest Latte broke widget sizing
Status: RESOLVED INTENTIONAL
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.9.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-30 10:35 UTC by Kailash
Modified: 2019-07-31 16:03 UTC (History)
0 users

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


Attachments
Expected result (1.10 MB, image/png)
2019-07-30 10:35 UTC, Kailash
Details
Observed result (1.11 MB, image/png)
2019-07-30 10:36 UTC, Kailash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kailash 2019-07-30 10:35:02 UTC
Created attachment 121830 [details]
Expected result

SUMMARY
I use the System Load Viewer widget on latte, the sizing used to be right until the latest version which oversized it

STEPS TO REPRODUCE
1. Add System Load Viewer widget to dock

OBSERVED RESULT
Screenshot included

EXPECTED RESULT
Screenshot included

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
Comment 1 Kailash 2019-07-30 10:36:59 UTC
Created attachment 121831 [details]
Observed result
Comment 2 Michail Vourlakos 2019-07-30 11:20:26 UTC
Totally intentional... Plasma Applets should provide their own padding if they want to look better, it is not in Latte responsibility any more. Applets now look exactly as how they look in plasma panels
Comment 3 Kailash 2019-07-31 15:15:04 UTC
(In reply to Michail Vourlakos from comment #2)
> Totally intentional... Plasma Applets should provide their own padding if
> they want to look better, it is not in Latte responsibility any more.
> Applets now look exactly as how they look in plasma panels

Ah, is there a way I could manually modify the size of the widget on the dock?
Comment 4 Michail Vourlakos 2019-07-31 15:41:50 UTC
(In reply to Kailash from comment #3)
> (In reply to Michail Vourlakos from comment #2)
> > Totally intentional... Plasma Applets should provide their own padding if
> > they want to look better, it is not in Latte responsibility any more.
> > Applets now look exactly as how they look in plasma panels
> 
> Ah, is there a way I could manually modify the size of the widget on the
> dock?

there is not
Comment 5 Michail Vourlakos 2019-07-31 15:42:12 UTC
(In reply to Kailash from comment #3)
> (In reply to Michail Vourlakos from comment #2)
> > Totally intentional... Plasma Applets should provide their own padding if
> > they want to look better, it is not in Latte responsibility any more.
> > Applets now look exactly as how they look in plasma panels
> 
> Ah, is there a way I could manually modify the size of the widget on the
> dock?

there is not
Comment 6 Kailash 2019-07-31 15:46:19 UTC
(In reply to Michail Vourlakos from comment #5)
> (In reply to Kailash from comment #3)
> > (In reply to Michail Vourlakos from comment #2)
> > > Totally intentional... Plasma Applets should provide their own padding if
> > > they want to look better, it is not in Latte responsibility any more.
> > > Applets now look exactly as how they look in plasma panels
> > 
> > Ah, is there a way I could manually modify the size of the widget on the
> > dock?
> 
> there is not

Can you show me how to revert to previous behavior? I can build latte from source. Sorry if I'm asking too much of you
Comment 7 Michail Vourlakos 2019-07-31 15:48:30 UTC
(In reply to Kailash from comment #6)
> (In reply to Michail Vourlakos from comment #5)
> > (In reply to Kailash from comment #3)
> > > (In reply to Michail Vourlakos from comment #2)
> > > > Totally intentional... Plasma Applets should provide their own padding if
> > > > they want to look better, it is not in Latte responsibility any more.
> > > > Applets now look exactly as how they look in plasma panels
> > > 
> > > Ah, is there a way I could manually modify the size of the widget on the
> > > dock?
> > 
> > there is not
> 
> Can you show me how to revert to previous behavior? I can build latte from
> source. Sorry if I'm asking too much of you

It can not be reverted. It is a foundation in the code for v0.9
Comment 8 Michail Vourlakos 2019-07-31 15:49:59 UTC
I think it is just easier to play with the in question applet and adjust its code to contain padding
Comment 9 Kailash 2019-07-31 16:03:31 UTC
(In reply to Michail Vourlakos from comment #8)
> I think it is just easier to play with the in question applet and adjust its
> code to contain padding

I understand, thanks for your time :)