DnD: Cannot drag to an x11 window from a wayland window
Steps to reproduce
- Use a Wayland desktop (Gnome here)
- Open an X11 app (e.g. Firefox, X11-style gedit,...)
- Try dragging a file from nautilus (or any wayland app) to the X11 app
- Target app seems to react to the drag overlay (changes cursor) but, when releasing the pointer, the file seems discarded. No logs are shown.
Current behavior
The target app seems to react to the drag overlay (changes cursor) but, when releasing the pointer, the data seems discarded. No logs are shown in the console.
Impact: breaks all drag and drop features used by webapps, cannot add an email attachment in Thunderbird using DnD.
Expected outcome
The target app should receive the drag and drop data.
Version information
Additional information
Screen recording using Gedit (btw the gnome screen recording feature is super cool). X11 => Wayland works, but Wayland -> X11 does not work. X11 -> X11 works, and Wayland -> Wayland works.
Capture_d_écran_vidéo_de_02-02-2020_18_10_15
Potentially related to #1594 (closed) (even though I'm not sure the screen recording shows any issue).