GNOME Bugzilla – Bug 313878
gcalc will not convert value when switching base (eg. from dec to hex)
Last modified: 2005-08-18 20:37:08 UTC
Version details: gnome-utils-2.10.0-3 Distribution/Version: Fedora Core 4 1. Enter a value in any numeric base. 2. Change the base mode.
Quoted from the Red Hat Bugzilla, Bug#161710: Description of problem: I use gcalc a lot to convert between decimal and hexidecimal, but in FC4 this isn't working. The displayed value is not being updated to reflect the new numeric base. For example, entering 128 in decimal and switching to hexidecimal should result in 80 in hex (= 128 dec). What is now happening is the display remains at 128 but is now a hex value (= 296 dec). Version-Release number of selected component (if applicable): gnome-utils-2.10.0-3 How reproducible: Always Steps to Reproduce: 1. Enter a value in any numeric base. 2. Change the base mode. Actual Results: The display remains the same and the value is now incorrect. Expected Results: The display should be updated to reflect it's value in the selected numeric base. Additional info: Comment #1 From Sean Bruno (sean.bruno@dsl-only.net) on 2005-07-20 17:06 EST [reply] I can confirm this as an issue. I have noted that the variable storage is borked as well. It appears that you can store all 10 variables, but attempting to recall any value only returns the value stored in R0. eg..store 15 in R0 and 27 in R9, recall R9 and you will get 15 not 27. Comment #2 From Tim Wilksen (wilksen@mail.lns.cornell.edu) on 2005-07-25 10:54 EST [reply] Confirmed here, too. It also applies to whether one is using degrees, radiants or gradians. For the base conversion, I noticed that if one types in e.g. a decimal number, click on the binary base toggle, it does not yet show the correct result, however after hitting the enter key on the keyboard it *does* display the correct result. From then on it displays the converted value just by clicking on the corresponding toggle button.
This looks like bug #308408. Closing as such. You can find a tarball of v5.6.26 under: http://ftp.gnome.org/pub/GNOME/sources/gcalctool/5.6/ to try if you like. If you are seeing a different problem, please feel free to reopen this bug and add a comment explaining how to reproduce. Thanks. *** This bug has been marked as a duplicate of 308408 ***