Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/cocoa-dev/jstiles% 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.