Re: Focusing



> 4) There are two focus states for GtkWindow - focus on
> a child, and no focus. This ends up with the fact that
> for every toplevel window, the focus chain has a NULL
> state with the focus nowhere. This is a bug - it should
> be impossible to Tab the focus to this location.

In the same vein: Focus should be set *somewhere* when the window is
initially displayed. If focus has not been set explicitly, it
should be set to the first descendant which can do something with
focus. I fixed this manually for all the dialogs Gnumeric uses, but
it should be taken care of by the toolkit.

Of course, the app will often disagree with gtk's choice of toolkit
widget. If so, the app should set focus explicitly.

Regards

Jon Kåre




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]