The NSEventTypeLeftMouseUp event is never sent to the NSView when there is an active NSDraggingSession. NSEventTypeLeftMouseDragged events are sent and processed just fine, but the mouse up event is never sent.
- Build and run the app
- Click and drag from anywhere in the window to anywhere in the window
- View the Console in Xcode
- Notice that "mouseup" is never printed to the console
After running above repro steps, the console should show:
- "mousedown" once
- "mousedragged" multiple times during the drag
- "mouseup" when the drag is complete