desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #72111
[Bug 1209326] Re: SRU micro-release (MRE) 3.10.3 from utopic to trusty - calculator fails to do proper calculatoins after CTRL+Z and Enter
On 2014-09-24 07:51, Chris Malton wrote:
> @Gunnar - Are you suggesting that the update from 3.10.2 to 3.10.3
> should be provided as a patch in debian/patches? Surely this isn't
> the right way to package a new upstream micro release?
Ok, I missed that it involves a new upstream version. Sorry.
> As per section 6 in https://wiki.ubuntu.com/StableReleaseUpdates, I
> believe the right way to ship this is to ship the new upstream
> microrelease, which I believe Amr has done, and provided a debdiff.
You may be right. I'm not familiar enough with this package to have an
opinion.
> Where is Leon's patch for Saucy? I can't see it on this bug report.
It's a merge proposal. Link just below the bug description.
--
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/1209326
Title:
SRU micro-release (MRE) 3.10.3 from utopic to trusty - calculator
fails to do proper calculatoins after CTRL+Z and Enter
Status in GNOME Calculator:
Fix Released
Status in “gnome-calculator” package in Ubuntu:
Fix Released
Status in “gnome-calculator” source package in Trusty:
Triaged
Bug description:
Micro-release 3.10.3 in utopic fixes Bug #1209326 and Bug #1362919.
The update fixes these issues:
* Fix crash on super/subscript buttons
* Fix previous answer on undo --> (Bug #1209326)
* Fix segfault on repeated undo
* Update translation
I've backported the package from utopic to trusty without any changes
to my PPA
https://launchpad.net/~amribrahim1987/+archive/ubuntu/ppa/+packages?field.name_filter
=gnome-calculator&field.status_filter=published&field.series_filter=
I've attached a diff file. Please test and SRU to trusty.
[Impact]
This bug gives wrong results when undo is used.
[Test Case]
1. Open calculator and type "5000/60" followed by <Enter>. The
calculator produces the right answer, 83.333...
2. Type "/60" followed by <Enter> to divide by 60 again. The
calculator again produces the right answer, 1.388...
3. Press <ctrl>-Z to undo the last calculation.
4. Press <backspace> twice to delete the last "60".
5. Type "12" followed by <Enter>, to divide by 12 instead.
The calculator gives the wrong answer.
[Regression Potential]
The fixes themselves could introduce new bugs.
-----------------------------------------------------------------------------
I found this bug trying to redo a calculation. Do a calculation maybe
with decimals like I did and then press CTRL+Z and hit enter and you
should see the bug.
It's making a bad calculation after these steps.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gnome-calculator 1:3.8.1-0ubuntu1
Uname: Linux 3.10.2-031002-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Wed Aug 7 13:08:05 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-07-10 (28 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: gnome-calculator
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-calculator/+bug/1209326/+subscriptions