Bug 465581

Summary: Moving files from trash leaves ghost entries
Product: [Applications] dolphin Reporter: Luka Rasputin <nanoblade9>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: bugseforuns, kfm-devel, zeskotron
Priority: NOR    
Version: 24.02.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luka Rasputin 2023-02-11 11:45:34 UTC
SUMMARY
Moving a file from the trash to another location leaves a "ghost" file in the trash which gives you "file does not exist" error when you try to interact with it.


STEPS TO REPRODUCE
1. Have a file in the trash
2. Drag-and-drop it to another place (e.g. desktop or home folder), in the context menu choose "move here"

OBSERVED RESULT
The file is actually moved, but you can still see it in the trash. If you try to move it again, Plasma gives you "file does not exist error". You can't delete it manually and it only disappears after you restart Dolphin.

EXPECTED RESULT
The file disappears from the trash immediately after moving is complete.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Comment 1 Patrick Silva 2023-02-12 18:43:54 UTC
Can reproduce on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: Wayland
Comment 2 Zesko 2023-02-26 11:25:17 UTC
I confirm.

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: Wayland