Red Hat Bugzilla – Bug 213329
Decimal point on numeric pad, Estonian keyboard, doesn't work in oocalc
Last modified: 2007-11-30 17:11:47 EST
Description of problem:
I am unable to use the "decimal point" key on the numeric pad of an Estonian
keyboard for entering numbers. Although this key indicates a period, the
Estonian locale uses a comma for its "decimal separator key". That is, if you
entered "123.45" using the numeric keypad, it used to get translated to "123,45"
in previous releases of oocalc (version 2). Now it stays as "123.45". This
problem may appear for other locales that use the comma as the decimal separator.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. You may need to install openoffice.org-langpack-et_EE (Estonian).
2. You may also need to tell gnome that you are using an Estonian keyboard.
3. Start oocalc.
4. Go to Tools -> Options -> Language Settings -> Languages
Change the Locale setting to Estonian.
5. Click OK and exit oocalc.
6. Start oocalc again.
7. Turn on Num Lock.
8. Using the numeric pad, enter 123.45 in a cell.
9. Enter 123,45 in a different cell.
The 123.45 gets entered as a (left justified) character string because it
contains a period.
The 123,45 gets entered as a (right justified) number.
Both cells should contain (right justified) numbers appearing as 123,45.
This was supposed to work out of the box and give a 123,45 when 123.45 was
entered from a numeric keypad.
Exactly. Didn't work with OOo v1, but started working with OOo v2. I didn't
test this in the FC6 test versions, so I don't know when it stopped working, but
it works correctly in FC5.
Maybe something in xkeyboard-config that changed what oocalc receives when the
numeric decimal is pressed. I'm currently at xkeyboard-config-0.8-7.fc6.
In case it helps, here are the scan codes for numeric pad decimal key when
running "showkey -s" on a virtual console:
The problem here is that another fix, that of bug 203872 conflicts with the "."
to "," conversion. Fix checked into to devel and FC-6 updates, will be in next
update for OOo