Bug 509379 - [Icon-and-Text TaskManager] The min/max task width is not preserved for several rows
Summary: [Icon-and-Text TaskManager] The min/max task width is not preserved for sever...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 6.4.80
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-09-11 11:55 UTC by Ismael Asensio
Modified: 2025-09-18 13:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.5.0
Sentry Crash Report:


Attachments
expected/observed behavior (189.33 KB, image/png)
2025-09-11 11:55 UTC, Ismael Asensio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ismael Asensio 2025-09-11 11:55:37 UTC
Created attachment 184888 [details]
expected/observed behavior

SUMMARY

On the Icons-And-Text task manager, with an specific set-up (several rows, only if there's low space), as the number of tasks grow, the expected behavior is so their width compresses from the maximum width to their minimum width, and only when this is not enough, then start a second row.
 
On master, after the scrollable changes, this behavior got unintentionally broken. Now the maximum width seems to grow with the number of items, and the second row starts at a lower number of tasks.

STEPS TO REPRODUCE
1. Use Icon-And-Text Task manager on a horizontal panel
2. Configure the number of rows as "When there's little space in the panel"
3. Start adding/removing windows("tasks")

OBSERVED RESULT
The task's max. width grows with the number of tasks represented, and the jump to two rows happens with a lower number of tasks.

EXPECTED RESULT
- When there's enough space, the tasks remain at a consistent max.width
- When the space starts to get crowded, tasks width is reduced until they reach their min.width 
- When the number of tasks * min.width is not enough, the second row appears

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.1
Kernel Version: 6.14.0-29-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® UHD Graphics 620
Comment 1 Nate Graham 2025-09-18 13:32:37 UTC
This has been very likely fixed by https://invent.kde.org/plasma/plasma-desktop/-/commit/25b01c8037ce3414f1d6653de9566809c405de68; I'm marking this as resolved, but please do test with that commit (or the Plasma 6.5 beta) and re-open if you still experience it. Thanks!