Bug 423661

Summary: unable to upload file via webdavs in Dolphin file manager : "not enough space" - download hangs
Product: [Frameworks and Libraries] frameworks-kio Reporter: Erik Martre <erik.martre>
Component: HTTPAssignee: Christian Stoeckl <csto>
Status: RESOLVED FIXED    
Severity: normal CC: csto, fabian, kdelibs-bugs, kfm-devel
Priority: NOR    
Version: 5.71.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.72.0
Sentry Crash Report:
Attachments: Dolphin window after trying to add file
Fix for issue

Description Erik Martre 2020-06-29 16:00:34 UTC
Created attachment 129767 [details]
Dolphin window after trying to add file

SUMMARY
I'm using Dolphin file manager in Tumbleweed with kernel 5.6 (5.7 won't boot correctly due to a bug with intel graphic driver), to manage a distant website via a webdavs protocol. Since some weeks, I can't add or replace files, with the message (english translation from the french message): "not enough available disk space to write file:///...". Deleting files is still possible but downloading seems not to work either.
Same operations work well in Ubuntu with Nautilus.

STEPS TO REPRODUCE
1. open a webdavs protocol -> opens in Dolphin (credentials are already OK)
2. folders show up
3. try to drag and drop a file into the opened location or a subfolder or outside of it

OBSERVED RESULT
upload is rejected with message "not enough available disk space to write file:///...", or download hangs with a special "in progress" cursor.

EXPECTED RESULT
upload and download succeed

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200626
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Kernel Version: 5.6.14-1-default
OS Type: 64-bit
Processors: 2 × Intel® Pentium® CPU G3220 @ 3.00GHz
Memory: 7.6 Gio of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics
Comment 1 Christian Stoeckl 2020-07-13 17:06:30 UTC
I have exactly the same issue with Leap 15.1

Operating System: openSUSE Leap 15.1
Dolphin 20.04.2
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7
Comment 2 Christian Stoeckl 2020-07-15 12:56:55 UTC
Created attachment 130138 [details]
Fix for issue
Comment 3 Christian Stoeckl 2020-07-15 12:58:50 UTC
I did look through the source code and found that WEBDAV servers, which don't report quota-available numbers (Nextcloud, ...) are not handled correctly. 
You'll find the fix attached for review and implementation