[GNC] Porting Auto Completion from v4 to v5

Adrien Monteleone adrien.monteleone at lusfiber.net
Thu Sep 14 22:24:51 EDT 2023


They are not erroneous. I'm dealing with this issue right now.

Maybe the confusion is that there is more than one 'auto-complete' 
happening.

1. Description field now has a results pop-up similar to account 
selection. This is populated from the other descriptions already entered 
in the register, just like John said. There is no 'stored list' that is 
independent.

2. Transaction data *used* to be auto filled for you after you accepted 
a suggested Description. This other data would include the Notes field, 
along with all splits from the last time this Description was used, 
memos, amounts and all. If this was intended to be slightly different, 
you edited the splits as needed, but a lot of typing was already done 
for you.

3. Memo text would auto-complete similar to the Description (before the 
pop-up) based on other matching Memos. (I don't think that memo had to 
also be for the same description, but I'm not certain) This saved lots 
of time re-entering such text. Gnucash even helpfully auto-selected the 
same account when you last used that memo. An example here would be if I 
entered "Bell" Gnucash might suggest "Bell Peppers" and I could 
tab/enter to accept the suggestion, and it would also auto-select 
"Expenses:Groceries", and even the amount I last paid for Bell Peppers, 
so all I had to do was tab through, and/or change the price.

#2 & #3 no longer happen, unless I've recently entered that Description 
and/or Memo.

#1 works just fine and is helpful to show if you've got similar 
descriptions with spelling errors.

It is like the code is no longer searching all of the open register for 
that matching info.

I haven't yet tested to see if this it working as before just for new 
transaction since 5.x, or since the last time I opened the register, or 
the last time I opened GnuCash. I rarely close the app, so at first it 
appeared as if it had amnesia for all transactions prior to 5.x, but 
after a recent reboot, I'm suspecting it only auto-fills transactions 
and matches memos "from the current session".

I don't know if that is intended behavior, an unfortunate trade-off in 
exchange for the new Description list, or a bug.

Regards,
Adrien

On 9/14/23 2:57 PM, sunfish62--- via gnucash-user wrote:
> So the reports of others on the list (https://lists.gnucash.org/pipermail/gnucash-user/2023-September/108792.html, e.g.)-- that auto complete resets with version 5 and previously-saved completion data is not retained-- are erroneous. I wonder what caused them to reach their conclusions.



More information about the gnucash-user mailing list