GNOME Bugzilla – Bug 463678
xfer dialog from CC auto-payment from reconcile doesn't display accounts
Last modified: 2018-06-29 21:44:57 UTC
Make sure you have the auto-payment feature turned on Reconcile a credit card account that has a payment due Make sure there's already been at least one payment made when you finish the reconcile process it pops up a transfer dialog. It would be nice if the selected accounts in the reconcile dialog were visible in the account trees. From IRC: <warlord> gnc_xfer_dialog_select_from_account() and gnc_xfer_dialog_select_to_account() should adjust the respective trees so the selected item is visible.
They scroll (gnc-tree-view-account.c:gnc_tree_view_account_set_selected_account:gtk_tree_view_scroll_to_cell), but they do not seem to do it correctly.
This seems to be related to bug 75702, i.e. we call gtk_tree_view_scroll_to_cell "too early". The following attachment may help or not. It is definitely not a perfect solution, but currently the best I see if we really must have one. Comments?
Created attachment 93155 [details] [review] Handle pending events before calling gtk_tree_view_scroll_to_cell
Cool, I've verified that this fixes the problem for me. I've applied it to trunk as r16727. Awaiting backport.
branches/2.2 @ r16790 for GnuCash 2.2.3.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=463678. Please update any external references or bookmarks.