[interfacekit] Re: Helping out
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Tue, 07 Aug 2007 15:59:20 +0200
Christof Lutteroth <lutteroth@xxxxxxxxxxxxxxxxx> wrote:
> Axel Dörfler wrote:
> > "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx> wrote:
> >> I think we have to add some special support for menu windows
> > > within
> >> app server. I don't have yet a clear idea on how to handle that.
> > > But
> >> we can't just treat menus like any other view or window.
> > Exactly, and we even had that in place, but disabled it for some
> > reason
> > IIRC. It would obviously need some rework so that it would work
> > correctly.
> > Menus are a special case and mustn't steal the focus from windows -
> >
> > only their keyboard input.
> I thought the focus _is_ the keyboard input, no?
In theory, yes, in practise, not exactly :-)
When a menu pops up, no hooks are called on the window either, and no
visual effect would tell you that this menu is in fact another window
that steals something from it's "parent".
It is not aware that it lost the keyboard input.
I think the correct way in the app_server might be to have that
mechanism of a parent window that has focus, but redirects all input to
its top-most open menu window. Currently, it's system-wide, which is
apparently not a good choice :-)
Bye,
Axel.
- Follow-Ups:
- [interfacekit] Re: Helping out
- From: Christof Lutteroth
- References:
- [interfacekit] Re: Helping out
- From: Christof Lutteroth
Other related posts:
- » [interfacekit] Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- » [interfacekit] Re: Helping out
- [interfacekit] Re: Helping out
- From: Christof Lutteroth
- [interfacekit] Re: Helping out
- From: Christof Lutteroth