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

            Bug ID: 503749
           Summary: Simple calculator vs Equation mode
    Classification: Applications
           Product: kcalc
           Version: 24.12.3
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: evan.te...@gmail.com
          Reporter: eand...@gmail.com
                CC: gabriel.barrantes....@outlook.com
  Target Milestone: ---

SUMMARY
When you enter: 10+5*2 the result is 20, while I would expect it to be 30.
This is because kCalc doesn't work as a simple calculator and doesn't "finish"
the calculation after each operation, but instead the user is entering an
equation until ENTER is pressed.

STEPS TO REPRODUCE
1. 10+5*2

OBSERVED RESULT
Result is 20 according to the order of operations, which is correct if we look
it as an equation

EXPECTED RESULT
I would expect the result to be 30 (10+5=15, then 15*2=30) because I would
expect kCalc to work as a simple calculator in the simple mode, and  finish the
calculation after each operation and continue the next operation with the
resulting number.

I think there are multiple bug reports which are somewhat tied to the same
problem, for example: https://bugs.kde.org/show_bug.cgi?id=487566

SOFTWARE/OS VERSIONS
Linux: kUbuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3

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

Reply via email to