Bug 437183

Summary: Sort by Size does not take unit into account
Product: [Applications] kmail2 Reporter: wjb
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: wjb
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the KMail folders "sorted" by size

Description wjb 2021-05-15 23:54:01 UTC
Created attachment 138473 [details]
Screenshot of the KMail folders "sorted" by size

SUMMARY

Sorting by size seems to sort numerically, without taking units into account.

STEPS TO REPRODUCE
1. Right click on folders column
2. Enable "Size"
3. Click the Size column to sort by size

OBSERVED RESULT

The folders are sorted numerically by size, ignoring units; see screenshot

EXPECTED RESULT

Folders are sorted by their size.


SOFTWARE/OS VERSIONS
kmail2: 5.17.0 (21.04.0)
Linux/KDE Plasma: 5.11.16-2-MANJARO x86-64
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION