TheQwertiest / foo_spider_monkey_panel

foobar2000 component that allows to use JavaScript to create CUI/DUI panels
https://theqwertiest.github.io/foo_spider_monkey_panel/
MIT License
274 stars 21 forks source link

Drag and Drop behavior does not work properly since SMP 1.6.0 in Wine/Linux #187

Open TT-ReBORN opened 2 years ago

TT-ReBORN commented 2 years ago

Hi @TheQwertiest,

the workaround fix for the Wine drag and drop bug does not work since SMP 1.6.0, i.e change action.Effect = this.filter_effect_by_modifiers(action.Effect); to action.Effect = g_drop_effect.copy; in on_drag_over(action, x, y, mask) and on_drag_drop(action, x, y, m) in the Playlist. More information here.

Here is also a modified console.logged DragnDrop.js with your workaround fix applied. It works ONLY WITH SMP 1.5.2 IN WINE, but not with SMP 1.6.0 nor SMP 1.6.1. Because you changed dnd behavior in SMP 1.6.0.

-Tom