Bug 489287 - Starting an expression using the result of previous expression doesn't work.
Summary: Starting an expression using the result of previous expression doesn't work.
Status: RESOLVED DUPLICATE of bug 487566
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: Arch Linux Linux
: NOR critical
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 07:30 UTC by Hirad
Modified: 2024-06-27 07:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
a video of how it can be reproduced (17.17 KB, video/webm)
2024-06-27 07:30 UTC, Hirad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hirad 2024-06-27 07:30:10 UTC
Created attachment 171068 [details]
a video of how it can be reproduced

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. Enter 2 + 2
2. Press Enter and see the result 4
3. Enter + 6

OBSERVED RESULT
It just starts a new expression from the start, displaying +6

EXPECTED RESULT
because an operator is entered before the number, it must use the result of the previous expression as the first input number. So it must show 10

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

ADDITIONAL INFORMATION
Comment 1 Antonio Rojas 2024-06-27 07:42:24 UTC

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