Bug 411834

Summary: Latte panels - Margin length not being applied
Product: [Plasma] lattedock Reporter: Davide <sandona.davide>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.9.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: archive containing the latte config and a screenshot (top picture margin length = 0, bottom picture margin length = 100)

Description Davide 2019-09-11 21:36:44 UTC
Created attachment 122616 [details]
archive containing the latte config and a screenshot (top picture margin length = 0, bottom picture margin length = 100)

SUMMARY
Compiled Latte-Dock v0.9.2 from source, following the instructions written in installation.md. Had to add the dependency 'libkf5sysguard-dev', otherwise build fails. 

My configuration uses a latte panel on the top of the monitor. The widgets look pretty close to each other. I tried to set Appearance -> Margins -> Length up to 100%, but there is no influence on the panel (or better, there is a slight movement on the far right, but it's just a few pixel. Look at the screenshot in the attachment). 

STEPS TO REPRODUCE
1. Right click on the panel -> Dock Settings -> Appearance -> Margin -> Length
2. Move the slider on the entire range, widgets on the panel will not apply the margin.
3. 

OBSERVED RESULT


EXPECTED RESULT
The margin to be applied to the widgets.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 19.04
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2019-09-12 12:47:58 UTC
(In reply to Davide from comment #0)
> Created attachment 122616 [details]
> archive containing the latte config and a screenshot (top picture margin
> length = 0, bottom picture margin length = 100)
> 
> SUMMARY
> Compiled Latte-Dock v0.9.2 from source, following the instructions written
> in installation.md. Had to add the dependency 'libkf5sysguard-dev',
> otherwise build fails. 
> 

this file is community-distro updated and I do not take any part in updating it. Everyone can send a patch to update that file to work the best for its distro.

> My configuration uses a latte panel on the top of the monitor. The widgets
> look pretty close to each other. I tried to set Appearance -> Margins ->
> Length up to 100%, but there is no influence on the panel (or better, there
> is a slight movement on the far right, but it's just a few pixel. Look at
> the screenshot in the attachment). 
> 

you are right with 0.9.2 this is valid but it has already been fixed for upcoming 0.9.3. The v0.9 branch can be found at: https://phabricator.kde.org/source/latte-dock/browse/v0.9/

you can test it out if you want and report back your findings