Bug 406964

Summary: Latte dock constantly resizing when nearly out of space
Product: [Unmaintained] lattedock Reporter: sdfjsfjaei-hans
Component: plasmoidAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: dock constantly resizing
task settings 1
task settings 2

Description sdfjsfjaei-hans 2019-04-27 11:38:51 UTC
Created attachment 119668 [details]
dock constantly resizing

I don't know what triggered this, but this happened (see video).

I really wish the dock would resize the icons when out of space, instead of itself.
Comment 1 Michail Vourlakos 2019-04-27 12:39:43 UTC
Have you reduced the maximum length?
Comment 2 Michail Vourlakos 2019-04-27 12:41:29 UTC
What is your Latte version?
Comment 3 sdfjsfjaei-hans 2019-04-28 09:54:16 UTC
Compiled from master a few weeks ago (don't know which revision)

Appearance > Length > Maximum is 100%
Comment 4 Michail Vourlakos 2019-04-28 11:33:03 UTC
Install latest master and enable Tasks, Enable scrolling when items exceed.

It should behave better for your layout
Comment 5 sdfjsfjaei-hans 2019-04-28 11:56:49 UTC
Thanks, I have now enabled scrolling! 

The only issue I have with it after some testing is that it overrides the scrolling behavior, since I use the "scroll on icon to switch windows" feature quite heavily. Besides that, it's great!

I'm not sure if I have tasks enabled. Where do I enable that?
Comment 6 Michail Vourlakos 2019-04-28 12:47:33 UTC
(In reply to sdfjsfjaei-hans from comment #5)
> Thanks, I have now enabled scrolling! 
> 
> The only issue I have with it after some testing is that it overrides the
> scrolling behavior, since I use the "scroll on icon to switch windows"
> feature quite heavily. Besides that, it's great!

Yep, I don't know yet how to handle the case, except if I find a way to distinguish vertical scrolling and horizontal scrolling

> 
> I'm not sure if I have tasks enabled. Where do I enable that?

What do you mean?
Comment 7 sdfjsfjaei-hans 2019-04-28 18:59:17 UTC
> What do you mean?

You said I should enable Tasks, but I can't find it in the settings. Maybe I'm blind.

Or do you mean the "Add launchers only in the task area" option?
Comment 8 Michail Vourlakos 2019-04-28 19:39:20 UTC
(In reply to sdfjsfjaei-hans from comment #7)
> > What do you mean?
> 
> You said I should enable Tasks, but I can't find it in the settings. Maybe
> I'm blind.
> 
> Or do you mean the "Add launchers only in the task area" option?

Can you show me a screenshot of your Tasks settings?
Comment 9 sdfjsfjaei-hans 2019-04-29 08:02:34 UTC
Created attachment 119706 [details]
task settings 1
Comment 10 sdfjsfjaei-hans 2019-04-29 08:02:51 UTC
Created attachment 119707 [details]
task settings 2
Comment 12 Michail Vourlakos 2019-04-29 08:13:20 UTC
(In reply to sdfjsfjaei-hans from comment #11)
> Sure. Here, they are:
> 
> https://bugs.kde.org/attachment.cgi?id=119706
> https://bugs.kde.org/attachment.cgi?id=119707

Concerning Tasks I meant to enable, Support scrolling when items overflow

but you have already enabled it
Comment 13 Michail Vourlakos 2019-05-01 20:54:42 UTC
fixed from scrolling behavior
Comment 14 sdfjsfjaei-hans 2019-05-03 09:50:26 UTC
Just updated.  Scroll bar behavior, when you have too many apps open, seems to be the same. (scrolling on an app icon moves the task bar, instead of switching windows)

What changed? :)
Comment 15 Michail Vourlakos 2019-05-03 09:59:23 UTC
(In reply to sdfjsfjaei-hans from comment #14)
> Just updated.  Scroll bar behavior, when you have too many apps open, seems
> to be the same. (scrolling on an app icon moves the task bar, instead of
> switching windows)
> 
> What changed? :)

When there are too many windows the Tasks overflow, in that case scroll wheel is used only to reposition the Tasks unfortunately currently this blocks the task activation from scroll wheel. 

In upcoming commit you will be able to choose the behavior from:


Auto, auto scrolling and scroll wheel does not influence scrolling
Single Axis, scrolling Tasks only with horizontal scrolling for horizontal dock, vertical scrolling only with vertical dock
Both Axes, current behavior with no auto scrolling
Comment 16 sdfjsfjaei-hans 2019-05-04 20:18:47 UTC
(In reply to Michail Vourlakos from comment #15)
> In upcoming commit you will be able to choose the behavior from:
> 
> 
> Auto, auto scrolling and scroll wheel does not influence scrolling
> Single Axis, scrolling Tasks only with horizontal scrolling for horizontal
> dock, vertical scrolling only with vertical dock
> Both Axes, current behavior with no auto scrolling

Nice! I'm really looking forward to that. =)
Comment 17 sdfjsfjaei-hans 2019-05-20 10:46:18 UTC
Has this landed in master yet? I looked through the GitHub log but couldn't find it.
Comment 18 Michail Vourlakos 2019-05-20 10:56:58 UTC
(In reply to sdfjsfjaei-hans from comment #17)
> Has this landed in master yet? I looked through the GitHub log but couldn't
> find it.

not yet
Comment 19 Michail Vourlakos 2019-05-20 10:58:03 UTC
open a new feature request in order to keep track when this will land...

you can add in the comment:

"Auto, auto scrolling and scroll wheel does not influence scrolling
Single Axis, scrolling Tasks only with horizontal scrolling for horizontal dock, vertical scrolling only with vertical dock
Both Axes, current behavior with no auto scrolling"
Comment 20 sdfjsfjaei-hans 2019-05-20 19:32:15 UTC
Good idea. https://bugs.kde.org/show_bug.cgi?id=407779