Bug 497390

Summary: Moving a trashed file to the trash and undoing makes the file disappear
Product: [Applications] dolphin Reporter: kde.aerospace405
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: akselmo, kfm-devel
Priority: NOR    
Version: 24.08.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kde.aerospace405 2024-12-12 20:47:33 UTC
SUMMARY
Files in trash disappear after moving file in trash to trash and undoing.

STEPS TO REPRODUCE
1. Send a file (filename.txt) to the trash.
2. Open trash in dolphin.
3. Hold shift and drag to an empty space inside the trash folder
4. File gets renamed to filename (1).txt
5. Press CTRL+Z
6. The files are gone!


OBSERVED RESULT
File is gone.

EXPECTED RESULT
File doesn't disappear.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Comment 1 kde.aerospace405 2024-12-12 20:49:10 UTC
Quick note: the files are still in ~/.local/share/Trash, but you can't view them in the "Trash" folder.
Comment 2 Akseli Lahtinen 2024-12-16 09:46:39 UTC
Can confirm. Dragging the file when its inside trash folder causes something odd to happen. Super weird!

dolphin 25.03.70
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600