Created attachment 186351 [details] Toast error when trashing a folder on a fresh boot of Dolphin on a bind-mounted directory SUMMARY When moving or trashing files/folders, Dolphin throws an error as a red toast (moving) or an error pop up (trashing). When "extract and deleting" an archive, Dolphin throws an error as an error pop up. "Could not rename file <original file> to <destination file>". This happens the first time I do this after opening Dolphin. If you try again right away, it works. After restarting Dolphin, it happens again. This probably happens as I have bind-mounts in my home folder for some directores from one disk to another. Both disks are fine and healthy. Both partitions are EXT4. When doing these actions elsewhere on a fresh launch of Dolphin, it works fine. /etc/fstab: # <file system> <mount point> <type> <options> <dump> <pass> UUID=<uuid 1> /boot vfat umask=0077 0 2 UUID=<uuid 2> / ext4 noatime,commit=60 0 1 tmpfs /tmp tmpfs noatime,mode=1777 0 0 /dev/nvme0n1p1 /depo ext4 nofail 0 0 # Bind mounts for user folder /depo/aran/Documents /home/aran/Documents none bind 0 0 /depo/aran/Pictures /home/aran/Pictures none bind 0 0 /depo/aran/Music /home/aran/Music none bind 0 0 /depo/aran/Videos /home/aran/Videos none bind 0 0 /depo/aran/Downloads /home/aran/Downloads none bind 0 0 STEPS TO REPRODUCE 1. Move, or trash a file or a folder (or 'extract & delete' an archive) on a bind-mounted directory from another disk OBSERVED RESULT Output when extract & deleting or trashing: - As a pop up: Could not rename file "/home/aran/Downloads/<filename>" to "/home/aran/.local/share/Trash/files/<fılename>" - Output on terminal: kf.kio.workers.file: Could not rename file "/home/aran/Downloads/<filename>" to "/home/aran/.local/share/Trash/files/<filename>" Output when moving: - As a red toast: Could not rename file "/home/aran/Downloads/<filename>" EXPECTED RESULT No errors SOFTWARE/OS VERSIONS Linux: 6.17.5-2-cachyos (64-bit) KDE Plasma Version: 6.5.0 KDE Frameworks Version: 6.19.0 Qt Version: 6.10.0
Created attachment 186352 [details] Pop-up when trashing a folder on a fresh boot of Dolphin on a bind-mounted directory
I see this too when trying to move files to an NFS mount. If I try again, it works without issues.
The cold-start Dolphin part doesn't seem to be correct. It can happen after some time too. The exact timing is unknown.
I'm seeing this same thing while moving files or folders between two different partitions, usually while moving from /home/user/ to /home/user/SymLinkedDirToAnotherPartition/SomeFolder/ I guess the bug might be in KIO, not Dolphin itself.
I'm seeing this trashing files recently. I had not reported it as I suspected that it was pilot error, as I have recently moved my trash directory to a different BTRFS subvolume, until today I saw it on reddit and realised it's not just me.
I am also experiencing this issue with the Folder View and Trash widgets. The widgets and Dolphin seem to be separate, since I can trigger the bug once for each. And, the widgets seem to share whatever is going on. If I right click > move to trash from the folder view, it won't trigger when dragging to the trash widget, and vice versa.
This seems to be the same issue reported with bug 510810. If the issue persists after installing KDE Frameworks 6.20, please open a new bug. Thanks! *** This bug has been marked as a duplicate of bug 510810 ***