[haiku-development] Re: Could this code have ever workk?
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 24 Sep 2008 17:09:19 +0200 CEST
julun <host.haiku@xxxxxx> wrote:
> The filter reacts on B_MOUSE_DOWN messages, set on a given view. In
> BeOS the code works the following, on mouse down the filter get's
> called, the window opens and stays open until i release the mouse. In
> Haiku the window opens for a fraction of a second and hides then
> immediately. Any idea how or why this could have ever worked on BeOS?
The code obviously only works if the B_MOUSE_DOWN handling in
PopUpSlider is using polling - because then the B_QUIT_REQUESTED would
only be handled after the fact.
I don't know the specifics, but maybe some of our interface controls
ignores the B_ASYNCHRONOUS_CONTROL flag.
Bye,
Axel.
Other related posts: