Bug 472112 - Respect the users' choice of BinaryUnitDialect
Summary: Respect the users' choice of BinaryUnitDialect
Status: RESOLVED DUPLICATE of bug 453853
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-09 22:20 UTC by Jack Hill
Modified: 2023-07-09 22:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Hill 2023-07-09 22:20:06 UTC
SUMMARY
A user can choose to prefer SI unit prefixes for their binary numbers by adding the following to ~/.config/kdeglobals:

    [Locale]
    BinaryUnitDialect=2

but Dolphini does not always respect this choice. Instead it continues to use IEC units in the main panel (and potentially other places?). It DOES respect this for the properties dialogue and bottom panel showing disk space.

STEPS TO REPRODUCE
1. Add the aforementioned lines to the kdeglobals file
2. Open Dolphin
3. Enable Details View Mode
4. Look at the size of a file shown in the list

OBSERVED RESULT
Size is given like "19.1 MiB"

EXPECTED RESULT
Size is given like "20.1 MB" (it's a 20,056,162 byte file)

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230707
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.3.9-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Jack Hill 2023-07-09 22:23:02 UTC

*** This bug has been marked as a duplicate of bug 453853 ***