<div dir="ltr"><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">- (<span style="color:rgb(187,44,162)">BOOL</span>) performDragOperation: (<span style="color:rgb(187,44,162)">id</span><NSDraggingInfo>)info {</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span class="" style="white-space:pre">        </span><span style="color:rgb(187,44,162)">if</span> (<span style="color:rgb(187,44,162)">self</span>.dragCount) {</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span class="" style="white-space:pre">                </span><span style="color:rgb(187,44,162)">self</span>.dragItems = [<span style="color:rgb(187,44,162)">self</span> filterOutSqueakImageFilesFromDraggedFiles: info];</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span class="" style="white-space:pre">                </span>[(sqSqueakOSXApplication *) gDelegateApp.squeakApplication recordDragEvent: DragDrop numberOfFiles: <span style="color:rgb(187,44,162)">self</span>.dragCount where: [info draggingLocation] windowIndex: <span style="color:rgb(187,44,162)">self</span>.windowLogic.windowIndex];</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span class="" style="white-space:pre">        </span>} </p><div><br></div><div><br></div><div>Mmmm </div><div>I'll see if I can get a debuggable VM up. </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 1, 2016 at 9:03 AM, Bert Freudenberg <span dir="ltr"><<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>On 01.04.2016, at 17:51, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
> On Apr 1, 2016, at 6:41 AM, Bert Freudenberg <<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>> wrote:<br>
>><br>
>> When I drop a file into Squeak, the current VM locks up.<br>
><br>
> :-(. If you start from the command line (launch Contents/MacOS/Squeak, don't use "open") and send the process SIGUSR1<br>
<br>
I don’t even have to send SIGUSR1. As soon as dragging something over the window, this gets printed in the terminal:<br>
<br>
<br>
2016-04-01 18:01:40.268 Squeak[37074:2981792] -[sqSqueakOSXApplication recordDragEvent:numberOfFiles:where:windowIndex:]: unrecognized selector sent to instance 0x7c416d30<br>
2016-04-01 18:01:40.268 Squeak[37074:2981792] -[sqSqueakOSXApplication recordDragEvent:numberOfFiles:where:windowIndex:]: unrecognized selector sent to instance 0x7c416d30<br>
2016-04-01 18:01:40.269 Squeak[37074:2981792] (<br>
0 CoreFoundation 0x9e318a69 __raiseError + 201<br>
1 libobjc.A.dylib 0x928e2fd1 objc_exception_throw + 276<br>
2 CoreFoundation 0x9e31c513 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275<br>
3 CoreFoundation 0x9e20ce9c ___forwarding___ + 1020<br>
4 CoreFoundation 0x9e20ca7e _CF_forwarding_prep_0 + 14<br>
5 Squeak 0x000fbf61 -[sqSqueakOSXOpenGLView draggingEntered:] + 298<br>
6 AppKit 0x91c1c1b5 -[NSDragDestination _draggingEntered] + 49<br>
7 AppKit 0x919301e2 NSCoreDragTrackingProc + 2466<br>
8 HIServices 0x98b22a43 DoTrackingMessage + 357<br>
9 HIServices 0x98b29ca9 CoreDragMessageHandler + 616<br>
10 CoreFoundation 0x9e2becbe __CFMessagePortPerform + 718<br>
11 CoreFoundation 0x9e21a185 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53<br>
12 CoreFoundation 0x9e21a0f0 __CFRunLoopDoSource1 + 512<br>
13 CoreFoundation 0x9e211639 __CFRunLoopRun + 2649<br>
14 CoreFoundation 0x9e210976 CFRunLoopRunSpecific + 390<br>
15 CoreFoundation 0x9e2107db CFRunLoopRunInMode + 123<br>
16 Foundation 0x97b0bbbc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 296<br>
17 Squeak 0x000ff7ba -[sqSqueakMainApplication(events) pumpRunLoop] + 99<br>
18 Squeak 0x000f2c18 -[sqSqueakOSXApplication(events) pumpRunLoop] + 50<br>
19 Squeak 0x000fd4d0 nativeIoProcessEvents + 208<br>
20 Squeak 0x000fd524 ioProcessEvents + 35<br>
21 Squeak 0x00097a28 checkForEventsMayContextSwitch + 884<br>
22 Squeak 0x00098ff6 ceCheckForInterrupts + 16<br>
23 ??? 0x045f4afb 0x0 + 73353979<br>
24 Squeak 0x0008c01a interpret + 741<br>
25 Squeak 0x001001d4 -[sqSqueakMainApplication runSqueak] + 489<br>
26 Foundation 0x97bd85b9 __NSFirePerformWithOrder + 416<br>
27 CoreFoundation 0x9e23390e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30<br>
28 CoreFoundation 0x9e23386e __CFRunLoopDoObservers + 398<br>
29 CoreFoundation 0x9e210f92 __CFRunLoopRun + 946<br>
30 CoreFoundation 0x9e210976 CFRunLoopRunSpecific + 390<br>
31 CoreFoundation 0x9e2107db CFRunLoopRunInMode + 123<br>
32 HIToolbox 0x99bed2f1 RunCurrentEventLoopInMode + 267<br>
33 HIToolbox 0x99becfc5 ReceiveNextEventCommon + 201<br>
34 HIToolbox 0x99beceec _BlockUntilNextEventMatchingListInModeWithFilter + 99<br>
35 AppKit 0x9165044e _DPSNextEvent + 1053<br>
36 AppKit 0x9164f9c7 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1057<br>
37 AppKit 0x9164f59e -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 121<br>
38 AppKit 0x91642cb3 -[NSApplication run] + 1063<br>
39 AppKit 0x916095a9 NSApplicationMain + 1630<br>
40 libdyld.dylib 0x965146ad start + 1<br>
41 ??? 0x00000002 0x0 + 2<br>
)<br>
2016-04-01 18:01:42.265 Squeak[37074:2981792] -[sqSqueakOSXApplication recordDragEvent:numberOfFiles:where:windowIndex:]: unrecognized selector sent to instance 0x7c416d30<br>
2016-04-01 18:01:42.265 Squeak[37074:2981792] *** Canceling drag because exception 'NSInvalidArgumentException' (reason '-[sqSqueakOSXApplication recordDragEvent:numberOfFiles:where:windowIndex:]: unrecognized selector sent to instance 0x7c416d30') was raised during a dragging session<br>
<br>
<br>
<br>
<br>
- Bert -<br>
<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">===========================================================================<br>John M. McIntosh. Corporate Smalltalk Consulting Ltd <a href="https://www.linkedin.com/in/smalltalk" target="_blank">https://www.linkedin.com/in/smalltalk</a><br>===========================================================================<br></div></div></div></div>
</div>