Post invoice dialog default focus

Geert Janssens janssens-geert at telenet.be
Sat Feb 13 05:29:48 EST 2010


On Friday 12 February 2010, Tommy Trussell wrote:
> On Thu, Feb 11, 2010 at 9:13 AM, Geert Janssens
> 
> <janssens-geert at telenet.be> wrote:
> > On Wednesday 10 February 2010, Derek Atkins wrote:
> >> Geert Janssens <janssens-geert at telenet.be> writes:
> >> > I'm not aware of this focus issue in the register. What is the problem
> >> > exactly ? (Link to ML archive of bug is ok too if it has been
> >> > discussed before...)
> >>
> >> I don't know if there's a bug# for it.
> >
> > It turns out there is:
> > https://bugzilla.gnome.org/show_bug.cgi?id=378728
> > There were even two, but I marked one as a duplicate.
> >
> >> I have gnucash set up to open
> >> registers in a new window (not a tab).  When I click to open a register
> >> for the first time focus isn't in the date field of the blank split.
> >> The blank split is highlighted, but if I type it doesn't go there
> >> (indeed it doesn't go anywhere).
> >>
> >> If I click into the date entry the the highlighting gets even darker and
> >> then I can type into it.
> >>
> >> If I tab a few times it ALSO will get focus into the date entry cell.
> >
> > I have looked at it some already, but my knowledge in the
> > register/plugins/page code is fairly limited and so is my time right now.
> > But I'll have another look later.
> >
> > I did manage to fix the focus issue in the post dialog already though.
> >
> > Geert
> 
> Sorry to hijack the thread, but how hard would it be to change the
> Accounts window to have the focus go to the currently highlighted
> account item (rather than the Account Name column heading)?
> 
Once I figure how the focus thing is handled in general, it should be 
relatively easy to fix this for both the register and the accounts tab.

> The reason I ask is because once the focus changes to the account
> list, you can use the keyboard to choose and open accounts. As it is,
> you have to tab or click to get the process started.
> 
> I thought about opening a bug on this... but I can't remember if I did..
> 
You did: https://bugzilla.gnome.org/show_bug.cgi?id=577745

I had seen this bug when searching for focus problems and already made a 
mental note to look at it when I had some progress in the focus department.

Geert


More information about the gnucash-devel mailing list