Bug 423661 - unable to upload file via webdavs in Dolphin file manager : "not enough space" - download hangs
Summary: unable to upload file via webdavs in Dolphin file manager : "not enough space...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: HTTP (show other bugs)
Version: 5.71.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Stoeckl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-29 16:00 UTC by Erik Martre
Modified: 2020-07-15 19:52 UTC (History)
4 users (show)

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


Attachments
Dolphin window after trying to add file (84.19 KB, image/png)
2020-06-29 16:00 UTC, Erik Martre
Details
Fix for issue (2.82 KB, patch)
2020-07-15 12:56 UTC, Christian Stoeckl
Details

Note You need to log in before you can comment on or make changes to this bug.
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