Bug 479525

Summary: Trashing a file doesn't move it to the trash folder on the same device
Product: [Frameworks and Libraries] frameworks-kio Reporter: Antti Savolainen <antti.savo>
Component: TrashAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fanzhuyifan, kdelibs-bugs
Priority: NOR    
Version: 5.113.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Antti Savolainen 2024-01-08 04:54:33 UTC
SUMMARY
Demonstrative video: https://youtu.be/dEkZSMJNlZY
When I have a file and trash it on a partition that doesn't contain the home folder, the system moves the file to the home folder. This is especially noticeable when deleting big files.

STEPS TO REPRODUCE
1. Create a file on an external drive
2. Trash it
3. Check the locations where the file should have been moved to

OBSERVED RESULT
The file is moved to ~/.local/share/Trash

EXPECTED RESULT
The file should have been moved to the .Trash-1000 folder that's on the same partition

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 2.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Comment 1 fanzhuyifan 2024-01-08 20:11:00 UTC
Is this on btrfs? If so this is duplicate of https://bugs.kde.org/show_bug.cgi?id=395023
Comment 2 Antti Savolainen 2024-01-08 20:15:56 UTC
Yes it is on btrfs. Thank you.

*** This bug has been marked as a duplicate of bug 395023 ***