[haiku-bugs] Re: [Haiku] #14857: BListView invokes items on first click

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 28 Jan 2019 10:09:25 -0000

#14857: BListView invokes items on first click
----------------------------------+----------------------------
   Reporter:  KapiX               |      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 Janus):

 I think this is the correct behavior. See

 **Invoke()**

 [...]This function is called to send both the selection message and the
 invocation message. [...]

 from  [https://www.haiku-os.org/legacy-
 docs/bebook/BListView.html#BListView_Invoke]

 you should use
 {{{
 SetInvocationMessage()
 }}}
 and
 {{{
 SetSelectionMessage()
 }}}
 .

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

Other related posts: