Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Dragging from desktop/file manager

18 views
Skip to first unread message

Luke

unread,
Jul 18, 2024, 3:57:13 AM7/18/24
to Cappuccino & Objective-J
Am I right in thinking that Cappuccino doesn't currently integrate external drag/drop operations into its drag/pasteboard mechanism?

I see some (old) discussion on various frameworks to handle file uploading, and I've used drag and drop in my app for moving items around in various places (table rows for instance), but these have Cappuccino as the source of course. 

I'd like to accept file drops in my app onto one of several CPCollectionView items.
I can register for file/URL drag/drop operations on the CPCollectionView, but I have not so far seen any evidence that the Cappuccino framework 'sees' and processes these external drag operations like it does for internally-sources drag/drop.

Assuming someone can confirm this doesn't work, then I suppose I can try HTML5 drag and drop and call into my Cappuccino app to do my own hit testing and drop handling on these CPCollectionView items.  Although, if anyone has any tips on this before I launch into it, that would be great!


daboe01

unread,
Jul 19, 2024, 12:45:54 AM7/19/24
to Cappuccino & Objective-J

Luke

unread,
Jul 23, 2024, 6:55:32 AM7/23/24
to Cappuccino & Objective-J
Wow, Cup is fantastic.  Thanks for the suggestion.  This is an amazingly complete solution and the drop zone feature does exactly what I need.
Reply all
Reply to author
Forward
0 new messages