Bug 440828 - Pinned icons inappropriately shrink when any are opened while there is not much space on the panel
Summary: Pinned icons inappropriately shrink when any are opened while there is not mu...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.22.4
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-10 10:24 UTC by Oleksii Zolotarevskyi
Modified: 2024-06-07 19:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.0
Sentry Crash Report:


Attachments
Panel layout where the problem occurs (41.24 KB, image/png)
2021-08-10 10:24 UTC, Oleksii Zolotarevskyi
Details
Panel with wrong behaviour of the Task Manager (3.90 MB, video/x-matroska)
2021-08-10 18:21 UTC, Oleksii Zolotarevskyi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii Zolotarevskyi 2021-08-10 10:24:44 UTC
Created attachment 140628 [details]
Panel layout where the problem occurs

SUMMARY
When opening pinned windows in Icons-only Task Manager, the icon sizes change.
This happens only with certain panel layouts, e.g.:
* Panel has a System Tray widget with lots of elements
* Task Manager and System Tray widgets are separated by panel spacers
(see attachment 1 [details])


STEPS TO REPRODUCE
1. Create a panel as on the screenshot in the attachment 1 [details]
3. Open and close pinned windows

OBSERVED RESULT
Icons sizes change size depending on how many windows are opened
(see attachment 2 [details])


EXPECTED RESULT
Icons sizes are fixed
(see attachment 3 [details])

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 34 KDE
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Oleksii Zolotarevskyi 2021-08-10 10:25:53 UTC
Add more info soon
Comment 2 Oleksii Zolotarevskyi 2021-08-10 18:21:31 UTC
Created attachment 140641 [details]
Panel with wrong behaviour of the Task Manager

Add video with the illustration of a problem.
Screen resolution is 1366x768
Comment 3 Oleksii Zolotarevskyi 2021-08-10 18:35:37 UTC
SUMMARY
When opening pinned windows in Icons-only Task Manager, the sizes of the icons change.
This happens only with certain panel layouts.


STEPS TO REPRODUCE
1. Create a panel with following widgets (from left to right):
  * Application Launcher
  * Task Manager with three pinned windows
  * Panel Spacer
  * Pager
  * Panel Spacer
  * Lots of widgets (System Tray, Memory Usage, Digital Clock etc.)
3. Open and close pinned windows in the Task Manager

OBSERVED RESULT
Icons sizes change size depending on how many windows are opened
(see attachment 1 [details])

EXPECTED RESULT
Icons have fixed sizes

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.22 User Edition
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 4 Oleksii Zolotarevskyi 2021-08-10 18:36:23 UTC
Reproducible on the latest KDE neon User Edition
Comment 5 Nate Graham 2021-08-11 14:59:12 UTC
There's not much room in your panel. The Task Manager is reacting by shrinking elements as needed. In this case, the calculation seems to be getting it somewhat wrong. :)
Comment 6 Oleksii Zolotarevskyi 2021-08-11 15:28:02 UTC
(In reply to Nate Graham from comment #5)
> There's not much room in your panel. The Task Manager is reacting by
> shrinking elements as needed. In this case, the calculation seems to be
> getting it somewhat wrong. :)

You're right. Thanks for putting more concise title!
Comment 7 Nate Graham 2024-06-07 15:58:24 UTC
This appears to be fixed in Plasma 6.
Comment 8 Oleksii Zolotarevskyi 2024-06-07 19:31:42 UTC
(In reply to Nate Graham from comment #7)
> This appears to be fixed in Plasma 6.

Indeed looks like it, thanks!