Summary: | Storage capacity shows lower unit than actual capacity | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Victor Engmark <kde.org> |
Component: | Import-MainView | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | caulier.gilles, digikam-bugs, kde.coralnut, metzpinguin, rdieter |
Priority: | NOR | ||
Version: | 5.3.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/digikam/3650af4e9fdbc0d3c4d72ad3a2620110682e5069 | Version Fixed In: | 5.4.0 |
Sentry Crash Report: |
Description
Victor Engmark
2016-12-25 09:25:56 UTC
Git commit 3650af4e9fdbc0d3c4d72ad3a2620110682e5069 by Maik Qualmann. Committed on 25/12/2016 at 11:36. Pushed by mqualmann into branch 'master'. fix displaying wrong unit in the import tooltip and remove spacing M +1 -1 libs/imageproperties/imagepropertiestab.cpp M +5 -5 utilities/importui/widgets/freespacewidget.cpp https://commits.kde.org/digikam/3650af4e9fdbc0d3c4d72ad3a2620110682e5069 Dolphin for exemple shows also 1024 based unit (GiB). The function to show 1000 base unit is already implemented. I'm more for the current state, what do you think Gilles? Maik The way to display storage unit hurt me also, but this have been normalized by IEC in 1998 and adopted by open source world step by step. Read well this wikipedia pages : https://en.wikipedia.org/wiki/Megabyte https://en.wikipedia.org/wiki/Gigabyte#Consumer_confusion If the current storage capacity details respect the norm, this is the right way. Gilles Caulier (In reply to caulier.gilles from comment #3) > The way to display storage unit hurt me also, but this have been normalized > by IEC in 1998 and adopted by open source world step by step. > > Read well this wikipedia pages : > > https://en.wikipedia.org/wiki/Megabyte > https://en.wikipedia.org/wiki/Gigabyte#Consumer_confusion > > If the current storage capacity details respect the norm, this is the right > way. AFAICT these articles support my assertion that 1000-based units should be used: - IEC recommends 1000-based units: "1 MB = 1000000 bytes (= 10002 B = 106 B) is the definition recommended by the International System of Units (SI) and the International Electrotechnical Commission IEC.[2] This definition is used in networking contexts and most storage media, particularly hard drives, flash-based storage,[3] and DVDs […]" - "Practically all manufacturers of hard disk drives and flash-memory disk devices[3][4] continue to define one gigabyte as 1000 000 000 bytes, which is displayed on the packaging." While GiB is technically *accurate*, GB would therefore be *less confusing*. On 25/12/16 14:44, Victor Engmark wrote: > https://bugs.kde.org/show_bug.cgi?id=374135 > > --- Comment #4 from Victor Engmark <victor.engmark@gmail.com> --- > (In reply to caulier.gilles from comment #3) >> The way to display storage unit hurt me also, but this have been normalized >> by IEC in 1998 and adopted by open source world step by step. >> >> Read well this wikipedia pages : >> >> https://en.wikipedia.org/wiki/Megabyte >> https://en.wikipedia.org/wiki/Gigabyte#Consumer_confusion >> >> If the current storage capacity details respect the norm, this is the right >> way. > AFAICT these articles support my assertion that 1000-based units should be > used: > > - IEC recommends 1000-based units: "1 MB = 1000000 bytes (= 10002 B = 106 B) is > the definition recommended by the International System of Units (SI) and the > International Electrotechnical Commission IEC.[2] This definition is used in > networking contexts and most storage media, particularly hard drives, > flash-based storage,[3] and DVDs […]" > - "Practically all manufacturers of hard disk drives and flash-memory disk > devices[3][4] continue to define one gigabyte as 1000 000 000 bytes, which is > displayed on the packaging." > > While GiB is technically *accurate*, GB would therefore be *less confusing*. > Whether base 10 or base 2 units are used is debatable, but the naming is not. It is ubiquitously agreed upon that GB/MB/... mean base 10 and GiB/MiB/... base 2. True, there is still lots of places where GB/MB/... is wrongly used for base 2 values, but that is erroneous. Some circumvent the problem by only writing the prefix (G/M/...) which can mean anything, but that is in my opinion simply lazy. AFAIK in the linux world base 2 is still prevailing while windows mostly uses base 10 (I don't know about apple). As long as digikam uses consistently the same base in my opinion anything is fine, just use the correct prefixes. I guess changing from one prefix to the other would be simply too much effort for too little gain. Many programs use 1024-based for example Dolphin, Krusader... The operating systems iOS and Windows (uses wrong unit) also. File manager under Ubuntu? Newer versions of OS X use 1000-based. At the moment we will not change it. Maik *** Bug 374432 has been marked as a duplicate of this bug. *** *** Bug 377248 has been marked as a duplicate of this bug. *** |