iMediaSandboxing / iMedia

The Karelia iMedia Browser, framework and application for browsing media on Mac OS X
http://www.karelia.com/imedia/
Other
18 stars 12 forks source link

Cannot drag multiple items from icon view, combo view, or list view when building with Xcode 10 #106

Closed jjac closed 6 years ago

jjac commented 6 years ago

When trying to do so you will get an exception like this:

2018-09-14 12:38:07.180263+0200 There are 6 items on the pasteboard, but 1 drag images. There must be 1 draggingItem per pasteboardItem. 2018-09-14 12:38:07.191199+0200 ( 0 CoreFoundation 0x00007fff3e3d443d __exceptionPreprocess + 256 1 libobjc.A.dylib 0x00007fff6a2e5720 objc_exception_throw + 48 2 CoreFoundation 0x00007fff3e3d426f +[NSException raise:format:] + 201 3 AppKit 0x00007fff3bbfa42b -[NSDraggingSession(NSInternal) _initWithPasteboard:image:offset:source:] + 247 4 AppKit 0x00007fff3bbf9e43 -[NSCoreDragManager dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:] + 1919 5 AppKit 0x00007fff3bbf96b5 -[NSWindow(NSDrag) dragImage:at:offset:event:pasteboard:source:slideBack:] + 134 6 ImageKit 0x00007fff489caf76 -[IKImageBrowserView(ImageBrowserDragNDropInternal) startDragNDropWithEvent:itemIndexes:] + 949 7 ImageKit 0x00007fff489cdfa1 -[IKImageBrowserView(ImageBrowserEvents) mouseDragged:] + 366 8 iMedia 0x000000010176c2f3 -[IMBImageBrowserView mouseDragged:] + 277 9 AppKit 0x00007fff3b9e09e2 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6946 10 AppKit 0x00007fff3b9dec75 -[NSWindow(NSEventRouting) sendEvent:] + 481 11 AppKit 0x00007fff3b87bf4c -[NSApplication(NSEvent) sendEvent:] + 336 ...