Created attachment 52012 [details] Digikam incorrectly displays SD Card size. Version: 1.4.0 (using KDE 4.5.1) OS: Linux Digikam incorrectly renders SD Card size. I suggest to display SD Card size in human readable format. I attached 16GiB SD Card and tried to download photos. See attached screenshot. Reproducible: Always Steps to Reproduce: 1. Attach SD Card. 2. Start Digikam. 3. Open menu Import Actual Results: Displays USB Disk multicatd (1e+01 GB) Expected Results: Displays USB Disk multicatd (16 GB) OS: Linux (i686) release 2.6.35-ARCH Compiler: gcc
SVN commit 1180151 by mwiesweg: - use KLocale to format storage size (*) - use volume label, then volume device product or vendor, only then drive device product - the latter is usually unspecific - use i18n where applicable (*) I am tempted to use MetricBinaryDialect because on USB disks the size is usually written in this format ("4GB" instead of "3.7GB"). On the other hand, there is a global KDE setting for this, which is IEC ("3.7GiB") per default. Opinions? BUG: 252488 BUG: 252489 M +4 -1 NEWS M +26 -28 digikam/digikamapp.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1180151
If KDE provides global settings to configure how to display disk sizes, then digikam should use this setting.