Bug 490722

Summary: Typing numbers immediately after hitting equals (enter) does not clear result but appends
Product: [Applications] kcalc Reporter: mattmunee
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gabriel.barrantes.dev
Priority: NOR    
Version First Reported In: 24.05.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description mattmunee 2024-07-23 18:01:39 UTC
SUMMARY
In all calculators I've come across, after a calculation is completed by clicking equals, typing a number will clear the previous result and begin a new calculation.  In KCalc, after a calculation is completed by clicking equals, typing a number will append the number to the previous calculation result.  This is unintuitive and makes it burdensome to complete multiple independent calculations sequentially.


STEPS TO REPRODUCE
1. Type 2
2. Type *
3. Type 3
4. Type = (or Enter)
5. Type 3
6. Type *
7. Type 2
8. Type = (or Enter)

OBSERVED RESULT
126

EXPECTED RESULT
6

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0 
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Gabriel Barrantes 2024-07-23 18:30:23 UTC

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