Bug 479841 - Remaining disk space is not detected properly on Btrfs disks
Summary: Remaining disk space is not detected properly on Btrfs disks
Status: RESOLVED UPSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.01.90
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: qt6
: 480309 480570 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-01-15 13:05 UTC by Deniil
Modified: 2024-08-14 17:42 UTC (History)
8 users (show)

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


Attachments
Screenshot that demonstrates the problem (241.58 KB, image/png)
2024-01-15 13:05 UTC, Deniil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Deniil 2024-01-15 13:05:10 UTC
Created attachment 164913 [details]
Screenshot that demonstrates the problem

SUMMARY
KDE software doesn't detect remaining disk space properly.
Dolphin shows an empty bar in place of remaining disk space
Ark is unable to extract anything and thinks that there's no space
Good ol' `df -h` shows that there's 700 GB available on disk (visible in the screenshot)


STEPS TO REPRODUCE
Unfortunately, unknown. It just happend for me right now

OBSERVED RESULT
KDE software doesn't properly detect remaining space. Ark extraction fails, Dolphin doesn't show remaining space and shows an empty bar instead

EXPECTED RESULT
Remaining disk space is detected properly

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.0-arch3-1
(available in About System)
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0

Operating System: Arch Linux 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0
Kernel Version: 6.7.0-arch3-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 31,2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0
Comment 1 chs 2024-01-16 08:48:25 UTC
I can reproduce this. I'm using a btrfs subvolume for home folder.
Dolphin is showing the following logs when trying to check disk space.

dolphin[8683]: kf.kio.widgets: Could not find mount point for QUrl("file:///home/user")
dolphin[9674]: kf.kio.widgets: Could not find mount point for QUrl("file:///home/user")
Comment 2 Deniil 2024-01-16 10:00:41 UTC
I'm also using btrfs for root partition, could be related
Comment 3 Nicolas Fella 2024-01-17 02:01:06 UTC
This appears to be a Qt bug: https://bugreports.qt.io/browse/QTBUG-121140
Comment 4 Thiago Macieira 2024-01-17 21:37:43 UTC
Fixing in Qt.
Comment 5 Nicolas Fella 2024-01-25 12:42:24 UTC
*** Bug 480309 has been marked as a duplicate of this bug. ***
Comment 6 Thiago Macieira 2024-01-25 18:02:40 UTC
(In reply to Thiago Macieira from comment #4)
> Fixing in Qt.

Upstream fix landed in 6.7 as f3782300d2ebd4a70c594f1eb12a7d79de4b9602
Comment 7 Nicolas Fella 2024-01-30 22:28:18 UTC
*** Bug 480570 has been marked as a duplicate of this bug. ***
Comment 8 Alexander Sanderson 2024-08-14 15:28:51 UTC
I think this issue is not quite resolved, as it still occurs on openSUSE Tumbleweed with Dolphin 24.05.2, built with QT 6.7.2, even though the fix for this issue landed in 6.7.
Comment 9 Thiago Macieira 2024-08-14 17:37:07 UTC
(In reply to Alexander Sanderson from comment #8)
> I think this issue is not quite resolved, as it still occurs on openSUSE
> Tumbleweed with Dolphin 24.05.2, built with QT 6.7.2, even though the fix
> for this issue landed in 6.7.

Then please comment on the Qt bug, not here. The issue is not in Dolphin.
Comment 10 Thiago Macieira 2024-08-14 17:42:22 UTC
See also https://bugreports.qt.io/browse/QTBUG-125721