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

            Bug ID: 492016
           Summary: kiB, MiB, GiB TiB and  KB, MB, GB TB
    Classification: Applications
           Product: partitionmanager
           Version: 21.12.3
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: vmel...@yahoo.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
kiB, MiB, GiB TiB and  KB, MB, GB TB

STEPS TO REPRODUCE
1. Nothing
2. 
3. 

OBSERVED RESULT
KDE Partition Manager shows data size as kiB, MiB, GiB TiB and so on even
though we tell the KDE framework to use something else.
We tell KDE what to do via the file
$KDEHOME/.config/kdeglobals

In that file, create a section called
[Locale]

and just below, that add the line
BinaryUnitDialect=1

Setting to 0 gives you the current default of IEC units.
Setting to 1 gives you JEDEC units.
Setting to 2 gives you metric (yes, real powers-of-10, lowercase k instead of
K, metric units).

Other applications, such as Ark and K3b respect this value since they use a
certain API from the KDE framework.

This issue was raised for Dolphin, which was eventually fixed. Please see
https://bugs.kde.org/show_bug.cgi?id=57240


EXPECTED RESULT
Setting to 0 gives you the current default of IEC units.
Setting to 1 gives you JEDEC units.
Setting to 2 gives you metric (yes, real powers-of-10, lowercase k instead of
K, metric units).


SOFTWARE/OS VERSIONS
Kubuntu 22.04 (with all the latest updates)
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I would do the change myself but I assume it is complicated. I tried to do it
once for Dolphin but I was never able to compile Dolphin.
Very Important: Always write highly configurable software. A PC is something
that is owned by the user. It is his world.
My opinion is that all software should be configurable in certain aspects. Even
Wikipedia can be setup to show the formats, the date formats, the number
formats that we want. Too often, it is not done.

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

Reply via email to