Bug 420614 - Devices panel: "Hard disk of xxx.x GiB" displays a strange xxx.x value (NOT being GiB)
Summary: Devices panel: "Hard disk of xxx.x GiB" displays a strange xxx.x value (NOT b...
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 19.12.3
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-26 11:33 UTC by Valdo
Modified: 2025-11-29 03:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valdo 2020-04-26 11:33:36 UTC
SUMMARY
Wrong calculation of disk partitions' capacity?

STEPS TO REPRODUCE
The "Hard disk" I'm mentioning is actually a disk partition.
Command 'df -k' lists a capacity of 294243128 blocks of 1K (that is, 280,6 GiB) for a given partition.

OBSERVED RESULT
Dolphin's "Devices" panel displays 286.1 GiB (wrong) for that partition.

Note: same issue (if confirmed to be an issue - in all cases, pretty misleading) observed with kdepartitionmanager, showing 286.10 GiB.
On the other hand, the Device properties (in Dolphin) show a capacity of 280,6 GiB (correct).

EXPECTED RESULT
According to me, Dolphin's "Devices" panel should display 280,6 GiB.

Note: the same expected result goes for kdepartitionmanager.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Not sure whether there is a link with Bug 292795 or not (KDE4 at the time).
Comment 1 Valdo 2020-04-26 11:41:18 UTC
Sorry for mixing , (comma) and . (dot) in my report for the decimal separator. In French, a comma is used, in English it's a dot :)
Comment 2 Christoph Feck 2020-05-14 02:50:28 UTC
Does the size shown in the Devices panel come from Solid?
Comment 3 daniel 2025-10-29 19:30:21 UTC
Hello, 
it is still a thing in Plasma 6.5?
Comment 4 Valdo 2025-10-30 22:13:43 UTC
In Plasma 6.3.6 (I don't have a newer version at hand):
- In Dolphin, a device Properties show the right capacity (expressed in GiB). So I consider this part as being FIXED.
- In KDE Partitions Manager, the same device still shows a wrong value (greater than what I would expect).
Note: I'm now running Debian (compared to 5 years ago), but I don't think it makes any difference.
Comment 5 Bug Janitor Service 2025-11-14 03:47:52 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-11-29 03:46:13 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.