Bug 496911 - Equal signs in pasted input are processed as multiplication signs.
Summary: Equal signs in pasted input are processed as multiplication signs.
Status: CONFIRMED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gabriel Barrantes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-02 00:59 UTC by qaliboire.bug_report
Modified: 2024-12-02 02:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qaliboire.bug_report 2024-12-02 00:59:19 UTC
SUMMARY
An expression of the type `A=B`, when pasted in the input field, gives the same result as `A*B`.

STEPS TO REPRODUCE
1. Open KCalc in simple mode;
2. paste `3+2=5` in the input field and press the "Return" key.

OBSERVED RESULT
The input field now shows "13". The history shows "3+2=5=13".

EXPECTED RESULT
I would expect the behavior shown with other unparsable inputs, i.e. the result field shows an "Input error" warning, the input field remains unchanged (allowing me to correct my input), and the history remains empty.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
None.