Closed alterNERDtive closed 5 months ago
This is most likely a duplicate of #9789. The tl;dr is that it should work if you use a qt application instead of a gtk one (like Dolphin) or disable focus_follows_mouse
in sway. Nobody ever figured out whose bug this is and where to fix it.
Important Information
Reproduction steps
It is reproducible with
--no-config
.Expected behavior
mpv plays the dragged file.
Actual behavior
Nothing happens.
Drag & drop works from file manager (I use Thunar, but at this point have tried basically anything in the Fedora repos to make sure it’s not a Thunar bug) into any other Wayland or XWayland window I’ve tried.
Thunar forced to run on XWayland into mpv does not work, neither does Thunar (Wayland) into mpv (XWayland). Thunar (XWayland) into mpv (XWayland) does!
Also, and this is the really funny part, if I drag the file from Thunar (Wayland) over the Streamlink Twitch GUI window (Xwayland) I have on the same desktop and then into mpv (Wayland), it works.
Log file
(This is Wayland → Wayland)
(This is Wayland → Wayland, but dragged over the mentioned XWayland window first)
(Ignore the screenshot, I’m too used to
s
→ stop 😬)Sample files
Literally any file mpv can play.