Bug 458389

Summary: Kunitconversion displays output for gallons - litres as value using US gallons, rather than Imperial gallons - but does not clearly specify
Product: [Frameworks and Libraries] frameworks-kunitconversion Reporter: NMD <bugsnmd>
Component: generalAssignee: John Layt <jlayt>
Status: REPORTED ---    
Severity: normal CC: bugsnmd, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.54.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description NMD 2022-08-27 15:58:07 UTC
SUMMARY
***
STEPS TO REPRODUCE
1.  Type in 1 gallon or other amount in krunner
2. 
3. 

OBSERVED RESULT
Result listed is 3.7854099999999997 l - which is correct only for US Gallons, not imperial.

EXPECTED RESULT
Any of the below would be a more helpful result:
1) Output should make it clear that it has done the conversion from a US gallon, not imperial - or supply a separate result for each of the conversions. It could also warn that US / Imperial gallons are different.
2) Program should allow user to specify e.g. 1 US Gallon, 1 Imperial Gallon, etc and then give the correct result for that. OR it should use localisation settings to guess at what the user means.


SOFTWARE/OS VERSIONS
Using Debian Oldstable, which I know is pretty old!
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.0
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

Thanks for all your hard work on the KDE software.

NB:
A related bug appears here but is stated as fixed, even though I am using a later version of KDE Frameworks than stated there: https://bugs.kde.org/show_bug.cgi?id=341072