[haiku-development] Re: Debugging
- From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Mon, 30 Jul 2007 08:33:44 +0200
2007/7/30, Christof Lutteroth <lutteroth@xxxxxxxxxxxxxxxxx>:
> Currently I am looking into bug #919. I used the Fonts preference app
> for testing, and something struck me: I am printing out the addresses of
> all the BMenus used by Fonts (BPopupMenus), and the BMenu on which
> BMenu::KeyDown is called upon key press is not one of them. It seems as
> if the KeyDown callback is called on some other (erroneous?) BMenu
> object. This should not be so, right? It would mean that something with
> the event dispatching in the app server goes wrong. Or am I mistaken?
The BPopUpMenus are added to a BMenuField, which unfortunately is a
very strange animal. Internally it uses a BMenuBar as a root menu, so
most probably, that menubar is the one on which BMenu::KeyDown() is
called.
- References:
- [haiku-development] Debugging
- From: Christof Lutteroth
- [haiku-development] Re: Debugging
- From: Stephan Assmus
- [haiku-development] Re: Debugging
- From: Christof Lutteroth
Other related posts:
- » [haiku-development] Debugging
- » [haiku-development] Re: Debugging
- » [haiku-development] Re: Debugging
- » [haiku-development] Re: Debugging
- » [haiku-development] Re: Debugging
- » [haiku-development] Re: Debugging
- [haiku-development] Debugging
- From: Christof Lutteroth
- [haiku-development] Re: Debugging
- From: Stephan Assmus
- [haiku-development] Re: Debugging
- From: Christof Lutteroth