[haiku-bugs] Re: [Haiku] #15254: BWindow shouldn't dispatch messages on behalf of BView

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 17 Aug 2019 04:12:51 -0000

#15254: BWindow shouldn't dispatch messages on behalf of BView
----------------------------------+----------------------------
   Reporter:  simonsouth          |      Owner:  nobody
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by waddlesplash):

 I think the problem was focus. I changed the view to a BTextView and I now
 do get events to it.

 It seems UNMAPPED_KEY_DOWN and KEY_UP are all it gets. I tried setting the
 EventMask to include B_POINTER_EVENTS and B_MOUSE_EVENTS, and then I got 2
 characters for every 1 keypress, but still no mouse events in
 MessageReceived (and I even added printfs to dump every message what to
 stdout to double check that.)

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15254#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: