Bug 409215 - Analog clock widget uses smaller margins than starters
Summary: Analog clock widget uses smaller margins than starters
Status: RESOLVED NOT A BUG
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-26 15:55 UTC by PK
Modified: 2019-06-27 18:26 UTC (History)
0 users

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


Attachments
latte git april 16th (120.01 KB, image/jpeg)
2019-06-26 15:55 UTC, PK
Details
latte-dock june 26th (clock widget too big) (120.32 KB, image/jpeg)
2019-06-26 15:56 UTC, PK
Details
configuration as dock (125.25 KB, image/jpeg)
2019-06-26 16:25 UTC, PK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PK 2019-06-26 15:55:38 UTC
Created attachment 121166 [details]
latte git april 16th

SUMMARY
The plasma analog clock widget shows up bigger than the starter-icons now in the latte-dock. They use to be the same width.

STEPS TO REPRODUCE
1. build and execute latte-dock git(master) april 16 2019
2. build and execute latte-dock git(master) june 26 2019
3. compare

OBSERVED RESULT
The size of the clock widget got bigger. To my opinion this looks less prety.


EXPECTED RESULT


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

ADDITIONAL INFORMATION
Comment 1 PK 2019-06-26 15:56:45 UTC
Created attachment 121167 [details]
latte-dock june 26th (clock widget too big)
Comment 2 Michail Vourlakos 2019-06-26 16:10:25 UTC
Of course it does, it is a plasma applet and your configuration probably acts as panel... These are the analog clock plasma default padding. 

Only way is to activate the parabolic effect in order to make it show with margins that ovveride the plasma specified margins
Comment 3 PK 2019-06-26 16:17:05 UTC
but it used to be ok. Did you see both attached images?
Comment 4 Michail Vourlakos 2019-06-26 16:22:54 UTC
(In reply to PK from comment #3)
> but it used to be ok. Did you see both attached images?

The proper Latte behavior in the new one, this is considered upstream. 

Add a plasma panel and add the analog clock in it, you will get same results. Latte is not going to fix applets code, applets must fix their implementation
Comment 5 PK 2019-06-26 16:25:38 UTC
Created attachment 121170 [details]
configuration as dock

I believe that this latte lay-out is a "dock". see attached image
Comment 6 PK 2019-06-26 16:27:40 UTC
I'm sorry, I think you are write, it is a panel.
Comment 7 PK 2019-06-26 16:39:55 UTC
I see your point. I added a touch of zoom and it is exactly as I like it again. Thank you for your answer.
Comment 8 Michail Vourlakos 2019-06-26 18:57:46 UTC
(In reply to PK from comment #7)
> I see your point. I added a touch of zoom and it is exactly as I like it
> again. Thank you for your answer.

on the other hand, I could fork it and provide a Latte version that would always respect the user latte specified item size. It could help me to test out the new Latte communication with applets
Comment 9 PK 2019-06-27 06:19:56 UTC
Forgive me if I say something stupid but you could perhaps introduce a value:
ZoomEffectOn=true (or false)
And at the same time the possibility to specify:
ZoomLevel=0

That way one could enable the zoom-effect and set it to "0".
Could that save you the trouble of forking latte-dock?
Comment 10 Michail Vourlakos 2019-06-27 06:48:19 UTC
(In reply to PK from comment #9)
> Forgive me if I say something stupid but you could perhaps introduce a value:
> ZoomEffectOn=true (or false)
> And at the same time the possibility to specify:
> ZoomLevel=0
> 
> That way one could enable the zoom-effect and set it to "0".
> Could that save you the trouble of forking latte-dock?

I tested it yesterday it is just two lines in the analog clock. But if I fork analog clock I may also add some options for the user to specify thickness margins
Comment 11 Michail Vourlakos 2019-06-27 13:14:53 UTC
(In reply to PK from comment #9)
> Forgive me if I say something stupid but you could perhaps introduce a value:
> ZoomEffectOn=true (or false)
> And at the same time the possibility to specify:
> ZoomLevel=0
> 
> That way one could enable the zoom-effect and set it to "0".
> Could that save you the trouble of forking latte-dock?

so you can use now: https://store.kde.org/p/1311768/

a simple plasma applet you can even install it from Plasma Widget Explorer. As a bonus you get also a thickness padding option to adjust the clock size when in panel
Comment 12 PK 2019-06-27 18:26:51 UTC
the latte-analog-clock widget solves the problem in a 100% effective way. And very elegant too...