Bug 433661 - Enabling scrolling makes plasmoid "too short"
Summary: Enabling scrolling makes plasmoid "too short"
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: 0.10.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-26 15:41 UTC by Dennis Neuhaus
Modified: 2021-12-21 19:53 UTC (History)
1 user (show)

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


Attachments
Screenshot of Latte Dock (64.82 KB, image/png)
2021-02-26 15:41 UTC, Dennis Neuhaus
Details
Latte layout (16.22 KB, text/plain)
2021-12-16 09:47 UTC, Riccardo Robecchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Neuhaus 2021-02-26 15:41:59 UTC
Created attachment 136196 [details]
Screenshot of Latte Dock

SUMMARY
After enabling scrolling in the Latte Tasks plasmoid while having the dock in "justify" mode it's always a couple pixels too short and let's me scroll a couple pixels.

STEPS TO REPRODUCE
1. Create Dock
2. Set it to "justify" in "Edit Dock" > Behavior > Alignment
3. Drop the Latte Tasks plasmoid into the dock (It seems to not matter if it's centered, left/top or right/bottom

OBSERVED RESULT
Scrolling is possible while the dock is not "full".

EXPECTED RESULT
Scrolling should only be possible when there is not enough space for all icons.

SOFTWARE/OS VERSIONS
OS: Arch Linux rolling
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Latte Dock Version: r5035.7f9f418b-1

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2021-02-28 21:19:22 UTC
it is just fixed... please try again.
Comment 2 Dennis Neuhaus 2021-02-28 23:40:10 UTC
Bug seems to be resolved after updating and recreating the panel containing the tasks plasmoid.
Comment 3 Riccardo Robecchi 2021-12-15 16:05:14 UTC
Reopening this as I can see the same behaviour as of version 0.10.4, with the exception that the Tasks plasmoid is just a few pixel wide (less than a full icon horizontally), making Latte de facto not usable. Disabling scrolling fixes the issue.
Comment 4 Michail Vourlakos 2021-12-15 19:52:38 UTC
(In reply to Riccardo Robecchi from comment #3)
> Reopening this as I can see the same behaviour as of version 0.10.4, with
> the exception that the Tasks plasmoid is just a few pixel wide (less than a
> full icon horizontally), making Latte de facto not usable. Disabling
> scrolling fixes the issue.

send your layout file that triggers this please
Comment 5 Riccardo Robecchi 2021-12-16 09:47:07 UTC
Created attachment 144596 [details]
Latte layout

Here is the requested file.
Comment 6 Michail Vourlakos 2021-12-16 14:55:30 UTC
(In reply to Riccardo Robecchi from comment #5)
> Created attachment 144596 [details]
> Latte layout
> 
> Here is the requested file.

I can not reproduce.
Please try upcoming 0.10.5 and see if it is still valid for you.
If it is, I will need also exact steps to reproduce, your sent layout provides two bottom docks, I enabled scrolling but with none of them I observed any issue.
Comment 7 Michail Vourlakos 2021-12-18 09:49:30 UTC
waiting response
Comment 8 Riccardo Robecchi 2021-12-21 19:53:05 UTC
(In reply to Michail Vourlakos from comment #6)
> (In reply to Riccardo Robecchi from comment #5)
> > Created attachment 144596 [details]
> > Latte layout
> > 
> > Here is the requested file.
> 
> I can not reproduce.
> Please try upcoming 0.10.5 and see if it is still valid for you.
> If it is, I will need also exact steps to reproduce, your sent layout
> provides two bottom docks, I enabled scrolling but with none of them I
> observed any issue.

Version 10.6 does fix the issue, thank you!