Created attachment 170614 [details] Task Manager on Plasma 6.1 SUMMARY Icons-and-Text Task Manager renders incorrectly in multi-row view when at least two rows are present. The buttons have incorrect sizes. When there is only one window, it displays in a single row, even though the settings specify it should always use multi-row mode. The icons have incorrect spacing. See the included screenshots of the applet with 1, 2, 3 and 4 windows on Plasma versions 6.0.5 and 6.1 for comparison. STEPS TO REPRODUCE 1. Add the Icons-and-Text Task Manager applet to the panel, set "Maximum rows" to 2 and "Use multi-row view" to "Always ...". The exact settings are in the screenshots 2. Observe applet when there are 1, 2, 3 and 4 windows open OBSERVED RESULT Buttons in the task manager render incorrectly as described in the SUMMARY EXPECTED RESULT Buttons should render the same way as in Plasma 6.0.5 SOFTWARE/OS VERSIONS Linux/KDE Plasma: NixOS Unstable KDE Plasma Version: 6.1.0 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 ADDITIONAL INFORMATION It works on those versions: Linux/KDE Plasma: NixOS Unstable KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1
Created attachment 170615 [details] Task Manager on Plasma 6.0.5
Created attachment 170616 [details] Task Manager Settings - Appearance
Created attachment 170617 [details] Task Manager Settings - Behavior
And when in multi-row view, the applets don't resize themselves to the size they would have and keep themselves occupying the size they would use if set in single row, which is noticeable as it leaves empty space at the right when panel width is set to adjust to content
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2322
Created attachment 170684 [details] Space around the icon MR 2322 fixes the size of window buttons but does not fix the additional space around the icons.
(In reply to Kacper Sowa from comment #6) > Created attachment 170684 [details] > Space around the icon > > MR 2322 fixes the size of window buttons but does not fix the additional > space around the icons. https://bugs.kde.org/show_bug.cgi?id=488733
Git commit a1710e8fe0998a737f32158208ab71b20550dc93 by Ismael Asensio. Committed on 24/06/2024 at 10:48. Pushed by iasensio into branch 'master'. applets/taskmanager: Fix grid layout for forced multiple rows/columns In the case of forced multiple rows/columns, to calculate the effective width and height of the TaskList we need to know the exact number of rows and columns, and also the average occupation of those (fractional if some rows are not full) FIXED-IN: 6.1.1 M +0 -3 applets/taskmanager/package/contents/ui/TaskList.qml M +10 -6 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/a1710e8fe0998a737f32158208ab71b20550dc93
Git commit 9b85bbab9227c6a988d4293e64f67be04067e2ea by Ismael Asensio. Committed on 24/06/2024 at 11:04. Pushed by iasensio into branch 'Plasma/6.1'. applets/taskmanager: Fix grid layout for forced multiple rows/columns In the case of forced multiple rows/columns, to calculate the effective width and height of the TaskList we need to know the exact number of rows and columns, and also the average occupation of those (fractional if some rows are not full) FIXED-IN: 6.1.1 (cherry picked from commit a1710e8fe0998a737f32158208ab71b20550dc93) M +0 -3 applets/taskmanager/package/contents/ui/TaskList.qml M +10 -6 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/9b85bbab9227c6a988d4293e64f67be04067e2ea