Created attachment 160986 [details] Task items not shrinking SUMMARY *** When the panel gets full, items in the classical task manager no longer shrink, causing the panel contents to overflow. *** STEPS TO REPRODUCE 1. Have the (icons + text) task manager in the panel 2. Open many windows OBSERVED RESULT Tasks shrink to accommodate more items EXPECTED RESULT Tasks stay the same size, causing panel items to go out of space SOFTWARE/OS VERSIONS Plasma git master Qt Version: 6.5.1
Can reproduce!
Do you know if this broke recently, or has it been broken since you started using Plasma 6?
I don't know. I think only recently but can't tell for sure.
*** Bug 472859 has been marked as a duplicate of this bug. ***
I cannot reproduce on master :-/
Are you using Qt 6.6? Maybe it's fixed there? If not, make sure you are testing with a traditional task manager on a horizontal panel, with many open windows.
(In reply to Nate Graham from comment #6) > Are you using Qt 6.6? Maybe it's fixed there? Qt 6.5.2 :-/ > > If not, make sure you are testing with a traditional task manager on a > horizontal panel, with many open windows. Yep, that's what I've done. I tested both with different applications, and multiple instance of the same application with grouping off. Also tried different panel sizes. No luck
I'm using Qt 6.5.2 as well and can reproduce it with these exact steps: 1. Right-click on desktop > Add Panel > Empty Panel. Change no settings. 2. Right-click on that empty Panel > Add Widgets 2. Add a Task Manager widget to it 3. Open enough windows that it fills up
I just noticed it's actually a problem on stable Plasma too.
Eek, raising priority, then.
Centering still works though, so I don't think that's the same bug after all.
If it's of any use, I get it on both Arch and Tuxedo OS (Ubuntu based), and while I don't have as many windows open to fill the panel all that often, it can't be longer than a month or so ago.
(What I mean is that a couple weeks ago it was not yet broken)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1726
For me the bug occurs with a top panel but not a bottom one. It doesn't change depending on whether or not I have spacers on the sides.
I'm no longer able to reproduce this issue with today's git master using the exact steps I mentioned in Comment 8, even with a top Panel as Natalie mentioned.
To clarify, I'm unable to reproduce it in Plasma 6. Are you able to reproduce it in Plasma 6, Natalie, or only Plasma 5?
Plasma 6. Okay, I was wrong, it's not the panel position that makes a difference but the arrangement of widgets on it. Still haven't yet figured out what it is; it's not the spacers. Try this panel layout: clock - system tray - flexible spacer - non-grouped text task manager - flexible spacer - desktop pager Can you reproduce it now?
When you say "non-grouped text task manager", do you mean: - Traditional Task Manager - Traditional Task Manager with grouping manually disabled - Icons-Only Task Manager with grouping manually disabled Because all three are "non-grouped", for certain definitions of the term. :)
I mean Traditional Task Manager with grouping manually disabled. Just what's visible in the screenshot in the first post
Git commit 03c41ae57620ef539e7bfc19a9191fb93c5ddbd9 by Marco Martin. Committed on 21/09/2023 at 09:48. Pushed by mart into branch 'master'. applets/taskmanager: Use a Grid instead of a Flow It's not possible to ensure that a flow won't attempt to put an item on a new line. This causes more relayouts and the effect of a newly open task flying over from a phantom new line. Related: bug 396616 FIXED-IN: 6.0 M +3 -3 applets/taskmanager/package/contents/ui/TaskList.qml M +2 -2 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/03c41ae57620ef539e7bfc19a9191fb93c5ddbd9
(In reply to Natalie Clarius from comment #20) > I mean Traditional Task Manager with grouping manually disabled. Just what's > visible in the screenshot in the first post I thought so, but I wanted to be sure. In fact I just tested the exact thing you suggested in order to reproduce Bug 472859. And I was able to reproduce the issue described there, but not the one here.
And neither on stable nor on master?
It was on master; haven't tested stable yet. Who has time for that junky old Plasma 5 thing? :D
Someone who isn't quite brave enough to daily-drive the future ™ yet :) I'll do some more testing to see if I can find out under what conditions exactly I can get this bug.
Created attachment 161789 [details] Look at the top panel I gave it a try in Plasma 5.27.8 on X11 with the exact set of widgets you specified, on an empty top panel. I unchecked the two grouping-related checkboxes in the Task Manager settings; other than that, everything is vanilla with default settings. I cannot reproduce the issue and am attaching a screenshot showing my panel with tons of windows, and they're shrinking as expected rather than overflowing.
At this point I'd recommend trying again yourself with a new fresh top panel, after moving your current panel down to the bottom of the screen. If you can't reproduce it anymore with the new panel, that means there's something particular to your old panel that's triggering the issue, and that should hopefully make it easier to narrow down the exact combination of settings that's doing it.
Ah, I think it's enabling the "fill free space on panel" option where it goes wrong.
Oh, that! Yes, that's a known issue. *** This bug has been marked as a duplicate of bug 467385 ***