Bug 433771 - after adding an icon to desktop that's already pinned on the IOTM causes panel to display the same icon twice briefly
Summary: after adding an icon to desktop that's already pinned on the IOTM causes pane...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.21.0
Platform: openSUSE Linux
: NOR minor
Target Milestone: 1.0
Assignee: J
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-01 03:42 UTC by Felipe Kinoshita
Modified: 2021-03-02 16:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
video showing observed result (807.91 KB, video/x-matroska)
2021-03-01 03:42 UTC, Felipe Kinoshita
Details

Note You need to log in before you can comment on or make changes to this bug.
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.