Show trailing zeroes active but cannot be disabled in advanced and financial mode

Bug #484306 reported by Robert Ancell
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GCalctool
Fix Released
Low
gcalctool (Ubuntu)
Fix Released
Low
Robert Ancell
Karmic
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Low
Robert Ancell

Bug Description

Binary package hint: gcalctool

Steps to reproduce:
1. Switch to the Scientific view
2. Activate the trailing zeroes setting
3. Switch to the Advanced or Financial view

Result:
The trailing zeroes setting is active but the ability to turn it off is grayed out in the menu.

Expected result:
Trailing zeroes should be turned off when switching.

Changed in gcalctool (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Robert Ancell (robert-ancell) wrote :
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Proposing for stable release update

Impact of bug: Trailing zeroes can be displayed but not able to be disabled (unless user changes back to scientific or programming mode)
Solution: Code change to disable trailing zero option when not in scientific mode
Risk: Low, changes only effect this option

TEST CASE:
1. Open gcalctool
2. Check "show trailing zeroes" menu option is only sensitive in scientific mode
3. Change to scientific mode and enable show trailing zeroes
4. Change to other mode and confirm trailing zeroes are not shown (repeat for all other modes)

(note this change is the same as in bug 483730)

Changed in gcalctool (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted gcalctool into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gcalctool (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Mitch Towner (kermiac)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Mitch Towner (kermiac) wrote :

Bug confirmed.
apt-cache policy gcalctool
gcalctool:
  Installed: 5.28.1-0ubuntu1
  Candidate: 5.28.1-0ubuntu1
  Version table:
 *** 5.28.1-0ubuntu1 0
        500 http://mirror.optus.net karmic/main Packages
        100 /var/lib/dpkg/status

Updated from karmic-proposed
apt-cache policy gcalctool
gcalctool:
  Installed: 5.28.2-0ubuntu1
  Candidate: 5.28.2-0ubuntu1
  Version table:
 *** 5.28.2-0ubuntu1 0
        100 /var/lib/dpkg/status
     5.28.1-0ubuntu1 0
        500 http://mirror.optus.net karmic/main Packages

Performed test case as follows:
1. Open gcalctool
2. Check "show trailing zeroes" menu option is only sensitive in scientific mode
3. Change to scientific mode and enable show trailing zeroes
4. Change to other mode and confirm trailing zeroes are not shown (repeat for all other modes)

In all cases after updating to the SRU, the "show trailing zeros" was able to be changed. SRU verified as fixed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcalctool - 5.28.2-0ubuntu1

---------------
gcalctool (5.28.2-0ubuntu1) karmic-proposed; urgency=low

  * New upstream release:
    - Fix negative exponential detection e.g. "2e−3" = 0.002 (LP: #483730)
    - Only disable trailing zeroes option in basic mode (LP: #484306)
    - Disable ambiguous multiplication with Eulers number, e.g. "2e" as this
      makes exponential numbers confusing (LP: #495551)
 -- Robert Ancell <email address hidden> Fri, 18 Dec 2009 09:58:51 +1100

Changed in gcalctool (Ubuntu Karmic):
status: Fix Committed → Fix Released
Martin Pitt (pitti)
Changed in gcalctool (Ubuntu Lucid):
assignee: nobody → Robert Ancell (robert-ancell)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is fixed in lucid

Changed in gcalctool (Ubuntu Lucid):
status: Fix Committed → Fix Released
Changed in gcalctool:
importance: Unknown → Low
status: Unknown → 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.