[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 09:12:01 -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 pulkomandy):

 Oh and peware of SetTarget: it works only after the handler is attached to
 a looper, so you can't do it in the constructor of the window.
 AttachedToWindow can be used for this, or possibly the window's ReadyToRun

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

Other related posts: