Bug 404280 - [feature] - option for panel size to not shrink with items when are auto-shrinked
Summary: [feature] - option for panel size to not shrink with items when are auto-shri...
Status: RESOLVED INTENTIONAL
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 08:08 UTC by sdfjsfjaei-hans
Modified: 2019-03-16 07:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Shows the bug in effect (left part is what it looks like after oppening many apps) (31.25 KB, image/png)
2019-02-13 08:08 UTC, sdfjsfjaei-hans
Details
Explanation for an option for resizing icons only (101.06 KB, image/png)
2019-02-13 19:16 UTC, sdfjsfjaei-hans
Details
overflow when too many icons and "Decrease size automatically when needed" disabled (30.56 KB, image/png)
2019-02-13 19:52 UTC, sdfjsfjaei-hans
Details
Latte dock resizing and pushing windows around (2.09 MB, video/webm)
2019-03-08 14:13 UTC, sdfjsfjaei-hans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdfjsfjaei-hans 2019-02-13 08:08:24 UTC
Created attachment 118031 [details]
Shows the bug in effect (left part is what it looks like after oppening many apps)

The whole panel gets smaller (instead of just the icons) when the "Decrease size automatically when needed" is active and there is indeed little space. (And thus my tray icons end up in a single column instead of two columns.)

My item size is 80px.


STEPS TO REPRODUCE
1. Enable "Decrease size automatically when needed"
2. Open enough applications for it to have an effect-

OBSERVED RESULT
As shown in the attachment (left side), the panel is smaller than it was before (the right side).

EXPECTED RESULT
For the panel to stay the same size, while only the app icons become smaller (while staying centered).


SOFTWARE/OS VERSIONS
Kubuntu 18.04 backports enabled and upgraded
Latte-dock: git master
Comment 1 Michail Vourlakos 2019-02-13 14:46:13 UTC
this is intentional... I would look ugly otherwise...
Comment 2 sdfjsfjaei-hans 2019-02-13 16:23:24 UTC
I don't know if it does anything differently, but I think it looked fine in KDE's icon-only taskmanager. The app icons just become a bit smaller to make some space for others. If this intentional could there be an option to keep it fixed?
Comment 3 sdfjsfjaei-hans 2019-02-13 16:24:32 UTC
Sorry, I think I accidentally closed the report. I have reopened it now
Comment 4 Michail Vourlakos 2019-02-13 16:33:51 UTC
> Sorry, I think I accidentally closed the report. I have reopened it now

no, I was the one closed it because this is intentional

>  If this intentional could there be an option to keep it fixed?

show me screenshots to understand in detail what you propose
Comment 5 sdfjsfjaei-hans 2019-02-13 19:16:28 UTC
Created attachment 118050 [details]
Explanation for an option for resizing icons only

What I mean is that instead of the panel changing size, only the app icons (firefox, kate, etc) would become smaller when there isn't enough space for all icons.
Comment 6 Michail Vourlakos 2019-02-13 19:43:40 UTC
Looks interesting but I am not sold, I don't think is that important
Comment 7 sdfjsfjaei-hans 2019-02-13 19:52:05 UTC
Created attachment 118051 [details]
overflow when too many icons and "Decrease size automatically when needed" disabled

Of course this is a matter of taste, but I'd argue that it is not very intuitive that the whole panel shrinks when there isn't enough space. I personally want my panel to stay the same size (which is why I disabled the "Decrease size automatically when needed" option), but that has the downside of icons overflowing into other parts of the panel as seen in the attachment.

Even if this isn't of interest to you at the moment, couldn't we leave the issue open for the case that someone else wants to work on this?
Comment 8 Michail Vourlakos 2019-02-13 20:12:36 UTC
We can leave it open for one two months and see how it goes
Comment 9 sdfjsfjaei-hans 2019-02-14 09:21:31 UTC
Thank you!

