Created attachment 183701 [details] Application Menu adapts long width from previous searches SUMMARY Whenever 'Kicker' (Application Menu) changes its width in order to adapt to an application with a long title, or to expand its search to system settings and other, the "Applications" tab width changes on its own, and does not recover on future searches. STEPS TO REPRODUCE 1. Switch to the 'Kicker' (Application Menu) applet 2. Search for an application with a long name, or search for a singular word that triggers search expansion (harder to reproduce this way) OBSERVED RESULT The width of the "Application" tab changes, and it persists between different instances of using 'Kicker'. Logging-off and re-logging or switching to "Application Launcher" and then back to "Application Menu" restores the original length. EXPECTED RESULT The width of the "Application" tab remains untouched. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.4.3 KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION This bug report was harder to fill with information. As stated above, it's way harder to reproduce it with expanded search result, and it's possible to do so instead with an application with a long title (e.g. manually editing one's via the "Menu Editor")
This might fall into the 'wishlist' category rather than the 'bug' one, but it would be nice if all the different tabs (say, "Applications", "System Settings", "File Search" and so on) had one fixed width and, in case of the presence of a long title, hovering on the item would show its full name.
I'm able to reproduce on git-master To more easily try to reproduce, I renamed one of the menu entries (Accerciser) to be very long Enter "Fir" which only brings up Firefox and Discover in the Applications tab, noted the width Entered "Access" - which brings up Accerciser (with its custom long name) - the App Menu was wider Enter "Fir" again, observe the menu width remains wide
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3182
Git commit 7a5e73cc0509ec14868b1e85dcf1c064c0dc0923 by Christoph Wolk. Committed on 03/12/2025 at 21:16. Pushed by cwo into branch 'master'. applets/kicker: simplify column/delegate widths Kicker does lots of manual size calulations for delegates, listviews, and their widths. This is somewhat cumbersome and makes the workings harder to understand and change. Instead, we can switch this over to using layouts and have Qt do the work for us. We still percolate sizes upward to the listview, bounded by the maximum and minimum widths, but properly reset them now, so that if the column width will not persist in an increased state longer than necessary. FIXED-IN: 6.5.0 M +29 -35 applets/kicker/ItemListDelegate.qml M +1 -0 applets/kicker/ItemListDialog.qml M +25 -6 applets/kicker/ItemListView.qml M +1 -1 applets/kicker/MenuRepresentation.qml M +3 -2 applets/kicker/RunnerResultsList.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/7a5e73cc0509ec14868b1e85dcf1c064c0dc0923