Issue 7467 - Q-PCD relevant: Dot vs. Comma in int'l keyboard layouts
Summary: Q-PCD relevant: Dot vs. Comma in int'l keyboard layouts
Status: CLOSED DUPLICATE of issue 1820
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: PC All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: stephan_schaefer
QA Contact: issues@sc
URL:
Keywords:
: 7341 8695 22725 23945 24077 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-09-03 14:11 UTC by moy
Modified: 2013-08-07 15:15 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description moy 2002-09-03 14:11:14 UTC
I'm french, so, supposed to use a comma as a decimal separator (like "1,2" and
unlike "1.2").

When I make the mistake and type "1.2", OpenOffice.org converts it into a date
(e.g. "February 1st"), and changes the format of the cell from number to date.
This is very enoying to cancel.

This is a nice feature, but it should be possible to disable it.

Anyway, I think that "1.2" should always be interpreted as a number, even with
french locales.

[My father refused to move from XL because of that feature :-( ]
Comment 1 lars 2002-09-03 16:16:01 UTC
also in german version; probably in all european versions


1.0 becomes 01.01.00 for example and this isn't really reasonable.

+ it's uncomfortable to change the mask back.

So keeping this behaviour will be unwanted in most cases.


Or (/and) use the warning technique as in issue 7185.

The window could then contain a tick field "don't recognize this as 
01.01.00 in the future" next to the things mentioned in above issue.
Comment 2 lars 2002-09-03 16:16:58 UTC
*** Issue 7341 has been marked as a duplicate of this issue. ***
Comment 3 lars 2002-09-04 15:59:51 UTC
1.0 ->perhaps     Jan.2000
1.2 ->perhaps     Jan.2nd
      or      1st.Feb

consistency?

No, standard cell mask is number mask "Standard", so conversion is 
defect.
Comment 4 frank 2002-11-28 14:02:00 UTC
Hi Matthieu,

this is not a bug but could be seen as an RFE. So I set the flags.

Frank

Hi Falko,

1 4 u
Comment 5 pjoyez 2002-11-29 08:42:54 UTC
I'am french too. My french-layout keyboard has a numeric keypad with 
a dot as decimal separator, as most french users, I guess. But by 
default when you're french (and most other non-us settings are the 
same) Calc _requires_ a comma as decimal separator. Like described in 
this issue, if I try to enter decimal numbers with my numeric keypad, 
which is the most basic operation one wants to perform with a 
spreadsheet program, they are either recognized as text or converted 
to dates. But this also happens if you import data or use copy-paste 
from another program. Note that the date conversion is irreversible : 
if you reset it as "number" format, you don't recover the value.

I know there are a few workaround for this problem, but they are 
_very_ anoying to implement. Ooo just should not behave like this, 
period. 

BTW the date format with dots (eg 29.11) is absolutely uncommon over 
here since it would normally be mistaken for a number. We rather use 
dash or slash. So this conversion should not trigger unless two dots 
appear in the "number". 

I am surprised this is not recognized as a bug. All right, the code 
behaves as designed, but then the design is wrong. For me it's 
obvious that it is a very serious _bug_ since it makes Calc unusable 
for the vast majority of non-us users. Try for yourself to convince 
someone that this is not a bug...

For as long as this problem persists (643 still has it), non-us 
people will stick with excell without a doubt. It needs to receive 
serious and rapid attention.
Comment 6 moy 2002-12-02 14:13:11 UTC
I agree with Philipe. Don't use that old "This is not bug, it's feature".

But truely, if you have a cell of type number, and if you type 1.2 in
it, EVERYBODY will expect it to be interpreted as a number, as it is
the type of the cell. (keep in mind that the . is where you expect to
find a decimal separator in the numeric keypad of french keyboards ...)

Probably the best solution is simply to allow the dot as a decimal
separator in any locales, as MS XL does.
Comment 7 fousage 2003-05-01 16:56:19 UTC
I want to join to insist on the seriousness of this problem that:
(1) prevents one to fully use the keypad to enter numbers, which is
really tiring;
(2) cause the accidental input of totally wrong numbers, as a faulty
number is converted in a date-number even inside a formula in a cell
formatted as a number (not a date).

As using the keypad's dot does work in every other software I use (and
I think that this is the case for most other people), I often make the
mistake and this makes Calc really awkward to use... Too awkward to use.


