Bug 433771

Summary: after adding an icon to desktop that's already pinned on the IOTM causes panel to display the same icon twice briefly
Product: [Plasma] plasmashell Reporter: Felipe Kinoshita <kinofhek>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: J <oslazu>
Status: RESOLVED FIXED    
Severity: minor CC: nate, oslazu, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.21.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video showing observed result

Description Felipe Kinoshita 2021-03-01 03:42:10 UTC
Created attachment 136269 [details]
video showing observed result

summary.

STEPS TO REPRODUCE
1. drag an pinned icon to the desktop and click on 'Add icon'
2. click on the added icon

OBSERVED RESULT
panel displays the same icon twice before using the already pinned icon.

EXPECTED RESULT
panel show use the already pinned icon.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 J 2021-03-01 17:49:44 UTC
Hi Felipe

I can confirm by following your steps I can reproduce the bug.

Reproduced steps:
Dragging pinned icon on the desktop and selecting "Add Icon"
Clicking the newly added icon. (Tested with System settings and Discover)

Results shown:
A second Icon is displayed and loaded at the IOTM Taskbar instead of the pre pinned one, which was dragged to the desktop.

My System/OS Version:
Operating System: Fedora 33
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 2 J 2021-03-01 18:04:35 UTC
Have you tried any other Icons?
Comment 3 Felipe Kinoshita 2021-03-01 18:12:11 UTC
I tried with Dolphin, Konsole and System Monitor, the bug only happens with pinned icons (Dolphin and Konsole on my case), panel behaves normally when testing with System Monitor (not pinned).
Comment 4 J 2021-03-01 18:47:29 UTC
Ok thank you for confirming, I have also tested with Gwenview,konsole and Dolhpin I can confirm I am also getting the same result as before and is still showing a loading duplicate of the pinned application after the icon is added to the desktop. 

But when these are run straight from the Application launcher they load fine with no loading duplicate. I tested a non native application KeepassXC and the same issue occurred with the loading duplicate in the IOTM taskbar.

So conclusively it looks like a bug with applications added to the desktop from the IOTM taskbar.
Comment 5 Nate Graham 2021-03-02 16:23:24 UTC
Can reproduce when the app being launched is not already open. Works fine otherwise.
Comment 6 Nate Graham 2025-10-21 15:54:44 UTC
This bug, if it still exists, is at least now no longer possible to actually experience ever since we removed the "Add icon" option from the drop menu.