[Bug 521038] Re: Backspace deletes all input

2010-02-21 Thread Robert Ancell
Thanks Ondřej, fixed in 5.29.91 To reproduce: 1. LC_NUMERIC=it_IT.UTF-8 gcalctool 2. Enter 1234 3. Press backspace Expected: 123 is displayed Observed: is displayed ** Changed in: gcalctool (Ubuntu) Status: Triaged = Fix Committed -- Backspace deletes all input

[Bug 521038] Re: Backspace deletes all input

2010-02-21 Thread Launchpad Bug Tracker
This bug was fixed in the package gcalctool - 5.29.91-0ubuntu1 --- gcalctool (5.29.91-0ubuntu1) lucid; urgency=low * New upstream release: * Fix bug where backspace deletes all input in locales with no thousands separator (LP: #521038) * Make boolean operations work

Re: [Bug 521038] Re: Backspace deletes all input

2010-02-19 Thread Nicolò Chieffo
try to put this in ~/.profile unset LC_ALL export LANGUAGE=en_US.UTF-8 export LANG=$LANGUAGE export LC_CTYPE=it_IT.UTF-8 export LC_NUMERIC=it_IT.UTF-8 export LC_TIME=it_IT.UTF-8 export LC_COLLATE=it_IT.UTF-8 export LC_MONETARY=it_IT.UTF-8 export LC_PAPER=it_IT.UTF-8 export LC_NAME=it_IT.UTF-8

[Bug 521038] Re: Backspace deletes all input

2010-02-19 Thread Ondřej Surý
I don't think it's locale related. More like xkbmap related. If you diff src/gtk.c, you'll find out they have added new keyboard shortcuts CTRL-BKSP and SHIFT-DEL to clear whole display. But apparently something is wrong in that function. Ondrej -- Backspace deletes all input

Re: [Bug 521038] Re: Backspace deletes all input

2010-02-19 Thread Nicolò Chieffo
If so, I have set the keymap to italian, can you try if this triggers the bug? -- Backspace deletes all input https://bugs.launchpad.net/bugs/521038 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gcalctool in ubuntu. -- desktop-bugs

[Bug 521038] Re: Backspace deletes all input

2010-02-19 Thread Ondřej Surý
I have traced it down to display_insert(), so after all it is locale related, see attached patch: diff -urNap gcalctool-5.29.90~/src/display.c gcalctool-5.29.90/src/display.c --- gcalctool-5.29.90~/src/display.c2010-02-09 06:14:11.0 +0100 +++ gcalctool-5.29.90/src/display.c

[Bug 521038] Re: Backspace deletes all input

2010-02-19 Thread Ondřej Surý
BTW you are stripping all thousands separators when cursor_start isn't -1 in display_insert() call. -- Backspace deletes all input https://bugs.launchpad.net/bugs/521038 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gcalctool in

[Bug 521038] Re: Backspace deletes all input

2010-02-19 Thread Ondřej Surý
This bug was reintroduced in 0be7b51e, so maybe better fix is to revert that small change, so it does adhere to your coding standards: @@ -430,7 +473,7 @@ display_insert(GCDisplay *display, int cursor_start, int cursor_end, const char use = FALSE; /*

[Bug 521038] Re: Backspace deletes all input

2010-02-18 Thread Robert Ancell
I'm playing around with locales and keyboard layouts but still not reproducing. -- Backspace deletes all input https://bugs.launchpad.net/bugs/521038 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gcalctool in ubuntu. -- desktop-bugs

[Bug 521038] Re: Backspace deletes all input

2010-02-17 Thread Nicolò Chieffo
I'm experiencing the same bug. I have a very similar locale as Ondřej Surý, that is LANG,LANGUAGE and LC_MESSAGES set to en_US.UTF-8, but others set to my locale it_IT.UTF-8. Robert Ancell, can you please see if changing the locale as we did triggers the bug? -- Backspace deletes all input

[Bug 521038] Re: Backspace deletes all input

2010-02-15 Thread Ondřej Surý
kbmap used is: us and cz locale: LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE=cs_CZ.UTF-8 LC_NUMERIC=cs_CZ.UTF-8 LC_TIME=cs_CZ.UTF-8 LC_COLLATE=cs_CZ.UTF-8 LC_MONETARY=cs_CZ.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=cs_CZ.UTF-8 LC_NAME=cs_CZ.UTF-8 LC_ADDRESS=cs_CZ.UTF-8 LC_TELEPHONE=cs_CZ.UTF-8

[Bug 521038] Re: Backspace deletes all input

2010-02-15 Thread Robert Ancell
Using 5.29.90-0ubuntu1 on latest Lucid, did a fresh install and see the same behaviour. If you guys have some programming experience please download from source and try poking around in src/gtk.c main_window_key_press_cb() and see if you can catch anything going wrong. -- Backspace deletes all

[Bug 521038] Re: Backspace deletes all input

2010-02-15 Thread Robert Ancell
(by same behaviour I mean it's still working correctly for me) -- Backspace deletes all input https://bugs.launchpad.net/bugs/521038 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gcalctool in ubuntu. -- desktop-bugs mailing list

[Bug 521038] Re: Backspace deletes all input

2010-02-14 Thread Robert Ancell
What language/keyboard layout are you using? -- Backspace deletes all input https://bugs.launchpad.net/bugs/521038 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gcalctool in ubuntu. -- desktop-bugs mailing list

[Bug 521038] Re: Backspace deletes all input

2010-02-14 Thread Robert Ancell
I'm not reproducing this, I do the following: 1. Open GCalctool 2. Type: 2+1+34+2+1 display shows 2+1+34+2+1 3. Press backspace display show 2+1+34+2+ ** Changed in: gcalctool (Ubuntu) Status: Confirmed = Triaged ** Changed in: gcalctool (Ubuntu) Importance: Undecided = Medium --

[Bug 521038] Re: Backspace deletes all input

2010-02-14 Thread Monkey
I´m using Spanish but before I used English. -- Backspace deletes all input https://bugs.launchpad.net/bugs/521038 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gcalctool in ubuntu. -- desktop-bugs mailing list

[Bug 521038] Re: Backspace deletes all input

2010-02-12 Thread Ondřej Surý
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/39102148/Dependencies.txt ** Attachment added: ProcEnviron.txt http://launchpadlibrarian.net/39102150/ProcEnviron.txt -- Backspace deletes all input https://bugs.launchpad.net/bugs/521038 You received this bug

[Bug 521038] Re: Backspace deletes all input

2010-02-12 Thread Monkey
I´ve confirmed this bug. I have this problem each time that I do Backspace. Thank You for making Ubuntu better. ** Changed in: gcalctool (Ubuntu) Status: New = Confirmed -- Backspace deletes all input https://bugs.launchpad.net/bugs/521038 You received this bug notification because you