Bug 453937

Summary: Plasma duplicating desktop icons (files, folders, shortcuts)
Product: [Plasma] plasmashell Reporter: Dmitry Tretyakov <tinelix.tretdm>
Component: FolderAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: barinov274, bednarczyk.pawel, bizyaev, hein, katyaberezyaka, me, mikel5764, nate, noahadvs, postix, scalvin, sheast21
Priority: NOR Keywords: wayland
Version: 5.25.2   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Attachments: Non-highlightable and non-removable duplicate desktop shortcuts
random duplicating shortcuts (opps, not this screenshot)
Showing desktop context menu, but i clicked duplicated home folder
another random duplicating
phantom icon video
Plasma Desktop - phanton duplicates

Description Dmitry Tretyakov 2022-05-17 13:28:53 UTC
Created attachment 148914 [details]
Non-highlightable and non-removable duplicate desktop shortcuts

SUMMARY
Plasma duplicating desktop icons (or shortcuts) in Wayland session

STEPS TO REPRODUCE
1. Occurs after a while when Plasma is running in a Wayland session, during idle and work.

OBSERVED RESULT
1. Duplicate desktop shortcuts
2. They cannot be selected or deleted.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Calculate Linux 22.0.1 (Linux kernel 5.15.29-calculate)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Graphics Processor: AMD BEIGE_GOBY

ADDITIONAL INFORMATION
The bug temporarily disappears after the following actions:
1. Creating and deleting folder.
2. Opening desktop settings.
Comment 1 Dmitry Tretyakov 2022-05-17 14:45:55 UTC
Comment on attachment 148914 [details]
Non-highlightable and non-removable duplicate desktop shortcuts

(and non-selectable)
Comment 2 Dmitry Tretyakov 2022-05-17 15:04:56 UTC
Created attachment 148915 [details]
random duplicating shortcuts (opps, not this screenshot)
Comment 3 Dmitry Tretyakov 2022-05-17 15:06:54 UTC
Created attachment 148916 [details]
Showing desktop context menu, but i clicked duplicated home folder
Comment 4 Dmitry Tretyakov 2022-05-17 15:10:13 UTC
(In reply to Dmitry Tretyakov from comment #2)
> Created attachment 148915 [details]
> random duplicating shortcuts

oops, not this screenshot
Comment 5 Dmitry Tretyakov 2022-05-17 15:13:13 UTC
Created attachment 148917 [details]
another random duplicating
Comment 6 Nate Graham 2022-05-17 15:40:04 UTC
This should be fixed in Plasma 5.25 already. I'm pretty sure, at least. Feel free to re-open the bug report if you upgrade to 5.25 and you find that it's not fixed yet.
Comment 7 Pawel 2022-05-17 16:15:29 UTC
I have been experiencing this bug on Arch Linux as well. I will comment again when 5.25 beta hits kde-unstable.
Comment 8 Pawel 2022-05-31 17:04:04 UTC
this is still occurring on 5.24.90 on arch Linux. There is a phantom icon - see attached video
Comment 9 Pawel 2022-05-31 17:04:51 UTC
Created attachment 149361 [details]
phantom icon video
Comment 10 steve 2022-06-30 06:30:21 UTC
Plasma 5.25.2, Arch linux and Arco linux, still happening.
Comment 11 Nate Graham 2022-06-30 13:59:41 UTC
*** Bug 454852 has been marked as a duplicate of this bug. ***
Comment 12 sheast21 2022-07-07 23:00:35 UTC
I am still experiencing this bug on plasma 5.25.2 on fedora.
Comment 13 steve 2022-07-07 23:10:29 UTC
One quick fix if you need it is to right click on the desktop icons>sort, and sort the icons in anyway and it will refresh and remove the zombie icons.
Comment 14 steve 2022-07-14 00:42:56 UTC
(In reply to steve from comment #10)
> Plasma 5.25.2, Arch linux and Arco linux, still happening.

Still happening in Plasma 5.25.3, arch and arco linux.
Comment 15 Nate Graham 2022-07-21 16:00:30 UTC
*** Bug 456969 has been marked as a duplicate of this bug. ***
Comment 16 Pawel 2022-07-28 16:02:09 UTC
(In reply to steve from comment #13)
> One quick fix if you need it is to right click on the desktop icons>sort,
> and sort the icons in anyway and it will refresh and remove the zombie icons.

Thanks! I can confirm sorting icons as you described makes the phantom icon disappear.
Comment 17 ratijas 2022-10-11 20:58:33 UTC
Created attachment 152721 [details]
Plasma Desktop - phanton duplicates

I got it on X11 as well.

Little pre-story: my btrfs filesystem has died recently, so I had to copy-clear-reformat-restore everything from and back to it, so after a day and a half it's finally working again. But when I connected second monitor (which is configured to have files and folders on it, unlike primary one), I found there two phantom icons. They have a property of stacking after the last "real" item on a grid, i.e. if you move some item to some bottom-right position — two phantoms would jump to stay on the right of it.
Comment 18 Nate Graham 2022-11-15 17:45:49 UTC
This should be fixed in Plasma 5.27 (aka current git master) as of various ports and fixes.
Comment 19 steve 2022-12-04 07:07:33 UTC
(In reply to Nate Graham from comment #18)
> This should be fixed in Plasma 5.27 (aka current git master) as of various
> ports and fixes.

Looking forward to February 2023 then. Recently it seems like it is creating more phantoms, could be subjective. I'm on 5.26.4.