https://bugs.kde.org/show_bug.cgi?id=527197

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/52bba1b
                   |                            |0a3da3ca6573a638517329a6e23
                   |                            |d3fe8c
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Méven <[email protected]> ---
Git commit 52bba1b0a3da3ca6573a638517329a6e23d3fe8c by Méven Car.
Committed on 19/10/2026 at 13:52.
Pushed by meven into branch 'master'.

mountpointobservercache: measure the free space of the folder's mount

Since "mountpointobservercache: Use Solid for determining mountpoint", the
status bar asked Solid which device holds the folder and measured the device's
mount path. Solid gives one path per device, and "/" when the device is mounted
there among other places. On Fedora Atomic, /var/home is on the same partition
as a mount at "/", so the status bar measured the read-only root and showed "0
B free".

The mount point now comes from KMountPoint::currentMountPointForPath(), which
finds the mount that the folder is on, and keeps its lookups cached.

M  +8    -8    src/statusbar/mountpointobservercache.cpp
M  +5    -0    src/tests/CMakeLists.txt
A  +84   -0    src/tests/mountpointobservertest.cpp     [License: GPL(v2.0+)]

https://invent.kde.org/system/dolphin/-/commit/52bba1b0a3da3ca6573a638517329a6e23d3fe8c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to