SUMMARY Similar to https://bugs.kde.org/show_bug.cgi?id=445848 STEPS TO REPRODUCE 1. Restart plasmashell 2. Enter Edit Mode 3. Edit Task Manager and enable "Only group when Task Manager is full", then apply. 4. Edit Task Manager and disable "Only group when Task Manager is full", then apply. 5. Exit Edit Mode OBSERVED RESULT The height of textual list becomes 1px EXPECTED RESULT Normal height SOFTWARE/OS VERSIONS X11
I find out the real cause: groupDialog.visualParent.itemIndex is not updated if the index of a task is changed.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/716
Created attachment 143964 [details] Bug.mp4
Git commit 05efb051608d7f3467c1fb5e0510d7de13ca6dbc by Nate Graham, on behalf of Fushan Wen. Committed on 29/11/2021 at 20:00. Pushed by ngraham into branch 'master'. taskmanager: Replace count with groupFilter.count for groupListView Use groupFilter.count because sometimes groupFilter.count is updated in time but count is not, so no more 1px bug will occur again. M +2 -1 applets/taskmanager/package/contents/ui/GroupDialog.qml https://invent.kde.org/plasma/plasma-desktop/commit/05efb051608d7f3467c1fb5e0510d7de13ca6dbc