SUMMARY When filtering only minimized windows, if there is no minimized window, the applet occupies the size of a icon, leaving a blank space (tested with both latte and plasma panel) STEPS TO REPRODUCE 1. Set to show only minimized windows 2. Leave no windows maximized OBSERVED RESULT The applet leaves a blank space on the panel. EXPECTED RESULT The adjacent applets should come close together, reducing the overall occupied space. SOFTWARE/OS VERSIONS Linux: Arch Linux KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/947
Git commit 82442fbe8843dc8e09bb8541bc5eb88948058753 by Nate Graham, on behalf of Victor Pavan. Committed on 18/05/2022 at 19:00. Pushed by ngraham into branch 'master'. applets/taskmanager: when empty, make width/height small but not zero This makes the panel account for the change in size so that its minimum width or height isn't too big. FIXED-IN: 5.25 M +10 -2 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/82442fbe8843dc8e09bb8541bc5eb88948058753
Can reproduce
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/989
Git commit fe5b6c88f5abd9294640fe83c792a4e09739faa5 by Fushan Wen. Committed on 20/07/2022 at 23:48. Pushed by fusionfuture into branch 'master'. Revert "applets/taskmanager: when empty, make width/height small but not zero" The commit does not really fix the orignal bug. This reverts commit 82442fbe8843dc8e09bb8541bc5eb88948058753. M +2 -10 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/fe5b6c88f5abd9294640fe83c792a4e09739faa5
Git commit 142ee9707de724e7a035e4c962b10e5ef6db6524 by Fushan Wen. Committed on 20/07/2022 at 23:59. Pushed by fusionfuture into branch 'master'. applets/taskmanager: set width/height to 0 when there is no task The panel code should allow zero size in `Layout.preferredWidth` and `Layout.preferredHeight`, so the task manager can shrink its size to zero. FIXED-IN: 5.26 M +33 -6 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/142ee9707de724e7a035e4c962b10e5ef6db6524