← Back to team overview

desktop-packages team mailing list archive

[Bug 1380561] Re: "Unknown variable 'ansA'" when editing the result after converting to hexadecimal

 

** Tags added: trusty

-- 
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/1380561

Title:
  "Unknown variable 'ansA'" when editing the result after converting to
  hexadecimal

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

Bug description:
  Version: 1:3.10.2-0ubuntu1.2

  I want to edit a result in hexadecimal:

  [Test Case]
  - open gnome-calculator
  - choose Programming mode
  - choose Decimal and enter a decimal number then press Enter
  - choose Hexadecimal to convert the number to hex
  - add A or any hexadecimal number A-F to the result and press Enter
  - you'll see "Unknown variable 'ansA'" where A is what you appended to the result
  - if you press Enter before editing the result, it displays the decimal number again

  I think this is a part of a larger problem about how results are stacked and displayed, ex:
  - choose Basic mode
  - enter 1+2 and press Enter
  - edit the result 3 with *2 and press Enter
  - press Enter again and you see 3*2
  - press Enter again and you see 12
  - each time you press Enter, you see 3*2 but it applies *2 to the previous result (12, 24, and so on)

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


References