Bug#334782: gcalctool: Sqrt button works only when LC_ALL=C
Felipe Almeida Lessa
felipe.lessa at gmail.com
Tue Jan 10 12:03:36 UTC 2006
Package: gcalctool
Version: 5.6.31-1
Followup-For: Bug #334782
Hi!
The problem with the Sqrt button occurs when you try to use
LC_ALL=pt_BR.UTF-8. (I don't know if it happens on others locales too,
but when I execute LC_ALL=C gcalctool it works perfectly).
To see the bug, try:
1) Press the Sqrt button (in pt_BR it's named Raiz).
2) Type, for example, "2".
3) Close the function pressing ")".
4) Calculate with "=".
If you try on LC_ALL=C, it works as expected, if you try on
LC_ALL=pt_BR.UTF-8, it says "Expressão mal formada" (probably "Malformed
expression" in LC_ALL=C).
I think this is a grave bug, and I think it's related with the fact that
the button is named "Raiz" instead of "Sqrt". After fixing this bug,
couldn't you put an universal square root simbol? ;-).
Thanks,
Felipe.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc7-ck1-qos
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pt_BR.UTF-8)
Versions of packages gcalctool depends on:
ii gconf2 2.12.1-8 GNOME configuration database syste
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
ii libaudiofile0 0.2.6-6 Open-source version of SGI's audio
ii libbonobo2-0 2.10.1-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.10.1-1 The Bonobo UI library
ii libc6 2.3.5-11 GNU C Library: Shared libraries an
ii libesd-alsa0 [libesd0] 0.2.36-1 Enlightened Sound Daemon (ALSA) -
ii libgconf2-4 2.12.1-8 GNOME configuration database syste
ii libgcrypt11 1.2.2-1 LGPL Crypto library - runtime libr
ii libglib2.0-0 2.8.5-1 The GLib library of C routines
ii libgnome-keyring0 0.4.6-2 GNOME keyring services library
ii libgnome2-0 2.12.0.1-4 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.12.0-2 A powerful object-oriented display
ii libgnomeui-0 2.12.0-2 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.12.2-3 The GNOME virtual file-system libr
ii libgnutls11 1.0.16-14 GNU TLS library - runtime library
ii libgpg-error0 1.1-4 library for common error values an
ii libgtk2.0-0 2.8.9-2 The GTK+ graphical user interface
ii libice6 6.9.0.dfsg.1-2 Inter-Client Exchange library
ii libjpeg62 6b-11 The Independent JPEG Group's JPEG
ii liborbit2 1:2.12.4-1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.10.2-1 Layout and rendering of internatio
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libsm6 6.9.0.dfsg.1-2 X Window System Session Management
ii libtasn1-2 0.2.17-1 Manage ASN.1 structures (runtime)
ii libx11-6 6.9.0.dfsg.1-2 X Window System protocol client li
ii libxml2 2.6.23-1 GNOME XML library
ii xlibs 6.9.0.dfsg.1-2 X Window System client libraries m
ii zlib1g 1:1.2.3-9 compression library - runtime
gcalctool recommends no packages.
-- no debconf information
More information about the Pkg-gnome-maintainers
mailing list