Mailing Lists: Apple Mailing Lists

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

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



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/email@hidden

This email sent to 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.