Reports Account Selection

Colin Scott gnucash at double-bars.net
Sun May 17 08:00:00 EDT 2009


> > 2.  Is there  a keystroke or mouse-click to expand/collapse all 
> > nodes in the sub-tree under the current node?
> 
> Yes, click on the [+] and it will collapse the whole subtree under 
> the node.  There is no "expand all"

Yes, agreed it will _collapse_ the current node and all nodes beneath it.
However, its expand behaviour is not orthogonal - it only _expands_ the
current node.   This is incredibly irritating if you have deep-nested
accounts, as I do here. I don't mind particularly that the expand and
contract are not orthogonal, although it is somewhat unconventional, but
full-depth *expand*, which we don't have, would be infinitely more useful
than  the full-depth collapse.

I haven't found a real standard for this in Windows, but typically CLICK
will expand/collapse the current node, and SHIFT/CLICK will 
expand/collapse the current node and all nodes beneath it.

> Control-Click is your friend.

Really?  I find it anything but, as it's behaviour is so inconsistent as
to be almost random. 

You can use CTRL/Click both to select files, or to expand and contract
the tree.  This is an example of what happens if you (try to) use it to
expand/contract the tree.  I have in my books top-level accounts 1-7, of
which 4 and 7 are single accounts, the remainder are trees.  The cursor
is on on 3, no accounts are selected.  This is a record of what happened
with each CTRL/Click on 3:-

CTRL/CLICK:  Expand 3 to first node
CTRL/CLICK:  Expand 1 to first node
CTRL/CLICK:  Collapse 1
CTRL/CLICK:  Collapse 3
CTRL/CLICK:  Expand 3 to first node
CTRL/CLICK:  Expand 1 to first node
CTRL/CLICK:  Collapse 1
CTRL/CLICK:  Nothing
CTRL/CLICK:  Collapse 3
CTRL/CLICK:  Expand 1 to the first node.
CTRL/CLICK:  Collapses 1.
CTRL/CLICK:  Expand 3 to the first node.
CTRL/CLICK:  Collapse 3.
CTRL/CLICK:  Nothing
CTRL/CLICK:  Expand 3 to the first node.
CTRL/CLICK:  Expand 1 to the first node.
CTRL/CLICK:  Collapse 3.
CTRL/CLICK:  Nothing
CTRL/CLICK:  Collapse 1.
CTRL/CLICK:  Highlight 3 and 4
CTRL/CLICK:  Expands 3 to the first node (3 & 4 remain highlighted)
CTRL/CLICK:  Expands 1 to the first node (3 & 4 remain highlighted)
<gets bored>

I don't know what it's meant to do, but I'm pretty damned sure that isn't
it!  :-)

If I use CTRL/Click simply to select accounts, its behaviour is similarly
inconsistent, though less so.  It certainly isn't reliable.  In
attempting to select a list of probably 50 accounts out of about 100, I
found that the behaviours of CTRL/Click included:

*  Select/Deselect the CTRL/Clicked account   (correct behavour)
        
*  expand one or more nodes elsewhere in the accounts tree
        
*  Collapse one or more nodes elsewhere in the accounts tree.
        
*  as above, but deselecting some/most/all of the previous selection

Indeed, the behaviour of CTRl/CLICK seems to be pretty much the same as
the behaviour of CTRL/Space.        
        
The Windows standard method of selection from a list is pretty
straightforward and consistent, and seels to work like this:

CLICK
selects the clicked file, which becomes the anchor, deselecting all
others.

SHIFT/CLICK
selects all files between and including the shift/clicked file and the
anchor

CTRL/CLICK
selects a single file, making it the ctrl-anchor, and leaving any
previous selection intact.

CTRL/SHIFT/CLICK
selects all files between and including the CTRL/SHIFT/CLICKED file and
the ctrl-anchor, leaving any previous selection intact.

Shouldn't gnucash work like that?

If it's any help, I am running 2.2.9 under XP-Pro SP3.  The "about" panel
says "This copy was built from r17949M on 2009-02-23"

Colin


More information about the gnucash-user mailing list