Philippe (aka Fousage)
Comment 8 pjoyez 2003-05-05 21:30:16 UTC
The dot vs. comma on the numeric keypad is day-to-day annoyance for
scores of users of localized versions. For instance, since its origin
about one year ago, the users_fr@lang.openoffice.org forum has
received about 120 messages on this topic, and it is of course one of
the FAQs. 120 may not seem a lot, but don't forget it's not specific
problem with the fr version (see Lars' post above). Obviously some
people are spending a lot of time fighting this little oddity of OOo.
I'm afraid many would-be users do not even try to fight and may just
think that if such a basic thing is not working "naturally" then the
rest must really be terribly bad... 
Comment 9 moy 2003-05-06 22:48:47 UTC
I /may/ try to fix this if I have time.

Can anyone give me an advice of how to do this ? Where is it implemented ?

Thanx.
Comment 10 pjoyez 2003-06-04 21:43:34 UTC
this issue is not a duplicate of #1820 (the most voted-for issue), but
it is closely related with it. I guess they could both receive a same fix.
Comment 11 falko.tesch 2003-10-27 09:30:22 UTC
*** Issue 8695 has been marked as a duplicate of this issue. ***
Comment 12 falko.tesch 2003-11-04 16:48:43 UTC
changed title and target
Comment 13 frank 2003-11-24 10:00:37 UTC
*** Issue 22725 has been marked as a duplicate of this issue. ***
Comment 14 dashorst 2003-12-30 00:39:13 UTC
*** Issue 23945 has been marked as a duplicate of this issue. ***
Comment 15 lcn 2004-01-04 18:24:32 UTC
Language found in issuezilla affected by this problem : Belgian, Czech (to 
verify), Dutch, French, Spanish (to verify), Slovak (to verify).

More language ?

But, in general, which languages are concerned ?
Comment 16 bbouwens 2004-01-04 19:01:27 UTC
This is not just an enhancement, it's a serious bug!
I'm Dutch, and I can assure you that under no circumstances something like 1.2
can be interpreted as a date in the Dutch locale. 
24077 closed as being a duplicate of this bug.
Comment 17 bbouwens 2004-01-04 19:22:21 UTC
*** Issue 24077 has been marked as a duplicate of this issue. ***
Comment 18 lcn 2004-01-13 19:52:05 UTC
Maybe, issue 20181 (Provide temporary fix for comma / dot on Keypad) and issue 
1820 (Inputting decimal numbers with Spanish (Spain) keyboars in StarCalc) 
should be resolved first (And I hope very quickly).

And after, see how "." (dot) should be interpreted in French, Dutch, Spain, 
German,... Text ? Date ? Decimal value ?...
Comment 19 falko.tesch 2004-02-02 13:59:36 UTC
FT: Spec written and put to 
http://specs.openoffice.org/g11n/numpad_status/Setting_of_Numpad_Decimal_Separator.sxw
Comment 20 stephan_schaefer 2004-02-03 11:32:10 UTC
As bug 1820 has an older history and is about the same subject, I will close
this one here. The pointer to the spec can be found in bug 1820 as well.


*** This issue has been marked as a duplicate of 1820 ***
Comment 21 stephan_schaefer 2004-02-03 11:48:56 UTC
closing duplicate
Comment 22 dolmen 2008-02-02 11:14:22 UTC
If you read the original description of the issue, it is not about the keypad,
so it is not a duplicate of issue 1820.

When you type 1.2 on locale French/France (where decimal separator is ",") in
Excel the Standard formating maps to text.
However in OOo you input is translated to a date : 01/12/2008.
The date separator in France is '/', not '.'.

Of course, combined to issue 1820, this make the user crazy. But, please, don't
mix the issues: they are different problems that require different solutions.

Bug verified on OOo 2.3 on Ubuntu 7.10 and reported there as bug 163809.
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/163809
Comment 23 dolmen 2008-02-02 11:26:11 UTC
added cc self
Comment 24 dolmen 2008-03-15 01:44:37 UTC
Please, reopen the bug. It is still valid.

I reported it as present in OOo 2.3 on Ubuntu 7.10 here:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/163809
Comment 25 dolmen 2008-03-15 01:52:29 UTC
The summary should be changed to "OOo Calc auto corrects decimal numbers with
dot to dates".

On locale fr_FR, the decimal separator is ',' and the date separator is '/'.
There is no reason to convert "19.4" to "19/04/2008".
Comment 26 bbouwens 2008-03-15 11:17:58 UTC
I kind of support this. It appears that ticket 1820 is `solved' by having
the '.' key on the numeric keypad produce a ',' now.
I never use the numeric keypad, I just use the normal decimal keys, for
me that's easier. When I enter 1.3 it is still converted to a date, which
IMHO is still broken (in the Dutch locale at least). The same behaviour
I used to observe when importing CSV files, which has obviously nothing
to do with keyboards. This I have also verified today on version 2.3.0
Comment 27 renatoyamane 2008-07-25 01:09:22 UTC
Why the hell 1.2 is converted to February 1st?

1.2 is 1.2

I think that we need reopen this bug report, because OOo can not change what I type!

If I type 1.2, leave my input as 1.2

If I have two 2 colluns:
Car ............ Enginee(cc)
Ferrari ........ 5.8

OOo AUTOMATICALY convert this to:
Car ............ Enginee(cc)
Ferrari ........ August 5

Best regards,
Renato S. Yamane
Comment 28 f.a.b.i.o 2009-12-09 09:04:17 UTC
To renatoyamane:

I think that this issue inst about autoconvert text to date. If do you want
correct go to issue 33723 and vote for it.