Bug 161710 - gcalc will not convert value when switching base (eg. from dec to hex)
gcalc will not convert value when switching base (eg. from dec to hex)
Product: Fedora
Classification: Fedora
Component: gnome-utils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
Depends On:
  Show dependency treegraph
Reported: 2005-06-26 07:06 EDT by Philip Heron
Modified: 2007-11-30 17:11 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-18 11:12:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Desktop 313878 None None None Never

  None (edit)
Description Philip Heron 2005-06-26 07:06:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

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

How reproducible:

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 Sean Bruno 2005-07-20 17:06:34 EDT
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 wilksen 2005-07-25 10:54:09 EDT
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.
Comment 3 Sean Bruno 2005-08-18 03:19:25 EDT
Any ideas here?
Comment 4 Ray Strode [halfline] 2005-08-18 14:36:21 EDT
Hi Sean,

I'm not presently looking at this bug.  You might get a better response time if
you file it upstream.

This type of bug is better filed upstream in general anyway I think.
Comment 5 Warren Togami 2005-08-18 14:53:08 EDT
When you have filed this bug at the upstream bugzilla.gnome.org, please post the
URL here for cross-reference purposes.
Comment 6 Sean Bruno 2005-08-18 15:20:39 EDT
Filed upstream today:

Comment 7 Ray Strode [halfline] 2005-08-18 16:13:17 EDT
Great, thanks.
Comment 8 Sean Bruno 2005-08-18 17:20:40 EDT
Folks at gnome closed it and I tested their 5.6.26.  This issue IS resolved in
that release, but it is 5.6 not 5.5

Do you want to spin a new release for testing based on 5.6 for FC4, or should we
look at the latest 5.5 available at gnome.org?
Comment 9 Sean Bruno 2005-09-18 00:53:20 EDT
Uh...can we get an updated package for FC4?  The folks upstream have resolved
this issue and it's kind of a drag to have to use someone else's calculator all
the time...  :)

Can someone re-open this ticket?
Comment 10 Ray Strode [halfline] 2005-09-19 10:23:13 EDT
Hi Sean,

Comment 11 Sean Bruno 2005-09-23 13:22:21 EDT
I dont know how difficult it would be to release an update for the calculator,
but I can confirm that this issue is resolved upstream at gnome.org.

Can we throw a package into testing for these issues?
Comment 12 Ray Strode [halfline] 2005-09-23 13:44:48 EDT
Hi Sean,

Sorry about this, it got burried in my priority queue until I forgot about it. 
I'll work on it this afternoon.
Comment 13 Sean Bruno 2006-08-11 23:41:10 EDT
This ticket is resolved in FC5.  I would vote to close it out.
Comment 14 Ray Strode [halfline] 2006-08-12 01:13:48 EDT
Ah, I suck.

If you want the update, I'll do it first thing monday morning, otherwise we can
close the bug.
Comment 15 Sean Bruno 2006-08-12 02:10:37 EDT
no worries here.  I'd go ahead and close it out.
Comment 16 Sean Bruno 2006-09-16 16:27:36 EDT
well...I can't close it.  So I'll leave it to someone to come through and clean
up this ticket to close it.

Note You need to log in before you can comment on or make changes to this bug.