Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag n drop doesn't work in Bitwig Studio #32

Open
Supreeeme opened this issue Jun 29, 2024 · 16 comments
Open

Drag n drop doesn't work in Bitwig Studio #32

Supreeeme opened this issue Jun 29, 2024 · 16 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Supreeeme
Copy link
Owner

  1. Attempt to drag clip from sidebar to arranger/clip launcher
  2. Observe nothing happens

Works everywhere else (labwc, cage, anvil)
Nothing interesting in current logs...

@zydra-zy
Copy link

zydra-zy commented Oct 8, 2024

I can confirm same issue on my own end too, practically any function in bitwig that requires dragging something somewhere, even entirely within the program itself does not work.

Dragging the start and end of notes is fine, but dragging the actual notes around is entirely nonfunctional, same for plugins and clips.

forgot to mention, using niri.

@zydra-zy
Copy link

zydra-zy commented Nov 8, 2024

I've been thinking about this again - it does seem to recognize that things are being dragged, but nothing actually moves....
...except changing pretty much any parameter, knob, end/beginning, etc.

gamescope somehow manages to deal with the input properly and "works" under niri (however is not useful due to DAWs often opening many, many new windows)

ableton with lutris has been runing flawlessly with xwayland-satellite too, so its a very weird bitwig-only specific issue...??
its a shame because I like bitwig a lot...

@Supreeeme
Copy link
Owner Author

Satellite likely needs to facilitate the XDND protocol with the drag and drop portions of Wayland (wl_data_device_manager and friends). I plan to get to this, eventually...

@ViciousBadger
Copy link

Good to know the issue is known and is fixable. Bitwig is not implementing the Wayland protocol any time soon so this will have to do..

I will look into this a bit (REALLY want bitwig to work) but I have zero experience with X11 protocols so it likely won't end well. 🥳

@Supreeeme
Copy link
Owner Author

For inspiration you can look at selection.rs. I believe drag n drop uses selections just like the clipboard.

@Supreeeme
Copy link
Owner Author

@ViciousBadger I don't know how far you've gotten but I plan to look into this next

@ViciousBadger
Copy link

@Supreeeme Sure thing, I got waaay sidetracked so I never really started, no need to hold back.

@Supreeeme
Copy link
Owner Author

Just an update, upon looking into this I concluded it is not clear why this doesn't Just Work already. Drag and drop is purely an X11 client-side thing so it's not really clear what's going wrong with dragging something from Bitwig onto itself, especially when I can make drag and drop work already with some other clients. I still plan to see what I can do about this, but I'm going to prioritize the issues I can comprehend for now.

@Supreeeme Supreeeme added the help wanted Extra attention is needed label Jan 25, 2025
@emenel
Copy link

emenel commented Feb 3, 2025

Just chiming in to say that i also have this issue with niri ... at the moment i'm just switching to gnome for bitwig.

since other apps seem to work find in xwayland-satellite, maybe this is a niri issue?

@bandithedoge
Copy link

A very simple workaround is to run Bitwig in a nested compositor that supports Xwayland natively. labwc -S bitwig-studio seems to work great (just make sure not to close the labwc window from your main compositor or you'll have a Bitwig process hanging).

@emenel
Copy link

emenel commented Feb 7, 2025

A very simple workaround is to run Bitwig in a nested compositor that supports Xwayland natively. labwc -S bitwig-studio seems to work great (just make sure not to close the labwc window from your main compositor or you'll have a Bitwig process hanging).

Thanks. I will try this afternoon. My hesitancy was about how it would handle plugin windows, and worse, wine/yabridge windows.

@emenel
Copy link

emenel commented Feb 9, 2025

A very simple workaround is to run Bitwig in a nested compositor that supports Xwayland natively. labwc -S bitwig-studio seems to work great (just make sure not to close the labwc window from your main compositor or you'll have a Bitwig process hanging).

this seems to work as a workable alternative for now, but has some issues. the biggest is that wine/yabridge plugins UI controls are "pinned" to the upper left corner, even if the UI is elsewhere on the screen.

ideally i'd love to see this fixed in xwayland-satellite since everything in bitwig works perfectly except for dragging ...

@nekopsykose
Copy link

ideally i'd love to see this fixed in xwayland-satellite since everything in bitwig works perfectly except for dragging ...

do the submenus (e.g. in automation selection) work for you? for me it's impossible to select any of these (clicking any just keeps whatever it was set to):

but i thought that was also an xwayland-satellite bug similar to this one, given this happens in almost every application with nested submenus

@emenel
Copy link

emenel commented Feb 9, 2025

ideally i'd love to see this fixed in xwayland-satellite since everything in bitwig works perfectly except for dragging ...

do the submenus (e.g. in automation selection) work for you? for me it's impossible to select any of these (clicking any just keeps whatever it was set to):

but i thought that was also an xwayland-satellite bug similar to this one, given this happens in almost every application with nested submenus

these menus are broken in xwayland-satellite, but they work using labwc.

@bandithedoge
Copy link

@emenel

this seems to work as a workable alternative for now, but has some issues. the biggest is that wine/yabridge plugins UI controls are "pinned" to the upper left corner, even if the UI is elsewhere on the screen.

This is a known issue with recent versions of Wine, it's neither yabridge's nor labwc's fault: robbert-vdh/yabridge#382

@emenel
Copy link

emenel commented Feb 10, 2025

@emenel

this seems to work as a workable alternative for now, but has some issues. the biggest is that wine/yabridge plugins UI controls are "pinned" to the upper left corner, even if the UI is elsewhere on the screen.

This is a known issue with recent versions of Wine, it's neither yabridge's nor labwc's fault: robbert-vdh/yabridge#382

Thanks. I can confirm that going back to Wine 9.2 and using labwc makes bitwig work perfectly so far.

It's still annoying to have to have a separate compositor just for this, so if it ever gets solved in xwayland-satellite that would still be awesome. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants