no commas in gcalctool

Bug #318300 reported by Oleksij Rempel
38
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GCalctool
Fix Released
High
gcalctool (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gcalctool

Just try simple test on ubuntu jaunty amd64:

100/8=125
on hardy it will be:
100/8=12,5

gcalctool version 5.25.4-0

lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gcalctool
Package: gcalctool 5.25.4-0ubuntu1
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gcalctool
Uname: Linux 2.6.28-4-generic x86_64

Tags: apport-bug

Related branches

Revision history for this message
Oleksij Rempel (olerem) wrote :
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Works for me. This might be locale specific. What locale do you use? To find this out, please post the output of "locale".

Thanks

Changed in gcalctool:
status: New → Incomplete
Revision history for this message
Oleksij Rempel (olerem) wrote : Re: [Bug 318300] Re: [jaunty] no commas in gcalctool

This working just fine:
LC_ALL="us_EN.UTF-8" gcalctool

I use:

locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

Revision history for this message
Chris Coulson (chrisccoulson) wrote : Re: [jaunty] no commas in gcalctool

Confirmed with de_DE.UTF-8. I will send this upstream shortly. Thanks for reporting.

Changed in gcalctool:
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=568191

Changed in gcalctool:
status: Confirmed → Triaged
Changed in gcalctool:
status: Unknown → New
Changed in gcalctool:
status: New → Invalid
Oleksij Rempel (olerem)
Changed in gcalctool:
status: Invalid → Unknown
Changed in gcalctool:
status: Unknown → New
Changed in gcalctool:
assignee: nobody → desktop-bugs
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This is now fixed upstream for 5.25.91

Changed in gcalctool:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
gcalctool (5.25.91-0ubuntu1) jaunty; urgency=low

  * New upstream version (LP: #330553).
    - Initialise GType system so usage of GConf doesn't cause crashes
      (Matthias Clasen)
    - Rework command-line arguments to be standard (Robert Ancell)
    - Correctly handle decimal points for languages not using '.' (Robert
      Ancell) (LP: #318300)
    - Fix shortcut keys so standard menu keys work (Robert Ancell)
    - Updated documentation.
    - Updated translations.

 -- Christophe Sauthier <email address hidden> Tue, 17 Feb 2009 09:48:43 +0100

Changed in gcalctool:
status: Fix Committed → Fix Released
Changed in gcalctool:
status: New → Fix Released
Changed in gcalctool:
importance: Unknown → High
Revision history for this message
Mark Smith (mark-launchpad-d) wrote :

I am affected by the missing comma problem. I am running gcalctool 6.4.1.1 (as reported with gcalctool --version) and 6.4.1.1-0ubuntu3 (as reported by dpkg-query -l gcalctool) on Ubuntu 12.04.3 LTS which is up to date as of today.

When I run gcalctool from a terminal, it outputs the following at exactly the time it should be outputting a comma (e.g. i type in 1000 into the gcalctool):

(gcalctool:8733): Gtk-WARNING **: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created. You must use marks, character numbers, or line numbers to preserve a position across buffer modifications. You can apply tags and insert marks without invalidating your iterators, but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset) will invalidate all outstanding iterators

I am using English, but there may be something set for NZ somewhere hidden. When I examine my environment, there are no LC variables set:

     $ env | grep LC

when i run gcalctool as follows it displays a comma, yet still outputs the same Gtk-WARNING as above:

     LC_ALL=en_NZ.UTF-8 gcalctool

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.