Bug 447152

Summary: Inconsistent application pin/unpin to the Task Manager for a specific activity
Product: [Plasma] kwin Reporter: Viorel-Cătălin Răpițeanu <rapiteanu.catalin>
Component: activitiesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.23.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Viorel-Cătălin Răpițeanu 2021-12-17 23:40:56 UTC
SUMMARY
***
When you have 2 activities, it's almost impossible to discover the correct way of adding an application to a specific activity. Only by right clicking an opened application from the task, you can pin it to (or unpin it from) a activity.  
***


STEPS TO REPRODUCE
1. Create 2 Activities.
2. Open the application launcher and right click on an application that you want to add to the Task Manager only for the current activity.
3. In the Context Menu, you have a single option to 'Pin to the Task Manager' (that does it to all activities).
4. To make things worse, the same context menu has 'Show in Favorites' that opens a sub-menu that allows you to select your desired activity.
5. After you pinned an application to the Task Manager, if you right click it, there is no simple option to unpin it only for a specific activity (the only option is to unpin it from all activities)
6. To correctly unpin an application from the Task Manager, first you have to open it, open the context menu for it (by right clicking the app on the Task Manager), select 'Pin to Task Manager' that will open a sub-menu where you can select only the activities you want.

EXPECTED RESULT
The entire workflow should be obvious and easy to use.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2022-01-11 21:21:00 UTC
This has been improved in Plasma 5.24. Can you give it a try there, either with the Beta (released in two days) or the final release (in a month) and see if it's better now?
Comment 2 Viorel-Cătălin Răpițeanu 2022-01-19 22:13:27 UTC
Right now, the 'Pin to Task Manager' for any pinned application (no matter the running status), is a pretty good solution. For now, I think this should be closed as resolved.