Bug 510701

Summary: Pinning entries through context menu for different activities in Icons-Only Task Manager creates unexpected behavior
Product: [Plasma] plasmashell Reporter: justpeachy
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: akselmo, nate, qydwhotmail
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description justpeachy 2025-10-16 21:57:40 UTC
STEPS TO REPRODUCE
1. Create new activity
2. Open new activity
3. Start pinning apps to Icons-Only Task Manager
4. Right click app icon in Icons-Only Task Manager > Pin to Task Manager
5. Click on check box to pin it to the new activity

OBSERVED RESULT
App icon duplicates in Icons-Only Task Manager and still remains pinned in all activities regardless of the activity you set or are currently in, including if you unchecked "On All Activities". If you want to unpin it, you're forced to close out of all activities except for one and clicking "Unpin" twice.

EXPECTED RESULT
Icons pinned should only appear once, check boxes should act like actual check boxes (i.e., when inside the "Pin to Task Manager" dialog, unchecking "On All Activities" should unpin it), and when pinning entries from inside Kickoff, it should preemptively give you the option to pin it to a given activity (like the Pin to Task Manager context menu from the Icons-Only Task Manager itself) if there's multiple present and have an Icons-Only Task Manager as well.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.11-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: AMD Radeon RX 6950 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550 AORUS ELITE AX V2

ADDITIONAL INFORMATION
Doesn't seem to always work. It only really happens for entries that were added after the Activity was created and not the ones that were already there, but it's not consistent.
Comment 1 Akseli Lahtinen 2025-10-17 09:31:12 UTC
Can repro, but I had the second activity already enabled, did not need to make new one.

1. Open application launcher
2. Drag a completely new, unopen **Flatpak app**  to the icons only task manager
3. Right click the icon, set it to pinned only on the current activity
4. Duplicate appears!

Seems its only with flatpak apps for me.

Operating System: Fedora Linux 42
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.11-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600