← Back to team overview

desktop-packages team mailing list archive

[Bug 1311920] Re: gnome-calculator result does not match displayed numbers when re-doing operation

 

*** This bug is a duplicate of bug 1209326 ***
    https://bugs.launchpad.net/bugs/1209326

** This bug has been marked a duplicate of bug 1209326
   calculator fails to do proper calculatoins after CTRL+Z and Enter

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

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

Status in “gnome-calculator” package in Ubuntu:
  Confirmed

Bug description:
  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)

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