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

            Bug ID: 496911
           Summary: Equal signs in pasted input are processed as
                    multiplication signs.
    Classification: Applications
           Product: kcalc
           Version: 24.08.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: evan.te...@gmail.com
          Reporter: qaliboire.bug_rep...@pm.me
                CC: gabriel.barrantes....@outlook.com
  Target Milestone: ---

SUMMARY
An expression of the type `A=B`, when pasted in the input field, gives the same
result as `A*B`.

STEPS TO REPRODUCE
1. Open KCalc in simple mode;
2. paste `3+2=5` in the input field and press the "Return" key.

OBSERVED RESULT
The input field now shows "13". The history shows "3+2=5=13".

EXPECTED RESULT
I would expect the behavior shown with other unparsable inputs, i.e. the result
field shows an "Input error" warning, the input field remains unchanged
(allowing me to correct my input), and the history remains empty.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
None.

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

Reply via email to