brummer10 / Fluida.lv2

Fluidsynth as LV2 plugin
GNU General Public License v2.0
33 stars 4 forks source link

Drag'n drop .sf2 file doesn't works in Reaper #13

Closed brunetton closed 2 years ago

brunetton commented 2 years ago

Hi

I'd love to be able to drag'n drop soundfont file onto Fluida (to be able to use my favorite file browser, that is definitively not build-in Fluida one ;))

Do you plan to add this ? I'd find this VERY useful !

Thanks

brummer10 commented 2 years ago

Hi It is supported. Peek 2022-03-25 06-09

Just some hosts may not forward the drag data to the plugin UI, then it didn't work.

brunetton commented 2 years ago

Thanks a lot.

Unfortunately in my case (using Reaper 6.52) this gives me this error message:

image

I do not know howto have more information. Nothing in console logs when running Reaper from console.

I only tried in Reaper at first. Then I tried in Carla and it works in Carla; so it seems to be a problem related to Reaper. Can you have a look ?

Thanks a lot !

brummer10 commented 2 years ago

Well, they need to implement X11 forwarding for drop files on the plugin UI. The reason why it ain't work is that the drop goes into the host window (the one were the plug window is drawn on), hence the error message from reaper, as it don't know what to do with the file. They just need to send (forward) the event to the child window of the host side plugin window, which is the window of the plug, in this case fluida, and fluida knows what to do with *.sf2 files.

brunetton commented 2 years ago

Thanks. So I contacted them: https://forum.cockos.com/showthread.php?p=2545643#post2545643

Let's see