• 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
Copy/paste stop working, drag also, console says CoreDragCreate error: -4960
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Copy/paste stop working, drag also, console says CoreDragCreate error: -4960


  • Subject: Copy/paste stop working, drag also, console says CoreDragCreate error: -4960
  • From: Philip Dow <email@hidden>
  • Date: Wed, 21 Mar 2007 00:40:15 +0100

Just encountered the strangest error and want to put it on the list. Plan to file a bug report about it, although I can't reproduce.

Copy/paste simply stopped working in my application. It continued to work everywhere else. Relaunching my application did not solve the problem. Drag and drop also stopped working. Copy/paste returned no error to the console but dragging produced a "CoreDragCreate error: -4960"

After some extensive research on Google and the List archives, I was unable to find a solution that did not require a reboot. One potential issue was launching the app from the terminal during an ssh session. I'm definitely not doing that. Another google result suggested problems with launch services.

I was able to do some debugging before restarting my application. It seems that calling [NSPasteboard generalPasteboard] returns nil. It's like my application does not have access to the pasteboard services.

Restarting solves the problem. On the one hand, I want to offer this up to Fluke, Chance's ugly and less appreciated stepbrother. Reboot and you're good to go. On the other hand, I have a single user who is reporting this as a consistent problem. She reboots and a few minutes later my app loses pasteboard functionality. Other applications on the system don't seem to be affected, save one which I won't mention.

Any thoughts?

-Phil
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Copy/paste stop working, drag also, console says CoreDragCreate error: -4960
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: How to detect main menu being opened
  • Next by Date: Re: Copy/paste stop working, drag also, console says CoreDragCreate error: -4960
  • Previous by thread: Re: Webservices in Cocoa
  • Next by thread: Re: Copy/paste stop working, drag also, console says CoreDragCreate error: -4960
  • Index(es):
    • Date
    • Thread