Public bug reported:

Steps to reproduce (see attached 8-pane picture):

- Open gnome-calculator
- Type "1+1" (pane 1).
- Press enter. "2" is displayed in bold (pane 2).
- Type "+1" (pane 3).
- Press enter. "3" is displayed in bold (pane 4).

Now comes the issue:

- Press enter [*]. "2+1", with a bold "2", is displayed (pane 5).
- Press enter. "4" is displayed in bold (pane 6).
- Press enter [*]. "2+1", with a bold "2", is displayed (pane 7).
- Press enter. "5" is displayed in bold (pane 8).
- ...

It would appear that after pressing enter to go from the result to the
previous expression, the portion in bold font really refers to the
current last answer, "Ans" as denoted typically in calculators.  Instead
of the current last answer, gnome-calculator is incorrectly displaying
what "Ans" was *before the expression was written*, but it then uses the
current last answer in the operation, resulting in the nonsensical
2+1=4, etc., exemplified above.

"Ans" (or equivalent) should be displayed in these cases.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-calculator 1:3.10.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-lowlatency 3.13.9
Uname: Linux 3.13.0-24-lowlatency x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Apr 24 00:03:21 2014
InstallationDate: Installed on 2013-04-13 (375 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130413)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-calculator
UpgradeStatus: Upgraded to trusty on 2014-03-19 (35 days ago)

** Affects: gnome-calculator (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

** Attachment added: "Screenshots showing the bug"
   
https://bugs.launchpad.net/bugs/1311920/+attachment/4094843/+files/gnome-calculator_bug.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1311920

Title:
  gnome-calculator result does not match displayed numbers when re-doing
  operation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/1311920/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to