• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableViewDropAbove visual remnant
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableViewDropAbove visual remnant


  • Subject: Re: NSTableViewDropAbove visual remnant
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 09 Mar 2010 08:10:36 -0800

On Mar 8, 2010, at 10:20 PM, Steve Cronin wrote:

> Folks;
>
> I have a tableView which is working pretty handily.
>
> I support a form of import by dropping a text file on it.
> 	The backing arrayController returns an NSTableViewDropAbove for UI feedback purposes.
> 	(the row the file is dropped on (or above) doesn't actually matter)
> 	I chose NSTableViewDropAbove because DropOn might cause some to feel that a replacement would occur….
>
> When I have complete the import process I call rearrangeObjects and all is well
> 	there is a bound filter predicate in the windowController
>
> EXCEPT the targetting indicator in the tableView remains visible…
>
> How do I clear this?
>

This sounds like a bug - if you do have a reproducible case, please log a bug in bugreporter.apple.com (and include your test case and sample code, if possible).

It sounds like you are going to have to force a redraw; call -setNeedsDisplayInRect: around the rows that have the affected issue. A brute force approach would be -setNeedsDisplay:YES

corbin


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSTableViewDropAbove visual remnant (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: WebView refresh problem
  • Next by Date: Re: [NSTableview] can't make selected text stay black
  • Previous by thread: NSTableViewDropAbove visual remnant
  • Next by thread: NSTextView attachments and context menus
  • Index(es):
    • Date
    • Thread