After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705666 - Wrong calculation results because undo operation is not correctly handled
Wrong calculation results because undo operation is not correctly handled
Status: RESOLVED DUPLICATE of bug 694863
Product: gnome-calculator
Classification: Core
Component: general
3.8.x
Other Linux
: Normal critical
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-08 12:26 UTC by vochomurka@gmail.com
Modified: 2013-08-12 06:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description vochomurka@gmail.com 2013-08-08 12:26:52 UTC
When a result number A is computed and used in the next expression resulting in a new result number B and than undo (Ctrl-Z) is made, the calc shows the previous expression with the result A used, but B is used instead.

Steps to reproduce: 
 1) Open a basic calc mode
 2) type 1+1, press [enter]
 3) result is 2, so now use the result and type +1 after the number 2 and press [enter], result is 3
 4) press Ctrl-Z, the calc shows 2+1, press [enter]
 5) now the result is 4 (WRONG!!)
 6) you can repeat step 4) so the calc always shows 2+1 but the result is always +1 higher.

This bug is definitely critical as the user doesn't expect such behaviour and may rely on the wrong results.
Comment 1 PioneerAxon 2013-08-12 06:36:31 UTC

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