Bug 446045 - Currency conversion does not activate when using currency symbols before the number, only after the number
Summary: Currency conversion does not activate when using currency symbols before the ...
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: converter (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-11-24 19:47 UTC by Nate Graham
Modified: 2025-02-22 17:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
currency converter in krunner (146.94 KB, image/jpeg)
2021-12-01 15:08 UTC, paninomaninodesu
Details

Note You need to log in before you can comment on or make changes to this bug.
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.