[interfacekit] Re: Helping out
- From: Christof Lutteroth <lutteroth@xxxxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Wed, 08 Aug 2007 03:42:16 +1200
Axel Dörfler wrote:
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 :-)
That makes sense.
So is there any task you think I could work on as a Haiku newbie?
Probably not the menus since this seems to require more knowledge about
the BeOS than I have.
Cheers,
Christof
- Follow-Ups:
- [interfacekit] Re: Helping out
- From: Stephan Assmus
- References:
- [interfacekit] Re: Helping out
- From: Axel Dörfler
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
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 :-)
- [interfacekit] Re: Helping out
- From: Stephan Assmus
- [interfacekit] Re: Helping out
- From: Axel Dörfler