After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646129 - Account selection in reports: "Select Children" doesn't actually select children if they are collapsed
Account selection in reports: "Select Children" doesn't actually select child...
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.4.x
Other All
: Normal normal
: ---
Assigned To: gnucash-reports-maint
gnucash-reports-maint
: 639538 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-29 15:55 UTC by Peter
Modified: 2018-06-29 22:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter 2011-03-29 15:55:15 UTC
Executing the Transaction Report returns an empty report.

Message received is "No matching transactions found".

Even with a date selection for the previous twelve months, which would have produced results in previous version (2.2.9).

Attempted to select all accounts and/or all accounts for the filter. No difference in the results.
Comment 1 Geert Janssens 2011-04-03 15:24:42 UTC
Did you also select all subaccounts (Select Children button) ?
Comment 2 Peter 2011-04-04 10:21:40 UTC
I just tried the "Select Children" button as you suggested. Unfortunately, I didn't see any change in the report.
Comment 3 Derek Atkins 2011-04-04 13:33:55 UTC
I've seen this myself.  In order to get it to work you have to expand the whole tree for "select children" to work.  Select children does NOT work on a collapsed tree.

I found it really hard to set up 2.4.4's transaction report to behave the same as 2.2.9's
Comment 4 Peter 2011-04-05 09:06:26 UTC
Thanks for the tip Derek.

I expand each and every Account. Once I completed that I clicked on "Select Children"  button, but nothing selected. I then clicked "Select All" and all, including the children accounts got selected. Clicking on the "Apply" or "Ok" updated the report with the details I expected to see.
Comment 5 Geert Janssens 2011-04-29 16:13:03 UTC
So... I guess we should keep this bug report open to remind us the Select Children doesn't actually select children if the tree is collapsed.
Comment 6 Christian Stimming 2011-04-29 17:57:52 UTC
Right - but IMHO this behaviour is chosen by gtk, not us. I.e. changing this from the gnucash side is rather hard.
Comment 7 Carsten Rinke 2013-04-29 11:15:39 UTC
When trying this with 2.4.10 and 2.5.0 (both Ubuntu 12.04) the "Select Children" button automatically expands and selects the children.

To the reporters:
Can you confirm whether this bug is still valid or can be closed?
Comment 8 Peter 2013-04-29 17:07:10 UTC
I tried this now on v2.4.10 (MacOS 10.8.3) and it is still an issue. I clicked on "Select Children" and nothing happened. Clicked "apply" and nothing reported.

I expanded some of the nodes and then selected "Select All" and apply and could see the results.
Comment 9 Carsten Rinke 2013-04-29 17:38:03 UTC
Hi Peter,

sorry for bothering, but just to be on safe side that we are really doing the same:

I open the account options dialog, I go the account tab, I click "Clear all", I select a not expended account, I click on "Select Children". Then the all children for the selected parent appear and are selected automatically.

It is not that all available children from the whole account tree appear and are selected by just one click on the "Select Children" button.

Is this the same that you are doing and seeing?

Note: Just found out that this only works for the *last selected* parent. So if there are several collapsed parents, and I select them one-by-one, then only the last selected parent will be expanded - independent of the order I selected them.
Comment 10 Peter 2013-05-01 02:04:55 UTC
Hi Carsten,
No bother at all. 

I did as you suggested and yes it works. It doesn't work when you first go into the account options and account tab and click on "Select Children".

Also confirm that "Select Children" unselects any previous "Select Children" selection on parent & child accounts and then selects the children of the newly highlighted parent account.

Not optimal if you want to report on all the accounts and sub-accounts.

Let me know if there is something else to test.
Comment 11 Geert Janssens 2015-10-10 14:15:18 UTC
*** Bug 639538 has been marked as a duplicate of this bug. ***
Comment 12 Geert Janssens 2015-10-10 14:23:09 UTC
This problem has been fixed in our software repository. The fix will go into the next software release; 2.6.10. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.
Comment 13 John Ralls 2017-09-24 22:41:32 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 14 John Ralls 2018-06-29 22:55:53 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=646129. Please update any external references or bookmarks.