[haiku-bugs] [Haiku] #5669: SetToolTip() can never change a tooltip unless HideToolTip() is called first.

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Fri, 02 Apr 2010 21:37:21 -0000

#5669: SetToolTip() can never change a tooltip unless HideToolTip() is called
first.
----------------------------+-----------------------------------------------
 Reporter:  stippi          |       Owner:  axeld         
     Type:  bug             |      Status:  new           
 Priority:  normal          |   Milestone:  R1            
Component:  User Interface  |     Version:  R1/Development
 Keywords:                  |   Blockedby:                
 Platform:  All             |    Blocking:                
----------------------------+-----------------------------------------------
 GetToolTip() will first return fVisibleToolTip before returning fToolTip.
 fVisibleToolTip is only reset from within HideToolTip() which in turn is
 never invoked internally. SetToolTip() will not affect fVisibleToolTip,
 and so the second and later calls to SetToolTip() with never manage to
 change the displayed tool tip. I am also not sure why no reference
 counting is needed for fVisibleToolTip. I can probably fix the problem
 myself if the original implementors leave enlightening comments... :-)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5669>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: