Bug 487611

Summary: "Input Error" When Performing Consecutive Calculations After Pressing Equal Sign in Version 24.05.0
Product: [Applications] kcalc Reporter: 2724167997
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED DUPLICATE    
Severity: major CC: 2724167997, oldherl
Priority: NOR    
Version: 24.05.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: video for the bug

Description 2724167997 2024-05-27 05:00:05 UTC
Created attachment 169868 [details]
video for the bug

SUMMARY
In KDE Calculator version 24.05.0, pressing the equal sign followed by an operation like `*2` does not incorporate the existing calculation result into the new calculation, resulting in an "Input Error" message.

STEPS TO REPRODUCE
1. Open KDE Calculator.
2. Perform a calculation, such as `5 + 5`.
3. Press the equal sign (`=`).
4. Press `*2=`.

OBSERVED RESULT
The calculator displays an "Input Error" message, and the existing result from the previous calculation is not included in the new operation.

EXPECTED RESULT
The existing calculation result should be incorporated into the new operation. For example, after pressing `=` following `5 + 5`, the calculator should show `10`. Then pressing `*2` should result in `20`.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
LANG=zh_CN.UTF-8
Comment 1 oldherl 2024-05-27 05:30:14 UTC

*** This bug has been marked as a duplicate of bug 487566 ***