https://bugs.kde.org/show_bug.cgi?id=436933

            Bug ID: 436933
           Summary: Commas separating function arguments are interpreted
                    with dot
           Product: krunner
           Version: 5.21.4
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: calculator
          Assignee: alexander.loh...@gmx.de
          Reporter: nabilsnig...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

As a result of the commit
https://invent.kde.org/plasma/plasma-workspace/commit/a8644836253ee00f265ae11390dfd4afcef179ce,
functions requiring multiple arguments no longer work as showcased in
https://userbase.kde.org/Plasma/Krunner#Calculator. This can be observed even
in the screenshot(https://userbase.kde.org/File:KRunner.png) provided by the
userbase.


STEPS TO REPRODUCE
1. In krunner enter '= integrate( -x/y^2, y )'
2. Clear input and try '= perm(10,5) ' or '= comb(10,5) '
3. 

OBSERVED RESULT
The calculator result shows C - x^2 / (2y^3).
Observed same result  by entering '.' in place of the comma.
I assume '.' here is interpreted as multiplication sign with higher precedence.
The next two inputs produces no result from calculator.

EXPECTED RESULT
-x/y
30240 and 252 for next inputs.

SOFTWARE/OS VERSIONS
Clear Linux OS 34590
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

LC_NUMERIC information:

$ locale -kc LC_NUMERIC
LC_NUMERIC
decimal_point="."
thousands_sep=","
grouping=3;3
numeric-decimal-point-wc=46
numeric-thousands-sep-wc=44
numeric-codeset="UTF-8"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to