MIDI Drag-and-drop to Logic Pro via NSItemProvider

Logic Pro recently changed the way it accepts drag and drop. If the ItemProvider contains UTType.midi, then Logic Pro shows visual feedback for the drop operation, but when the item is dropped, nothing happens. In the past, drag-and-drop used to work. With today's version (Logic Pro 11.2), the only way I was able to successfully drop MIDI was to provide UTType.fileURL and no other data types. But that's not a viable solution; I need other data types to be included too.

As a side note, I tested with Ableton Live 12 and it works with no issue.

Is this a bug in Logic Pro? What ItemProvider structure does Logic Pro expect to correctly receive the MIDI data?

Answered by DTS Engineer in 884521022

I don’t have a lot of insight into this — UI frameworks aren’t really my thing — but M78 posted their bug number (FB18243622) upthread, and from that I was able to see this is reported as fixed in Logic Pro 12.0.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Logic Pro recently changed the way it accepts drag and drop. If the ItemProvider contains UTType.midi, then Logic Pro shows visual feedback for the drop operation, but when the item is dropped, nothing happens. In the past, drag-and-drop used to work. With today's version (Logic Pro 11.2), the only way I was able to successfully drop MIDI was to provide UTType.fileURL and no other data types. But that's not a viable solution; I need other data types to be included too.

As a side note, I tested with Ableton Live 12 and it works with no issue.

Is this a bug in Logic Pro? What ItemProvider structure does Logic Pro expect to correctly receive the MIDI data?

This error seems specific to Logic Pro. Please file a Feedback and attach a sysdiagnose soon after the error occurs.

Still present in Logic Pro 11.2.1

@M78 m did you ever get to the bottom of this?

I am trying to solve drag for audio from the arrange page to my plugin. It was working in 11.2.1. but 11.2.2 its broken

I don’t have a lot of insight into this — UI frameworks aren’t really my thing — but M78 posted their bug number (FB18243622) upthread, and from that I was able to see this is reported as fixed in Logic Pro 12.0.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

MIDI Drag-and-drop to Logic Pro via NSItemProvider
 
 
Q