bugGNUstep - Bugs: bug #22422, [xxx -setToolTip: nil] should...

Group
 
 

bug #22422: [xxx -setToolTip: nil] should remove an existing toolTip

Submitter:  Nicola Pero <nico>
Submitted:  Tue 26 Feb 2008 10:41:52 AM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 05 Mar 2008 10:07:01 PM UTC, comment #3: 

OK - I tried a testcase and it works fine

Thanks

Nicola Pero <nico>
Group Member
Tue 26 Feb 2008 02:31:48 PM UTC, comment #2: 

Good point - IIRC I had simply noticed that _rFlags.has_tooltips
was set to 1 when setting up a tooltip, but never set back to 0.

I suppose that might be correct because of the ability to more
generally associate tooltips with rectangles in a view, so we
don't know if the tooltip we are removing is the last one
or not ?

Anyway I'll try a testcase later

Thanks

Nicola Pero <nico>
Group Member
Tue 26 Feb 2008 11:21:43 AM UTC, comment #1: 

Do you have a testcase to demonstrate this?
The reason I ask is that a quick look at the code suggests that passing a nil (or empty string) removes an existing tool tip if there is one.

Richard Frith-Macdonald <CaS>
Group Member
Tue 26 Feb 2008 10:41:52 AM UTC, original submission:  

I had a quick look at the [NSView -setToolTip:] code, and
it seems that [xxx setToolTip: nil] just does nothing.

Instead, it should remove an existing toolTip.

Thanks

Nicola Pero <nico>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by nico (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-05 nico StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code