Bug 489698

Summary: Panel spacer causes inconsistent icon sizes in Icons-Only Task Manager
Product: [Plasma] plasmashell Reporter: yuzabotov
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: minor CC: jaydenrh2133, kdedev, nate, noahadvs, qydwhotmail
Priority: NOR Keywords: regression
Version First Reported In: 6.1.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=506573
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Difference between app menu icon and other icons

Description yuzabotov 2024-07-03 19:18:36 UTC
SUMMARY
After updating to plasma version 6.1.1, the icons in the taskbar look tiny.

STEPS TO REPRODUCE
1. Have a 2560x1440 display
2. Resize "Icons-Only Task Manager" to height of 40 pixels
3. Update to plasma 6.1.1

OBSERVED RESULT
The icons in the taskbar get significantly smaller
You can find a screenshot from another user who had this issue here:
https://www.reddit.com/r/kde/comments/1dtpkf8/after_updating_to_611_was_previously_on_some/
(for some reason, on my screen they are even smaller, almost half the size of the taskbar)

EXPECTED RESULT
Icons should have the same size as before, filling most of the space.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch linux
KDE Plasma Version: 6.1.1
KDE Frameworks Version:  6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Resizing the taskbar to have a height of 48, makes the icons fill up all the space, but it would be much nicer if there was an option to get the previous look. 
(height of 48 looks kinda wrong on this monitor).

I suspect there was a change to how scaling/margins are calculated, but couldn't find any relevant options.
Comment 1 TraceyC 2024-07-11 16:30:57 UTC
I can confirm the behavior. If I set "Icons-Only Task Manager" to a height of 40 pixels the icons look the same as in the screenshot on the reddit post (smaller)

Notably, they are smaller than the other icons in the taskbar - menu, peek at desktop, software center (Solus)
Comment 2 TraceyC 2024-07-11 16:31:44 UTC
Created attachment 171576 [details]
Difference between app menu icon and other icons
Comment 3 Noah Davis 2024-07-26 16:26:10 UTC
TracyC and I figured out that the cause is a spacer next to the task manager with "Set flexible size" checked (on by default). The spacer is probably taking up more space than it should or it's causing the task manager to give up more space than it should.
Comment 4 TraceyC 2024-07-26 16:40:08 UTC
*** Bug 489301 has been marked as a duplicate of this bug. ***
Comment 5 TraceyC 2024-08-05 19:54:25 UTC
I just re-tested on git master. I set it to fit content and back to fill width. I set it to the right and back on the bottom. No change. 
I noticed a detail I had missed before.

At 40px, when I remove the spacer, the KRunner app menu icon gets smaller and is the same size as the task manager icons. When I re-add the spacer, the KRunner icon gets bigger, not the task manager icons.