Drag pasteboard only working within my app?
Drag pasteboard only working within my app?
- Subject: Drag pasteboard only working within my app?
- From: Jorge Monteiro <email@hidden>
- Date: Wed, 4 Sep 2002 00:10:52 -0400
I compiled my app with Jaguar (10.2) / Developer Tools (July + August
update) and now it does not work :( The problem is with dragging. The
code that used to work now only works within my app, trying to drag to
any other app (including another instance of my app) does not work.
Anyone has a clue why a dragging pasteboard is not being accepted
anywhere but within the app that started the drag? This happens both
from:
- (BOOL)tableView:(NSTableView *)tv
writeRows:(NSArray*)rows
toPasteboard:(NSPasteboard*)pboard
and from
- (BOOL)outlineView:(NSOutlineView *)outlineView
writeItems:(NSArray*)items
toPasteboard:(NSPasteboard*)pboard
This is the result from [pboard types] during drop (within my app). As
you can see all the types are defined (and contain data). Now the same
app (exactly the same code) compiled with the old 10.1 still works on
10.2... until I compile it on the new dev tools.
---------------
2002-09-03 23:48:29.879 osXigen[5808] types = <CFArray 0x25ca6e0
[0xa01303fc]>{type = mutable-small, count = 6, values = (
0 : <CFString 0x25ca6a0 [0xa01303fc]>{contents = "FileX"}
1 : <CFString 0x25ca700 [0xa01303fc]>{contents =
"NSFilenamesPboardType"}
2 : <CFString 0x25ca730 [0xa01303fc]>{contents = "NeXT filename
pasteboard type"}
3 : <CFString 0x25ca460 [0xa01303fc]>{contents =
"CorePasteboardFlavorType 0x6675726C"}
4 : <CFString 0x25ca4a0 [0xa01303fc]>{contents =
"CorePasteboardFlavorType 0x68667320"}
5 : <CFString 0xa3074dbc [0xa01303fc]>{contents = "Apple URL
pasteboard type"}
)}
---------------
Stange stuff... please let me know if you need more info...
Thanks in advance for your help.
Regards,
Jorge Monteiro
JomoSoft LLC
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.