A recent bug affects how task manager's "Show in all activities" works. Instead of actually displaying the window in all activities, it only displays the task manager item. Clicking this item in a different activity switches the user to the activity where the window was originally located. To achieve the normal behavior, a user needs to manually tick all activities instead.
STEPS TO REPRODUCE
1. Open an app, e.g. KInfoCenter
2. Use task manager's context menu on the task item to "Show in all activities"
Only the task manager item is shown in all activities, and clicking it returns you back to the original activity.
Same behavior as in previous Plasma version or when selecting all activities by hand: the window is visible in all activities without switching.
Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Graphics Platform: X11
I have a note saying that this started in Plasma 5.22.
I have this issue in Kubuntu 21.10 and Plasma 5.23 (using backports). Using the system title bar context menu to set "All Activities" does work properly, and accurately displays the state of the window. (e.g. only one activity is still ticked after using the task manager context menu to set "All Activities")
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/721
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1278
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/750
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1803
Git commit 1d0e75bc5ceb8144b30386e549608b7d7b89190e by Fushan Wen.
Committed on 16/12/2021 at 09:59.
Pushed by fusionfuture into branch 'master'.
x11client: Replace activityList with m_activityList
KWin does not update activity status when setting `_KDE_NET_WM_ACTIVITIES`
to nullUuid outside of KWin, which causes "All Activities" not working
as expected for KWindowSystem.
`X11Client::activityList` is not kept in sync with
`AbstractClient::m_activityList`. Move `m_activityList` from private to
protected, and use it in `X11Client::readActivities`
M +2 -1 src/abstract_client.h
M +5 -5 src/x11client.cpp
M +0 -1 src/x11client.h