[GNC] Type-ahead search stalls

D. sunfish62 at yahoo.com
Sun May 2 09:07:50 EDT 2021


Sebastian,

This may be related to https://bugs.gnucash.org/show_bug.cgi?id=798162, which I posted recently. If you think it's the same problem, please add any details you have there for the developer's benefit. The bug includes a link to the mailing list thread that led to the bug submission. 

David T. 




-------- Original Message --------
From: cirakana via gnucash-user <gnucash-user at gnucash.org>
Sent: Sun May 02 04:43:16 EDT 2021
To: "gnucash-user at gnucash.org" <gnucash-user at gnucash.org>
Subject: [GNC] Type-ahead search stalls

Hello

When I try to assign an account to a transaction in the register the type-ahead stalls. After I type one or two characters nothing shows up and I can't edit the text field for at least a couple of seconds. After the delay I can type a character more (or delete a character) and the field freezes again. No results are showed when typing in the account text field and often I have to click outside the text field so the error box "xxx account dosen't exist. Do you wish to create it?" (where xxx are the characters typed) appears and I can click "No" to regain control of the text field.
Sequential search works (typing the first letter of an account, typing ":" and then typing the first letter of the child account and so forth)

I've looked through /tmp/gnucash.trace when launching gnucash with --debug, but no log entries are generated during this error. Here are some of the entries before and after the error:

* 10:22:06 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 2196
* 10:22:06 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 2196
* 10:22:06 INFO <qof.query> [qof_query_run_internal] matching objects=0x560a436cc040 count=1091
* 10:22:06 INFO <qof.object> [qof_object_foreach] type=Split
* 10:22:06 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 2196
* 10:22:06 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 2196
* 10:22:06 INFO <qof.query> [qof_query_run_internal] matching objects=0x560a436d5380 count=8
* 10:22:06 INFO <gnc.ledger> [gnc_split_register_move_cursor] after move 4345 0
* 10:22:06 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=119306212/100
* 10:22:06 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=119306212/100
* 10:22:06 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=119306212/100
* 10:22:06 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=119306212/100
* 10:22:06 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=1706212/100
* 10:22:06 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=1706212/100
* 10:22:06 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=117500000/100
* 10:22:06 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=117500000/100
**** Type-ahead search stalls ****
* 10:22:18 INFO <gnc.ledger> [gnc_split_register_move_cursor] after move 4361 0
* 10:22:22 INFO <gnc.ledger> [gnc_split_register_save] beginning edit of trans 0x560a440be570
* 10:22:22 INFO <gnc.ledger> [gnc_split_register_save] finished saving split "" of trans "Test"
* 10:22:22 INFO <gnc.engine> [trans_cleanup_commit] get rid of rollback trans=0x560a4375f990
* 10:22:22 INFO <qof.engine> [qof_event_generate_internal] id=7 hi=0x560a4474a960 han=0x7f93ef7763e0 data=0x560a440c23f0
* 10:22:22 INFO <qof.engine> [qof_event_generate_internal] id=6 hi=0x560a442ef540 han=0x7f93ef7763e0 data=0x560a440c23f0
* 10:22:22 INFO <qof.engine> [qof_event_generate_internal] id=5 hi=0x560a44201770 han=0x7f93ef588350 data=0x560a440c23f0
* 10:22:22 INFO <qof.engine> [qof_event_generate_internal] id=4 hi=0x560a43f782e0 han=0x7f93ef5ef990 data=0x560a440c23f0
* 10:22:22 INFO <qof.engine> [qof_event_generate_internal] id=3 hi=0x560a43e8c310 han=0x7f93ef74a470 data=0x560a440c23f0

Also no clues from dmesg or journalctl.

GNUCash version: 4.5+(2021-03-27)
Manjaro Linux (5.10.32-1-MANJARO) with MATE DE (1.24.1)

I've searched Google, the FAQ and the mail list archives with no luck. I hope you can help me.

Sincerely
Sebastian Hirsch
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list