gnome-calculator incorrect use of dot/comma

Bug #1814454 reported by corrado venturini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-calculator (Ubuntu)
Expired
Low
Unassigned

Bug Description

Pressing numeric keypad delete/dot has strange behavior
Having locale LC_NUMERIC=it_IT.UTF-8 gnome-calculator get the dot only in 1st position, then after 1st position pressing numeric keypad delete does nothing and i have to press num lock to have the comma i need because my locale.
Having locale LC_NUMERIC=it_IT.UTF-8 gnome-calculator should interpret the numeric keypad delete/dot as a comma according locale.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-calculator 1:3.30.1-1ubuntu1
ProcVersionSignature: Ubuntu 4.18.0-11.12-generic 4.18.12
Uname: Linux 4.18.0-11-generic x86_64
ApportVersion: 2.20.10-0ubuntu19
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Feb 3 15:41:06 2019
ExecutablePath: /usr/bin/gnome-calculator
InstallationDate: Installed on 2019-01-22 (12 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190122)
SourcePackage: gnome-calculator
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.

At a minimum, we need:
1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected.
3. The behavior you actually encountered (in as much detail as possible).
Thanks!

Changed in gnome-calculator (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
corrado venturini (corradoventu) wrote :

I open gnome-calculator in basic mode.
Remember: I have locale LC_NUMERIC=it_IT.UTF-8 where decimal separator is comma.

I perform all following operations using the numeric keypad.
i press the canc/dot key (bottom right) and then '5*7'
in the entry box i see '.5x7'
i hit enter
in the history box i see '.5x7 = 3,5'
so i entered dot and calculator interpreted the dot as comma - see my attachment

in the entry box i try to enter '4.5' but i see only '4' the canc/dot key does nothing
in other words the canc/dot key act as 'dot' only in 1st position.

if i hit the num lock key the num-lock LED lights up and pressing the canc/dot key i see a comma.

if i set locale LC_NUMERIC to US gnome calculator works fine

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

[Expired for gnome-calculator (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-calculator (Ubuntu):
status: Incomplete → Expired
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.