Re: concludeDragOperation
Re: concludeDragOperation
- Subject: Re: concludeDragOperation
- From: Tony Romano <email@hidden>
- Date: Mon, 16 Aug 2010 21:56:28 -0700
I assume you are letting the control actually highlight the selected rows? If you are, then all the highlight/un-highlights are handled automatically. Are u doing any sort of mouse tracking and highlighting code to determine which items are selected? Can you provide more info like just the code for section that implement the drag/drop parts and any mouse overrides?
-Tony
On Aug 16, 2010, at 6:28 PM, Erik Buck wrote:
> I have never seen the specific problem reported, but I have some suggestions:
>
> 1) Are you using a retained or non-retain window as opposed to a buffered window? You want a buffered window.
> 2) Is the view layer backed? I don't know ifthat could cause the problem, but I is a path to investigate.
> 3) Have you turned on Quartz Debugging to see which areas of the window are being redrawn? If so, where the highlighted areas redrawn or not?
> 4) Are you recursively causing displays? That doesn't work, so don't do it. Have you tried [outlineView performSelector:@selector(display) withObject:nil afterDelay:0.0f] instead of calling display again as the side effect of a display message?
>
> --- On Mon, 8/16/10, email@hidden <email@hidden> wrote:
>
> From: email@hidden <email@hidden>
> Subject: concludeDragOperation
> To: "Cocoa-Dev Cocoa-Dev" <email@hidden>
> Date: Monday, August 16, 2010, 6:02 PM
>
> The docs say:
>
> Invoked when the dragging operation is complete, signaling the receiver to perform any necessary clean-up.
>
> My question is how does one clean up all highlight artifacts in an NSOutlineView such as these:
>
> http://highrolls.net/high_light_issue/page.html
>
> I have tried -display , -reloadItem and reloadData all to no avail.
>
> Steve Jobs was stumped and suggested this list might be helpful.
>
> Was he right?
>
> -koko
> _______________________________________________
>
> 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
> _______________________________________________
>
> 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
>
_______________________________________________
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