Ok this seems to reliably reproduce on my end - v3.3 on Windows release, or maint on Ubuntu 1. Go to a normal register 2. Tab to description, enter one previously-used description (important) 3. Tab out to debit/credit amount column - notice the amount previously associated with description is preloaded (nice) and selected, waiting to be overwritten 4. Hit 'CTRL' or 'ALT' 5. Notice the selection text is now amended in a random manner. There are other triggers too - I'm trying to amend description by using standard keys CTRL-LEFT/RIGHT CTRL-V to paste too, and suddenly part of description is not deletable anymore.
I think I've fixed this. Please try https://sourceforge.net/projects/gnucash/files/Development/gnucash-3.3-2018-10-27-git-3.3-49-g7280712c8%2B.setup.exe/download.
Better behaved (left/right now works) but still present. 1. TAB to Description cell 2. Type a few letters from a previously used Description 3. TAB: cursor goes to the amount cell 4. Press SHIFT/CTRL etc - selection changes randomly
I can't replicate that. Consider that the selection in the description field is marked by the cursor position, which will be after the letters you entered and the end. E.g. if you typed in "abc" the selection would be 3 to the end. With that in mind is the selection in the debit/credit field really random or is it between the same starting point (3 in the e.g.) and the end of the pre-existing value? After that selection appears is it constant or does it change when you press a modifier key again? If you press an arrow key or even a modifier key (shift, ctrl, alt) before tabbing out of the Description cell do you
^ This is a good guess; not random at all 1. TAB to Description cell 2. Type a few letters from a previously used Description - eg "Gr" (for Groceries) 3. TAB: cursor goes to the amount cell - say the previous amount was "202.10" -- whole "202.10" is selected 4. Press SHIFT/CTRL/ALT etc - selection skips first 2 chars of the 202.10 - 20"2.10" If I typed "Gro" selection skips 3 chars 202".10" when pressing SHIFT/CTRL/ALT If I typed "Groc" selection skips 4 chars 202."10" instead -- Pressing <ARROW> <HOME> or <END> before tabbing out of description first does *nothing*, but on pressing again, seems to work.
Try this one: https://sourceforge.net/projects/gnucash/files/Development/gnucash-3.3-2018-10-28-git-3.3-50-gf84a11e67+.setup.exe
Seems to have worked. At least the CTRL-V/CTRL-C is working.
OK, pushed. It will be in tomorrow's nightly should you want something more official.
All good, thank you
Another case for current maint 9-Nov-2018 1. Say there are previous Description e.g. "Groceries" 2. Enter another transaction, start typing "Gro" (result = "Gro"ceries) 3. Press <END> or <HOME> to try move cursor to end/start of field (nothing happens) 4. Press <END> or <HOME> to actually move to end/start of field (this works)
They needed to be added to the cursor-key handling block in gnucash_sheet_key_press_internal().