GNOME Bugzilla – Bug 344060
Keypad decimal key doesn't work in register with "French (alternative)" keyboard layout
Last modified: 2018-06-29 21:07:17 UTC
Please describe the problem: Keypad decimal key doesn't work in register. So it is PS : Thanks a lot to developers for all their hard work on Gnucash ! Steps to reproduce: 1. Open a Gnucash file with at least one account 2. Open an account 3. Try to create a new transaction with '42.42' in "Withdrawal" using the keypad Actual results: Keypad decimal key does nothing (so you end up with '4242' when you try to enter '42.42') Expected results: Keypad decimal key should be mapped to the correct decimal character for the locale ('.' or ','). Does this happen every time? Yes. Other information: Tested on Ubuntu Dapper with the following locale : fr_FR.UTF-8 en_US.UTF-8 I use the following package : http://www.ubuntuforums.org/showpost.php?p=1101959&postcount=48
Which Keyboard layout are you using? Is it "French (alertative)"? Can you reproduce with the "English" or even "French" layouts?
I changed my keyboard layout using Gnome preferences from "French Alternative" to "French" and it worked fine under both locale. Also works fine with "English" layout. I do not know with my Dapper install was using "French Alternative" (it seems to be the default) : I am going to look into this. Thanks for your quick answer.
Sorry ... it worked with all three? Or just French and English? Of the 3, I can only repro with "French (alternative)", which has a weird "doubling" of codes assigned to the keypad delete key.
Sorry for not being clear. It worked with "French" and "English" under both locale (fr_FR.UTF-8 and en_US.UTF-8) I doesn't work with "French Alternative" under both locale (fr_FR.UTF-8 and en_US.UTF-8). "French Alternative" being the default for Dapper install in french (or so it seems).
I still see this behavior with Gnucash 2.0.5 under Ubuntu Feisty. I don't know if it is a problem with Gnucash or the "French Alternative" keyboard layout. Feel free to close this bug if you think the latter applies.
I can also confirm this bug on a Canada default keybord. Notice that this problem never happen with the right num section of my keyboard, only the dot key near of the "Alt" and "Ctrl" key.
Behavior update under Ubuntu 8.04 and Gnucash 2.2.4 With locale fr_FR.UTF-8 and keyboard layout "French" (or "French Alternative"), The "Keypad decimal" key does nothing when used in Deposit/Withdrawal fields in registers. Everywhere else it produces a dot ".". Which is not perfect : for example, in the reconcile dialog, in the "Ending balance" field, it should produce a comma "," in the fr_FR.UTF-8 locale. Everything seems to work fine under the en_US.UTF-8 locale.
After reading this bug report in Ubuntu : https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/188342 I think this bug doesn't lie in Gnucash but in xkeyboard-config. What do you think ?
(In reply to comment #8) > After reading this bug report in Ubuntu : > https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/188342 > I think this bug doesn't lie in Gnucash but in xkeyboard-config. > What do you think ? looks very much like it. closing for gnucash. Feel free to reopen if anything comes up to suggest this is a gnucash bug after all.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=344060. Please update any external references or bookmarks.