• 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
NSPasteboard drag pasteboard hang
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPasteboard drag pasteboard hang


  • Subject: NSPasteboard drag pasteboard hang
  • From: Jeff C <email@hidden>
  • Date: Thu, 31 Aug 2006 22:03:02 -0400

I've seen a couple of references to the following problem, but no suggestions on a solution.

I've modified an NSBrowser/NSMatrix to support dragging. My mouse dragging method does this:

- (void) mouseDragged:(NSEvent *) event
{
// start a drag op
NSLog( @"Initiating drag");
NSPasteboard *pasteBoard = [NSPasteboard pasteboardWithName:NSDragPboard];



Unfortunately, the pasteboard process loops, and consumes most of the CPU. I have to kill the process and reboot the machine to return to sanity.


I must be doing something stupid, the API seems very straightforward. Any suggestions on what I'm doing wrong?



Thanks,
Jeff

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSPasteboard drag pasteboard hang
      • From: Michael Jurewitz <email@hidden>
  • Prev by Date: Imitating Mail's Interface
  • Next by Date: Re: NSPasteboard drag pasteboard hang
  • Previous by thread: Re: Imitating Mail's Interface
  • Next by thread: Re: NSPasteboard drag pasteboard hang
  • Index(es):
    • Date
    • Thread