Bug 396461

Summary: Dragging and drop a file existing in the Trash folder to same Trash folder crashes Plasma
Product: [Frameworks and Libraries] frameworks-kio Reporter: toni_rocha <antonioni.rocha>
Component: TrashAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: crash CC: bugseforuns, kdelibs-bugs-null, nate, sichersicher
Priority: NOR Keywords: junior-jobs
Version First Reported In: git master   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description toni_rocha 2018-07-13 02:29:08 UTC
In Dolphin, drag a file in the Trash folder area, and drop in the Trash folder area. The Plasma crashes, sometimes hiding panels and showing only windows until thelogout from the system.
Comment 1 toni_rocha 2018-07-13 02:41:40 UTC
Another information: operating system is Kubuntu 18.04
Comment 2 Nate Graham 2018-07-13 16:05:14 UTC
Confirmed. This happens when you drag a file that's already in the trash, then drop it back into the trash. Instant crash.
Comment 3 Patrick Silva 2018-08-05 19:06:21 UTC
hum, on my Arch running Dolphin 18.08 beta and plasma 5.13.4 Dolphin crashes, not plasma.
Comment 4 toni_rocha 2018-08-10 21:27:06 UTC
(In reply to Dr. Chapatin from comment #3)
> hum, on my Arch running Dolphin 18.08 beta and plasma 5.13.4 Dolphin
> crashes, not plasma.

Here sometimes the session crashes, I must restart the system.
Comment 5 Halmut Holz 2019-05-03 18:53:04 UTC
Can confirm. When you drag a file from the trash back into the trash, dolphin crashes (dolphin 17.12.3). Kubuntu 18.04.
Comment 6 David Faure 2020-08-02 09:36:03 UTC
Can this be reproduced in 2020?
If I open Dolphin on trash:/ and drop one of the listed files into the same view, dolphin says "A file or folder cannot be dropped onto itself"
Comment 7 toni_rocha 2020-08-02 13:59:39 UTC
(In reply to David Faure from comment #6)
> Can this be reproduced in 2020?
> If I open Dolphin on trash:/ and drop one of the listed files into the same
> view, dolphin says "A file or folder cannot be dropped onto itself"

what's your distro? Now I use KDE Neon where this bug is fixed.
Comment 8 Halmut Holz 2020-08-02 14:14:59 UTC
I cant reproduce it any more in Kubuntu 20.04
Comment 9 David Faure 2020-08-03 17:28:31 UTC
My distro is "KDE code compiled from git" :-)

Thanks for the confirmations, closing.