Hi I have Plasma 5.10.5 installed on Fedora 26. In the task manager settings, I selected the "By Desktop" option in sorting and "By Program Name" in the grouping setting. But if there is an application group on Desktop 2 open(in my case, multiple PDFs in Okular) and I open Firefox on desktop 1, Firefox appears after the application group on the task manager. Proper sorting takes place if I don't enable application grouping.
Just realized that this makes sense when opening the same application on different desktops. But the group can still be sorted if all the instances of the application group are on the same desktop.
Grouped app windows always appear on most left position in the Task Manager - maybe this is as feature not a bug? all other non-grouped app windows appear in proper places on the Panel
This is a bug indeed.
Patch under review: https://phabricator.kde.org/D11257
Git commit a9df1e20f527dadcc43bcbbad48a9de52f83d9dd by Eike Hein. Committed on 13/03/2018 at 11:58. Pushed by hein into branch 'Plasma/5.12'. Improve By Desktop sorting for task groups Summary: TaskGroupingProxyModel used to return QVariant() as the AbstractTasksModel::VirtualDesktop role for task groups, resulting in TasksModel to sort task groups indiscrimi- nately at the front of the list. In this patch, it instead returns the lowest virtual desktop found among the children. Reviewers: #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D11257 M +15 -4 libtaskmanager/taskgroupingproxymodel.cpp https://commits.kde.org/plasma-workspace/a9df1e20f527dadcc43bcbbad48a9de52f83d9dd