select accounts by name: focus off tab

Andrew Sackville-West andrew at swclan.homelinux.org
Thu Apr 2 20:53:27 EDT 2009


On Thu, Apr 02, 2009 at 02:15:10PM -0500, Tommy Trussell wrote:
> On Thu, Apr 2, 2009 at 1:51 PM, Charles Day <cedayiv at gmail.com> wrote:
> > On Thu, Apr 2, 2009 at 9:34 AM, Tommy Trussell <tommy.trussell at gmail.com>
> > wrote:
> >>
> >> I'm running GnuCash 2.2.6 on Ubuntu 8.10 Intrepid. I discovered quite
> >> by accident that I could SOMETIMES select an account by typing the
> >> first few letters of the account name, but sometimes not... SO I just
> >> did a few tests to figure out why...
> >>
> >> When I have focus on any account line (by clicking on an account in
> >> the Accounts list, NOT by clicking on the Accounts tab), I can select
> >> any account in the list, IF it is not collapsed into a superior
> >> account, by typing the first few characters of the account name. If I
> >> leave your hands off the mouse, I can open the account by pressing the
> >> Enter key, enter stuff, close the tab with Ctrl-W, select another
> >> account, and so forth.

also, you can expand or collapse a parent account's sub-accounts with
shift-right and shift-left respectively. at least on linux.

> >>
> >> For example, to select my account: Assets:Current Assets:Checks Received
> >> I can type type "checks" to select it (as long as it is not collapsed
> >> under Current Assets or Assets).
> >>
> >> After I click on the Accounts tab, I cannot select an account by
> >> typing its name.
> >>
> >> It would be cool if the focus went to the Accounts list when you
> >> clicked the tab so you can just start typing the account name.
> >
> > The "search" functionality you are seeing is built into the GtkTreeView
> > control and isn't part of GnuCash.  (And it is actually broken in some
> > version of Gtk). It could probably be customized to be even more useful.
> > Right now if you click on the tab then focus goes to the first column
> > header. (At least for me, running trunk on OS X/MacPorts/Quartz.) Putting
> > focus on the list definitely seems better. For now, you can just hit the Tab
> > key to move to the list.
> 
> I see the Tab key behavior now, but unfortunately when the list itself
> has the focus there's no indication (other than that the tab, the
> column header and the status line at the bottom DON'T have the focus
> anymore).

I see an indication in that the currently selected line of the
GtkTreeView has a faint box around the account name.

A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20090402/e1cf2a42/attachment.bin>


More information about the gnucash-user mailing list