Bug 361859 - kickoff doesn't keep user defined size
Summary: kickoff doesn't keep user defined size
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 5.5.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-16 15:40 UTC by Janet
Modified: 2018-10-20 10:47 UTC (History)
8 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janet 2016-04-16 15:40:43 UTC
I want to make the kickoff menu higher to see all categories without scrolling and "jumping" of the content so I patched /usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Header.qml as proposed in Bug 332512 to enable resizing. 

Now I can resize the menu so that all categories are shown and the menu stands still and doesn't move inside the categories view but that isn't permanent, it stays only for the current session, next session I have to resize the menu again.

Reproducible: Always

Steps to Reproduce:
1. enable the pin for kickoff 
2. pin kickoff, resize it with Alt+right mouse button, de-pin it
3. new height is kept (for session)
4. logout and back in
5. kickoff has old default height :(


Expected Results:  
Menu should keep user defined size until user changes size
Comment 1 Kai Uwe Broulik 2016-04-21 20:03:20 UTC
Since we don't support resizing, we also don't remember a custom size set by some hack, sorry.

If you're playing around with QML files anyway, you could also adjust the size of the dialog there.
Comment 2 pbhj 2016-08-01 14:37:42 UTC
Wow, is that for real - KDE the DE known as the most configurable no longer supports resizing major UI elements for usability?? That can't be the projects official decision surely, that this is notabug?
Comment 3 Niels 2016-09-13 08:24:05 UTC
I'm also annoyed by this.
The point of the favorites tab is, as I see it, easy access to commonly used programs. But having to scroll takes some of that away.
I don't see the "custom size set by some hack". Meta+right_mouse resizes windows, that's a core function.
Another way of putting it is: Why _wouldn't_ we want to save the size?
Comment 4 Tristan Miller 2017-02-20 10:19:42 UTC
In previous versions of KDE, the application launcher was resizeable, and the size was preserved across sessions.  I'm baffled as to why this functionality was removed which, according to Comment #1, seems to have been a deliberate design decision.  Was there some rationale behind this?  If not, could this bug please be re-opened as an enhancement request?  The ability to resize the launcher provides a great boost to usability -- launchers which are too large can shortened to reduce the reduce the screen footprint, and launchers which are too small can be lengthened to eliminate the need to scroll through favourites.
Comment 5 Petr Nehez 2017-07-18 07:43:58 UTC
This is so annoying, I vote to re-open this issue as an enhancement too.
The only fix for me to change the minimum dimensions as described at https://ubuntuforums.org/showthread.php?t=2321781.
Comment 6 Aleksey Kontsevich 2017-12-19 23:05:25 UTC
KDE 5 become much worse than KDE 4. What were you developing for so much years?! For whom?! People or for MS to make Linux less popular?! Reopen this bug!
Comment 7 Petr Nehez 2017-12-20 07:47:56 UTC
For those who want to set a minimum height, open /usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/FullRepresentation.qml and update it.
For me to set "Layout.minimumHeight: units.gridUnit * 42" is enough.

But again - it would be really helpful if KDE would remember the size across sessions.
Comment 8 Aleksey Kontsevich 2017-12-20 17:05:48 UTC
(In reply to Petr Nehez from comment #7)
> For those who want to set a minimum height, open
> /usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/
> FullRepresentation.qml and update it.
> For me to set "Layout.minimumHeight: units.gridUnit * 42" is enough.
Has no effect to me in KDE 5.11 (17.12)
Comment 9 Petr Nehez 2017-12-22 11:49:26 UTC
>> For me to set "Layout.minimumHeight: units.gridUnit * 42" is enough.
> Has no effect to me in KDE 5.11 (17.12)

I think it depends also on your screen resolution, mine is 1920x1080.
Comment 10 Aleksey Kontsevich 2017-12-22 21:24:33 UTC
(In reply to Petr Nehez from comment #9)
> I think it depends also on your screen resolution, mine is 1920x1080.
Mine is same, I have 42" monitor (52 DPI).
Comment 11 Petr Nehez 2017-12-22 21:28:52 UTC
(In reply to Aleksey Kontsevich from comment #10)
> > I think it depends also on your screen resolution, mine is 1920x1080.
> Mine is same, I have 42" monitor (52 DPI).

Hmm, you have quite big monitor so I guess your gridUnit is lower than mine, but this is just my guess.
Try to put a real value for 'minimumHeight' - at least to see if it works (e.g. 900).
Comment 12 Aleksey Kontsevich 2017-12-22 21:41:37 UTC
(In reply to Petr Nehez from comment #11)
> Try to put a real value for 'minimumHeight' - at least to see if it works
> (e.g. 900).
No effect at all!
Comment 13 Petr Nehez 2017-12-22 21:43:49 UTC
(In reply to Aleksey Kontsevich from comment #12)
> No effect at all!

If you restarted Plasma with no effect then I am out of ideas...
I am not KDE expert, just an user.
Comment 14 Aleksey Kontsevich 2018-10-20 10:47:22 UTC
Ha, works fine for me for now:
>Layout.minimumWidth: units.gridUnit * 26
>Layout.minimumHeight: units.gridUnit * 34
Strange this settings could not be adjustable or save-able.
Comment 15 Aleksey Kontsevich 2018-10-20 10:47:55 UTC
Ha, works fine for me for now:
>Layout.minimumWidth: units.gridUnit * 28
>Layout.minimumHeight: units.gridUnit * 43
Strange this settings could not be adjustable or save-able.