[GNC] Bug in account selection section of register

Colin colinfarndt at gmail.com
Mon Jul 20 03:18:51 EDT 2020


Hi John,

Thanks for the quick reply. I can see my description of the issue was not
very clear, because what I experienced was a clear and annoying bug. But I
solved it after recognizing the type-ahead search was only searching among
top-level account names. And then inferred the issue was the result of
using a custom account separator character. I had set it to "." because
that only takes 1 keystroke on a US keyboard, whereas ":" takes 2
keystrokes.

When I changed "." back to the default ":" the issue went away. I've gone
ahead and filed a bug so this issue in type-ahead search can be addressed
for anyone else using a period as their separator. For me changing back to
the default is satisfactory. The new type ahead is great, because it means
I don't *need *to type the separator most of the time.

Interestingly, the issue didn't happen when I set the separator to a comma.
I didn't do any more testing than that, so can't say if it happens with
more than just a period as the separator.

https://bugs.gnucash.org/show_bug.cgi?id=797864

Thanks again,
Colin



On Sun, Jul 19, 2020 at 11:14 PM John Ralls <jralls at ceridwen.us> wrote:

>
>
> > On Jul 19, 2020, at 12:44 PM, Colin <colinfarndt at gmail.com> wrote:
> >
> > I just upgraded to 4.0 on my Mac and Linux machine, and have this bug on
> > both.
> >
> > When entering a new item in the register of any account, if I type the
> > account name using the old logic (type first few characters of the top
> > account name, press the separator key, type the first few characters of
> the
> > next subaccount name etc) it works fine. I see a pop-up box above the
> field
> > with all the account names as before.
> >
> > If I try to use that box using the new logic (i.e. type the first few
> > letters of the final level sub account) it doesn't work. It will not fill
> > in or display that account as an option. Moreover, the popup list that
> > shows up above displays only about 20 of my first accounts, all the rest
> > are gone. This is conspicuous because I probably have close to 100
> accounts
> > in total.
> >
> > At this point, if I press delete while in that box, I can clear the
> field.
> > But the missing accounts in the pop-up window don't return. I have to
> > discard the transaction entirely and start over before I can get a full
> > account list again.
> >
> > I did a search of the bugzilla but didn't see this listed there since 4.0
> > came out.
>
> Colin,
>
> The first part is the way the typeahead feature works: It filters the drop
> down list to those accounts that contain the letters you've typed. It does
> recognize your account separator so e.g. if you type "qui:bal" then
> Equity:Opening Balances will be in the list.
>
> It doesn't fill in the entry with the selection, but if you've typed
> enough so that the top item in the list is the one you want then if you tab
> out it will fill in with that one. Otherwise you can use the up and down
> arrows to select an item from the drop down. Whatever is selected will be
> put in the entry when you tab out.
>
> The backspace problem is probably
> https://bugs.gnucash.org/show_bug.cgi?id=797845 that I fixed a few
> minutes ago.
>
> Regards,
> John Ralls


More information about the gnucash-user mailing list