I have reopened it again. (Sorry for the first time. I didn't know you closed it.)
Comment 10 sdfjsfjaei-hans 2019-03-08 13:06:38 UTC
Weird I'm using the latest version in master (e4254ed8c78b5313fc5f81a486448d172e922ea0) but I can't find "Decrease size automatically when needed" anymore and it seems have been enabled.
Comment 11 Michail Vourlakos 2019-03-08 13:15:28 UTC
(In reply to sdfjsfjaei-hans from comment #10)
> Weird I'm using the latest version in master
> (e4254ed8c78b5313fc5f81a486448d172e922ea0) but I can't find "Decrease size
> automatically when needed" anymore and it seems have been enabled.

if has been removed and be enabled by default... only on specific cases is disabled by default...

what is your use case and why do you need to disable it?
Comment 12 sdfjsfjaei-hans 2019-03-08 14:13:05 UTC
Created attachment 118646 [details]
Latte dock resizing and pushing windows around
Comment 13 sdfjsfjaei-hans 2019-03-08 14:13:41 UTC
> if has been removed and be enabled by default... only on specific cases is disabled by default...
> 
> what is your use case and why do you need to disable it?

I really dislike my panel changing its size, and since I nearly always have a lot of apps running, that happens very often.. I also prefer my windows stay at the same position and keep their size, as can be seen in this video: https://bugs.kde.org/attachment.cgi?id=118646 (It also seems to lag slightly sometimes.)



What I prefer would be the default behavior from KDE's Icon-only Taskmanager: 

Panel always stay the same size. If there's not enough space, only the launcher buttons (e.g. Dolphin) get smaller while staying horizontally centered, and thus the left / right margins get bigger.
Comment 14 Michail Vourlakos 2019-03-08 14:18:07 UTC
(In reply to sdfjsfjaei-hans from comment #13)
> 
> I really dislike my panel changing its size, and since I nearly always have
> a lot of apps running, that happens very often.. I also prefer my windows
> stay at the same position and keep their size, as can be seen in this video:
> https://bugs.kde.org/attachment.cgi?id=118646 (It also seems to lag slightly
> sometimes.)
> 
> 

but in that case it means that there are applications and windows that are not accessible to you because they get out of your screen, do I miss something here?

> 
> What I prefer would be the default behavior from KDE's Icon-only
> Taskmanager: 
> Panel always stay the same size. If there's not enough space, only the
> launcher buttons (e.g. Dolphin) get smaller while staying horizontally
> centered, and thus the left / right margins get bigger.

sorry I am not interested.
Comment 15 sdfjsfjaei-hans 2019-03-08 14:24:47 UTC
> but in that case it means that there are applications and windows that are not accessible to you because they get out of your screen, do I miss something here?

True, it's not optimal, but I dislike it even more than my panel changing it's size and this happening: https://bugsfiles.kde.org/attachment.cgi?id=118031 (the left part, right is the default state)


> sorry I am not interested.

Oh, no worries. I appreciate all the work you've already put into Latte. I've made my icons smaller, so hopefully that will trigger the resize less often.

Could you still re-add the "Decrease size automatically when needed" option?
Comment 16 Michail Vourlakos 2019-03-08 14:36:07 UTC
(In reply to sdfjsfjaei-hans from comment #15)
> > but in that case it means that there are applications and windows that are not accessible to you because they get out of your screen, do I miss something here?
> 
> Could you still re-add the "Decrease size automatically when needed" option?

probably not because we decided with @trmdi that this will be done only if users provide a good argument for that. Showing always all apps available in very important for a dock or panel...

What you can do to workaround the case is the following, you can make Latte disable the option by doing the following:

1. install Latte spacer from https://store.kde.org/p/1287102/
2. add a Latte spacer in your layout after the Latte taskmanager or before your systray
3. configure the Latte spacer to "fill available spacer"

this is enough in order for "Decrease size automatically..." feature to be disabled...
Comment 17 Michail Vourlakos 2019-03-16 07:55:21 UTC
no interest in this...