Summary: | Inconsistency with themes (large borders where shouldn't be) | ||
---|---|---|---|
Product: | [Unmaintained] lattedock | Reporter: | ryu.ketsueki |
Component: | application | Assignee: | Michail Vourlakos <mvourlakos> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
This is a screenshot showing Latte dock with Plasma Theme "ROUNDED"
Layout being used when the issue was discovered |
v0.9.11 is not maintained any more, you can try Latte git version with trmdi opensuse package. It should work ok. That is the one I'm using, precisely from trmdi's repo. send me also your layout file Created attachment 136447 [details]
Layout being used when the issue was discovered
fixed the calculations.... As a side not how this works: 1. By changing the theme roundness from Appearance you should notice smaller side paddings now, this is the fix 2. in order to reduce these gaps even more if you have big roundness set then you need to adjust the Appearance->Length margins and Indicators->Padding value in order to have a more appropriate visual result. [2] is needed because Latte tries to NEVER paint contents outside for the background roundness. If you want to see how much space each item occupies you can run Latte with: latte-dock --graphics BTW, in your bottom dock you have added two Latte Tasks plasmoids, I think you must delete the first one if you dont need it. The first latte plasmoid was necessary because I wanted the Launchpad between two launchers, like how the Finder launcher is the first on Mac's dock then Launchpad icon. |
Created attachment 136445 [details] This is a screenshot showing Latte dock with Plasma Theme "ROUNDED" SUMMARY This is something that doesn't happen with all themes but I noticed that it started to happen some time ago. Depending on the theme, the dock may receive large borders on the left and right sides as if there were a latte spacer at each end. It doesn't happen with all Plasma Themes, however. One of the themes I didn't notice it is with Breeze default, Breeze AlphaBlack, Oxygen, Air and others based on these, like YaruKdeDark. Themes that do get the large borders and I could notice, are ROUNDED, WhiteSur and possibly others. Those are the only ones I could test. It could be something with how Latte calculates the borders based on what the theme gives. Because themes like WhiteSur usually aim to replicate the Mac look and feel and Latte is the best dock out there, it could be seen as a bug. STEPS TO REPRODUCE 1. Just apply a Plasma Theme that may produce the effect. In my tests, themes with native round borders or thick borders may be effective. I haven't tested many themes OBSERVED RESULT Large borders at the left and right side of the dock as if there were latte spacers EXPECTED RESULT Borders at the same size as if were using other themes like default Breeze or Breeze AlphaBlack SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION