Bug#234902: libgtk2.0-0: "." key makes a ","

Lionel Elie Mamane Lionel Elie Mamane <lionel@mamane.lu>, 234902@bugs.debian.org
Thu, 26 Feb 2004 15:59:42 +0100

Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 26, 2004 at 03:35:15PM +0100, Josselin Mouette wrote:
> Le jeu 26/02/2004 =E0 15:07, Lionel Elie Mamane a =E9crit :

>> I recently started using Gnome2 and other GTK+2 apps, and in all of
>> them, the "." key of the keypad gives a comma instead of a point!

>> Locale: LANG=3Dfr_LU@euro, LC_CTYPE=3Dfr_LU@euro

> That's the way it should be: in your locale, the decimal separator
> is the comma, not the point.

I don't see the relationship: This key is not marked "Decimal
Separator", it is marked "." . The principle of a keyboard is that
pressing a key with a character on it produces the _same_ character on
the computer.

My computers (Apple II, IBM PC under MS-DOS, MS-Windows, Linux
console, X on Linux, OpenBSD console, with French azerty, belgian
azerty, swiss, uk and us keyboards, Novell servers console, ...) have
_always_ produced a "." when I pressed any key marked ".". As have, as
far as I have noticed, the Amiga's and Mac's of friends I used once or
twice. That's intuitive. Your "Decimal Separator" talk is
counter-intuitive: Suddenly, every time I press a key I have to think
"Oh, does this key really mean what is engraved on
it?". Counter-intuitive. Inconsistent with (nearly) 20 years of X, 30
or 40 years of computers, gtk1, Qt3, tcl/tk, ...

Please don't make computers more difficult to use than they already
are. Keep it simple: Pressing a key with a character engraved on it
produces this character.

Besides, even if your "Decimal Separator" talk would make sense, then
this should be made at the _X_ level, not in one of the many toolkits
around. Then XLookupString should say ",".

> If you want to have the default (English) decimal separator, just
> set LC_NUMERIC=3DC in /etc/environment.

But then, programs show me numbers in the English way. I don't want

Best Regards,

Lionel Elie Mamane

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (GNU/Linux)