False result after special character input

Bug #926676 reported by Werner Holtfreter
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcalctool (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

gcalctool 6.2.0-0ubuntu2 is a great tool to copy, past and calculate formula from a document. Normally, false syntax causes a error message, for example "1+1W+1" --> ERROR. That is OK.

But the result of "1+1Ω+1" is NOT "error" but "2"!

The charakter above is "Omega", but it is the same with other special characters, for example "no-break space". All characters after the special charakter are ignored.

By the way: A nice feature after fix this bug: Immediately marking red and ignoring all caracters which not needed for calculation. For example: 12 V x 2 A --> 24.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gcalctool 6.2.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-15.26-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Feb 4 14:42:28 2012
ExecutablePath: /usr/bin/gcalctool
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: gcalctool
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Werner Holtfreter (holtfreter) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Confirmed on 6.3.4-0ubuntu1 on precise

Changed in gcalctool (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
PioneerAxon (arth-svnit) wrote :

The problem is solved in the master branch on gnome repository[1].
This bug is solved along with gnome bugzilla bug[2].
The fix [3] will be part of next major release of gcalctool.

[1] http://git.gnome.org/browse/gcalctool/log/
[2] http://bugzilla.gnome.org/show_bug.cgi?id=589569
[3] http://git.gnome.org/browse/gcalctool/commit/?id=4acb11b9692e01d40bee2d3c31d582d5de485b31

Changed in gcalctool (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hi PioneerAxon - did you mean to set that to fix committed on gcalctool (Ubuntu)? I don't
think it should be set as such unless that version of the package is in the ubuntu repos
(I've not checked to see if it is )

PioneerAxon (arth-svnit)
Changed in gcalctool (Ubuntu):
assignee: nobody → PioneerAxon (arth-svnit)
assignee: PioneerAxon (arth-svnit) → nobody
Revision history for this message
PioneerAxon (arth-svnit) wrote :

Argh! Sorry for that assignee changes. (Touchpad registered a click at wrong time) :(

Dave, The bug is fixed in Gnome repository only. It will be part of next major release of gcalctool.
The fix is not committed on gcalctool (Ubuntu), as far as I know.
I just changed the status to inform that the bug has been fixed in the gnome repository.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

OK, I'll put it to triaged; the gcalctool(Ubuntu) should only go to Fix committed once someone can confirm the upstream code has made it into the ubuntu package.

Changed in gcalctool (Ubuntu):
status: Fix Committed → Triaged
Changed in gcalctool (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Bugs should be set to fix committed when the fix has been committed somewhere. Triaged means it hasn't been worked on. In this case the bug is solved, but it is not in Ubuntu (it will be set to fix released when that occurs).

Revision history for this message
Matt Fischer (mfisch) wrote :

Fixed in quantal

Changed in gcalctool (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.