Bug 479102

Summary: Application Menu's icon is too small
Product: [Plasma] plasmashell Reporter: alexmateescu
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, kainz.a, m, nate, pieterkristensen
Priority: NOR Keywords: qt6
Version First Reported In: 5.91.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: the problem

Description alexmateescu 2023-12-27 22:42:28 UTC
Created attachment 164494 [details]
the problem

SUMMARY
***
Application Menu's icon is too small
***


STEPS TO REPRODUCE
1. Select Application Menu instead of the default launcher

OBSERVED RESULT
Application Menu's icon is too small

EXPECTED RESULT
Application menu's size is the same as other icons' in the panel.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.7.0
Kernel Version: 6.6.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × 12th Gen Intel® Core™ i5-12600K
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Manufacturer: ASUS

ADDITIONAL INFORMATION
Application Dashboard has the same problem. Application Launcher display the right icon size.
Comment 1 Nate Graham 2023-12-27 23:06:41 UTC
Can confirm; I saw this recently while testing Kicker. Hopefully not hard to fix.
Comment 2 PK 2023-12-28 07:33:15 UTC
Exactly the same happened to me a few days ago. I tried another icon for the kicker-menu to see if that was also small and when I didn't like that I went back to the previous one (not the one given by the distribution - neon unstable). 
Suddenly the kicker icon had the correct size again and it remained that way.
Comment 3 Bug Janitor Service 2023-12-28 15:10:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1950
Comment 4 Nate Graham 2024-01-04 21:22:47 UTC
Git commit 5a59c98eaea0178e82a3b0dd45e294edcd911ae2 by Nate Graham.
Committed on 04/01/2024 at 22:22.
Pushed by ngraham into branch 'master'.

applets/kicker: reset minimum width when it's not needed

Always setting it was causing the CompactRepresentation icon to be too
small. This commit brings the code here slightly more in line with what
Kickoff does for its CompactRepresentation, and represents a targeted
bugfix. More code unification is possible in the future.

M  +4    -4    applets/kicker/package/contents/ui/CompactRepresentation.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/5a59c98eaea0178e82a3b0dd45e294edcd911ae2