Bug 446045

Summary: Currency conversion does not activate when using currency symbols before the number, only after the number
Product: [Plasma] krunner Reporter: Nate Graham <nate>
Component: converterAssignee: Alexander Lohnau <alexander.lohnau>
Status: CONFIRMED ---    
Severity: normal CC: kde, paninomaninodesu, plasma-bugs-null
Priority: NOR Keywords: usability
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=445491
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: currency converter in krunner

Description Nate Graham 2021-11-24 19:47:34 UTC
"12 USD" shows currency conversions, but "$12" does not.
Comment 1 Kai Uwe Broulik 2021-11-24 20:36:00 UTC
12$ works through the currency runner whereas $12 is only done through the qalculate runner.

I guess the heuristic of "number + suffix" in the unitsrunner doesn't apply for all cases.
Comment 2 paninomaninodesu 2021-12-01 15:08:14 UTC
Created attachment 144116 [details]
currency converter in krunner

Strange.
"12 USD" works, "12$" also works, but "$12" kinda don't?
The first two shows the results from the currency converter, the last one shows the result from the calculator, and the calculator result is different.
"12$" shows the results from both.