Created attachment 114318 [details] Bug behaviour Kicker's submenus are too wide when I hover mouse over Recent Documents first and there is long filename in Recent Documents. When I hover mouse over categories first or let submenus disappear and then hover mouse over them, then submenus are reasonably small. Expecting that submenus will dynamically change their size. Looks like submenus somehow inherit width of Recent Documents. Steps to reproduce: 1. Open any file with long filename (over 50 characters in my case). 2. Open Application Menu and go to Recent Documents. There will be this filename. 3. Move mouse down to app categories. Submenus will be too wide. See attachment for this behaviour. OS: Fedora 28 Plasma: 5.13.3 Qt: 5.10.1
Albert, do you want to have a go? IIRC this is a side-effect of your change?
You said you didn't want the width to jump when changing menus, that's what i did. So that would be a "no bug"?
According to the user bug report, a wide menu now raises some floor that it never dips below again. I don't think that's what I requested :). Wasn't it supposed to expand if needed, but stick to the default size when it can?
No, that's not what I understand we agreed. I understood you wanted to minimize jumps in width while visiting the menu. If it did what you are suggesting now it would jump in width continuously when you switch between Recent Documents and Administration. So what it does is stick to the minimum size for the menus you've visited until now. If you don't like that and prefer the width to jump for every menu you visit that is fine, it is actually what i wanted but I thought it was clear it was not what you wanted.
Maybe we misunderstood each other somehow (or I misunderstood). Do you have time to write the alternate patch?
(In reply to Eike Hein from comment #5) > Maybe we misunderstood each other somehow (or I misunderstood). Do you have > time to write the alternate patch? I'll make some time during Akademy (next week)
Reviews welcome https://phabricator.kde.org/D14836
Git commit 5dd480208afc33e526ed25f0478fa424e518366e by Albert Astals Cid. Committed on 16/08/2018 at 13:24. Pushed by aacid into branch 'Plasma/5.13'. Kicker: Reset re-used menu width to default one Reviewers: hein Reviewed By: hein Subscribers: ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D14836 M +1 -0 applets/kicker/package/contents/ui/ItemListView.qml https://commits.kde.org/plasma-desktop/5dd480208afc33e526ed25f0478fa424e518366e