After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 574358 - Impossible to type a decimal point
Impossible to type a decimal point
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
5.24.x
Other All
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-06 09:46 UTC by gedeon13
Modified: 2011-03-29 14:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description gedeon13 2009-03-06 09:46:52 UTC
Please describe the problem:
I can't seem to type a decimal point in the calculator. There are several workaround to get one (click on the corresponding button, hit enter to get the trailing zeroes and then edit the decimal part) but this renders the calculator almost unusable anyway...

And no, my "." key is not broken.

I recently upgraded from Gutsy to Hardy and never noticed the problem before, so I guess this was introduced in Hardy.

It might be also worth mentioning that I live in Belgium and have configured the appropriate keyboard layout, which means I have to hit shift to be able to enter a decimal point and it might be that gcalctool totally ignores the shift key. I just noticed it ignores the CAPSLOCK state, so that seem plausible. I find it barely believable, but this option might be worth investigating...

For what it's worth, I also get the same problem with another user on the same machine, and even on another computer (a desktop computer). 

Some (possibly) interesting facts I discovered since the initial bug report:
- the "." key *in the numeric pad* on my Desktop computer produces a decimal point as expected.
- the "." key in the "emulated numpad (Fn key + xxx)" of my laptop works fine.
- Using the French locale it works fine (but keep in mind that in the French locale, the decimal separator is a comma "," and not a dot, and one doesn't need shift to type one).

Not sure this can help, but here is the output of "locale":

ged@plaf:~/ > locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Steps to reproduce:
1. type a digit
2. try to type a decimal point
3. 


Actual results:
The title of the window flashes and no decimal point appears.

Expected results:
A decimal point to appear

Does this happen every time?
Yes

Other information:
Initially reported on launchpad at:

https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/269303
Comment 1 Robin Sonefors (ozamosi) 2009-03-06 11:14:18 UTC
I think this bug was fixed in 5.25.2. Trying to reproduce this with the latest development version failed for me. Could you please try with 5.25.2 or later, and see if it's still broken?

When I implemented the Inv shift toggle in #379476, I made gcalctool's shortcuts ignore if the user is holding shift or not, and only care about which character the keyboard is emitting, for the approximately same reasons this bug mentions.
Comment 2 gedeon13 2009-03-09 10:08:06 UTC
I confirm this as fixed in gcalctool_5.25.91-0ubuntu1_i386.deb
Comment 3 nathanael_syx 2011-03-29 14:35:57 UTC
I'm having this problem again with 5.32.2
Also with azerty keyboard and belgian layout.
I can't use the point from the numpad to type a comma in the calculator anymore.

Other people have it as well
https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/697315
http://www.mail-archive.com/desktop-bugs@lists.ubuntu.com/msg489592.html