← Back to team overview

ubuntu-bugcontrol team mailing list archive

[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

 

Ubuntu Bug Control team, please nominate the bug for trusty. Thanks.

** Description changed:

  Micro-release 3.10.3 in utopic fixes Bug #1209326 and Bug #1362919.
  
- Overview of changes in gnome-calculator 3.10.3
- https://download.gnome.org/sources/gnome-calculator/3.10/gnome-calculator-3.10.3.news
- 
-     * Update translation
-     * Fix crash on super/subscript buttons
-     * Fix previous answer on undo --> (Bug #1209326)
-     * Fix segfault on repeated undo
+ 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=
  
- Please test it and SRU to trusty.
+ 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)

-- 
You received this bug notification because you are a member of Ubuntu
Bug Control, which is subscribed to the bug report.
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-calculator/+bug/1209326/+subscriptions