GNOME Bugzilla – Bug 627692
Report options, Account Selection, "select all" => not all accounts selected, only visible ones
Last modified: 2018-06-29 22:43:35 UTC
Created attachment 168542 [details] Option "Select all" => not all accounts selected "Select all" in the the options of the transaction report selects the VISIBLE accounts only, not those whose parent account is closed, hence invisible, in the account list. In the attached an example: - open account "revenues" - close account "expenses" - choose "select all" - open account "expenses" => account "transaction cost" - child of "expenses" not (!) selected gtk-version 2.16.6 (info by Christian)
We need to check whether this is still a problem with newer gtk versions (2.18.x) and/or on Linux. On Windows gnucash is currently forced to use this relatively old versions due to some more severe problems with the newer ones.
Gtk-2.20.1 (on Linux) behaves the same. So it is GTK's default behaviour and you (or we) would need to discuss with GTK to change this behaviour. I'm afraid this doesn't happen unless you file this as a GTK bug yourself.
Created attachment 303689 [details] [review] Account dialog: expand all in treeview before selecting "all" items Guys, I haven't done much programming for a few years, however, this bug was annoying to me and seemed simple enough as a start. Please review and commit this patch, it simply expands all collapsed items in the tree view so that the subsequent call to select_all really selects all accounts, not only the visible ones. Please note that this also partially fixes Bug 639538.
Review of attachment 303689 [details] [review]: Works on Fedora 18 on maint branch. I can't test on master, Fedora too old.
Review of attachment 303689 [details] [review]: Oops, for some reason this patch managed to go unnoticed for me. That's a fine solution for an annoying problem, so I have committed this to maint. It will appear in the next stable gnucash release (2.6.10). Thank you very much for your patch and again my apologies for the long delay in getting it merged.
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=627692. Please update any external references or bookmarks.