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

            Bug ID: 497283
           Summary: Repeatedly using the same operator produces false
                    results
    Classification: Applications
           Product: kcalc
           Version: 22.12.3
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: evan.te...@gmail.com
          Reporter: track-kdeb...@datenritter.de
                CC: gabriel.barrantes....@outlook.com
  Target Milestone: ---

Created attachment 176495
  --> https://bugs.kde.org/attachment.cgi?id=176495&action=edit
KCalc window showing wrong results

SUMMARY

Pressing e.g. + or * repeatedly to add or multiply the same number leads to
wrong results.


STEPS TO REPRODUCE
1. Activate scientific mode. Turn history on.
2. Type "1, +, Enter". Result is 2, History will show: "1 + 1 = 2" which is
correct.
3. Type "1, +, +, Enter". Result is 2, should be 3, History will show: "1 + 1 +
1  = 2" which is wrong.
4. Type "1, +, +, 2, Enter." Result is 3, should be 4, History will show: "1 +
1 + 2 = 3" which is wrong.

The same happens with * .

If you retype the operand, the results are correct.

OBSERVED RESULT
Using an operator twice doesn't work properly. History shows correct operations
and operands, but wrong results.

EXPECTED RESULT
Using an operator twice should repeat the operation on the operand in the entry
field.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12 stable.
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

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

Reply via email to