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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Nicola Pero <nico>
Submitted on:  Tue 26 Feb 2008 10:41:52 AM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

OK - I tried a testcase and it works fine

Thanks

Nicola Pero <nico>
Project 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>
Project 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>
Project 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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Mar 2008 10:07:01 PM UTCnicoStatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1