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

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


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

Your user with consistent problems—are they perturbing the pasteboard in any way? (Running any custom copy-paste haxies? :) ) Does regular copy-paste work for them in other apps like TextEdit?

It does work in other applications like TextEdit, yes. It also did on my machine. It's like the pasteboard server is only unavailable to my application, no matter if relaunched.


I've asked this particular user about plugins and what not, and she says no. She's done development herself, so I trust the answer, but I'll certainly double check.

-Phil

On Mar 21, 2007, at 12:48 AM, John Stiles wrote:

It sounds like the pasteboard server on the machine has crashed or otherwise gone away.
Your user with consistent problems—are they perturbing the pasteboard in any way? (Running any custom copy-paste haxies? :) ) Does regular copy-paste work for them in other apps like TextEdit?



On Mar 20, 2007, at 4:40 PM, Philip Dow wrote:

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:
40blizzard.com


This email sent to email@hidden



_______________________________________________

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


References: 
 >Copy/paste stop working, drag also, console says CoreDragCreate error: -4960 (From: Philip Dow <email@hidden>)
 >Re: Copy/paste stop working, drag also, console says CoreDragCreate error: -4960 (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Webservices in Cocoa
  • Next by Date: Re: Debugging Core Data unresolved keypath save error
  • Previous by thread: Re: Copy/paste stop working, drag also, console says CoreDragCreate error: -4960
  • Next by thread: performSelectorOnMainThread & NSEventTrackingRunLoopMode
  • Index(es):
    • Date
    • Thread