Bug 462319 - Allow dolphin to proceed even if no space is available
Summary: Allow dolphin to proceed even if no space is available
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.08.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-27 16:41 UTC by mikaka27
Modified: 2022-11-27 16:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikaka27 2022-11-27 16:41:57 UTC
When copying/moving a file/folder there are currently cases where dolphin thinks the file/folder can't be copied/moved because it thinks there is no available space.

Case 1 - use a btrfs filesystem
STEPS TO REPRODUCE
1. Have disk with for example 10GB free space
2. Create a copy of file that is larger than 10GB

Case 2 - use an sftp mount, with more than one disk on remote side. Dolphin (or sftp protocol perhaps) displays only the free space of main disk on remote side, not the sub mounts
1. Have a remote machine with let's say 10GB free space on / partition, and another disk, with for example 100GB free space, mounted on /mnt (on remote side)
2. Copy a file larger than 10GB to /mnt on remote machine

OBSERVED RESULT
In both of those cases dolphin refuses to copy/move file/folder, because it thinks the operation cannot be completed successfully.
But btrfs uses copy on write, so it doesn't actually need to copy the file/folder at all, it only reflinks them.
In sftp case, the file/folder can be copied into the /mnt of remote machine, because there is more free space there, then on / filesystem.

EXPECTED RESULT
This is a feature request, I would like to be able to have a dialog with error that says "No available space", and a button "Continue anyway", or something like that. Basically an ability to override the error about no space left.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.8-1-MANJARO kernel
(available in About System)
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.17.7