Reproducde * configure activity pager to show 'Activity Name' * Use Activity Manager to rename an Activity => Bug1: Labels of Activity name in activity pager is not update => Bug2: if name sort order changes, some/all shown Activitieslabel don't match the activity in the pager, because the activities are sorted, but the shown all shown Names are not updated E.g. Activities: Default & KDE rename Default to Work: In the activity pager: Default is still shown on the pager and when you klick on KDE, the work activity is shown (and vice versa). Expected: Activity name is updated in the pager when an activity changes and if activity order changes in the pager, the name are reordered accordingly.
Confirmed. I don't see a signal about activityNamesChanged in KActivities Consumer, though, so this would require some additional plumbing.
CC'ing Ivan to make him aware of the API need.
Ah, I see :-( No 'NameChanged' signal. But there must be at least and 'activityOrderChanged' signal (see Bug2), because the activity pager reorders activities for the case actname1 < actname2 changes to act1name1 > act2name. In this case one has reorder the Names in the same way as the views in the pager.
Ivan, ping?
The signal is called KActivities::Info::nameChanged
Patches under review: https://phabricator.kde.org/D8524 https://phabricator.kde.org/D8525
Git commit 08eec037ce079f5d2412576b7843a6f9ea29a8c9 by Eike Hein. Committed on 04/12/2017 at 17:24. Pushed by hein into branch 'master'. Refresh when the names of the running activities change. Summary: Depends on D8524. Reviewers: #plasma, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D8525 M +13 -5 applets/pager/plugin/pagermodel.cpp https://commits.kde.org/plasma-desktop/08eec037ce079f5d2412576b7843a6f9ea29a8c9