After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 308408 - Failed to convert hex data into other base
Failed to convert hex data into other base
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
5.6.x
Other All
: Normal major
: ---
Assigned To: Sami Pietilä
Sami Pietilä
: 313878 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-06-20 16:26 UTC by lilingv
Modified: 2005-08-18 20:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Patch from Sami to fix the problem. (908 bytes, text/plain)
2005-06-21 15:05 UTC, Rich Burridge
Details
Better fix. Forgot to include changes for hex. "A-C". (1.53 KB, text/plain)
2005-06-21 15:14 UTC, Rich Burridge
Details

Description lilingv 2005-06-20 16:26:45 UTC
Distribution: Debian testing/unstable
Package: gcalctool
Severity: major
Version: GNOME2.10.1 5.6.x
Gnome-Distributor: Debian
Synopsis: Failed to convert hex data into other base
Bugzilla-Product: gcalctool
Bugzilla-Component: general
Bugzilla-Version: 5.6.x
Description:
Description of Problem:
Failed to convert hex data into other base

Steps to reproduce the problem:
1. Choose scientific view
2. Choose Hex
3. Press 88
4. Choose Dec
5. Choose Hex
6. Press FF
7. Choose Dec

Actual Results:
88FF

Expected Results:
35071

How often does this happen?
Every time.

Additional Information:
"No sane value to convert" appear on status line.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-06-20 16:26 UTC -------


The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was lilingv@gmail.com.

Comment 1 Rich Burridge 2005-06-20 17:01:23 UTC
Only fails in "Use Arithmetic Operator Precedence" mode, so
assigning to Sami for further evaluation.
Comment 2 Rich Burridge 2005-06-21 15:05:58 UTC
Created attachment 48099 [details]
Patch from Sami to fix the problem.

One thing to note (for both arithmetic and non-arithmetic modes).
When you've typed "88", clicked on Dec and then clicked back to
Hex mode, and you then type in "FF", the "88" is removed first.
In other words, to get the the decimal equivalent of "88FF", you
would need to type in the whole number in one go.
Comment 3 Rich Burridge 2005-06-21 15:14:02 UTC
Created attachment 48101 [details]
Better fix. Forgot to include changes for hex. "A-C".
Comment 4 Rich Burridge 2005-06-21 15:22:45 UTC
Changes checked into CVS HEAD. Version number in configure.in
bumped to 5.6.18.
Comment 5 Rich Burridge 2005-08-18 20:37:10 UTC
*** Bug 313878 has been marked as a duplicate of this bug. ***