This is the Plasma 5 version of bug #251614 filed as per https://bugs.kde.org/show_bug.cgi?id=251614#c5. SUMMARY I am using Plasma 5.12.7 on Kubuntu Bionic LTS with latest updates as of date. STEPS TO REPRODUCE I go to System Settings > Desktop Behaviour > Activities and create a few activities. OBSERVED RESULT The activities are automatically sorted based on the name and there is no option to manually sort them. EXPECTED RESULT There should be an option to manually sort them and this should be reflected in `kactivities-cli --list-activities`. BENEFIT Those who have a mental order of their activities (like the OP of the earlier bug #251614) will be easier able to switch between activities.
@shariamana which UI do you use for switching?
Hello. I have the activity pager applet on my panel where I can wheel to move through activities in the defined order. I understand that the “Walk through activities” implementation accessible by Meta+Tab navigates in the most recently used order so any defined order would not be useful there but with the pager it is useful. I have also filed bug #405035 asking for “Switch to next/previous activity” actions/shortcuts. Thus the ability to specify the order is indeed useful.
I agree, having the option to manually sort activities would be nice. What I currently do is prefixing them with a number ("01 This", "02 That"), but that feels like somewhat of a dirty workaround.
I have a notional working concept of this feature. It's nowhere near ready, but I felt it was maybe time to jot it down. https://invent.kde.org/plasma/plasma-activities/-/merge_requests/64 https://invent.kde.org/plasma/kactivitymanagerd/-/merge_requests/91 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3185 The order is reflected in the applets and the KCM, but not the switcher. The order is able to be changed in the KCM currently using promote and demote buttons. I intend to leave the natural sorting as a default, when the position is changed the manual order will take precedence.
This feature is working and is ready for a round of reviews. Demo video of the feature: https://invent.kde.org/-/project/2802/uploads/5fc81bcc613d797d3941cab62849665f/sort_activities.mp4 Relevant and dependent merge requests https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3185 https://invent.kde.org/plasma/plasma-activities/-/merge_requests/64 https://invent.kde.org/plasma/kactivitymanagerd/-/merge_requests/91 https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5986