Drag & Drop - multiple wl_data_device/wl_seat interfaces

Martin Stransky stransky at redhat.com
Thu Apr 29 11:12:57 UTC 2021


On 4/29/21 4:20 AM, Sichem Zhou wrote:
> Hi Martin,
> 
> There was an attempt MR [1] try to fix the firefox copy/paste issue last
> year. You sure the clipboard is working correctly under weston? I just
> checked you still can't paste anything to firefox.

I'm not sure about Weston but works in KWin, Mutter, Sway. Firefox 
register its own wl_data_device and listens there. It uses the same seat 
(seat0) as Gtk.

Martin

> [1]: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/426
> 
> 
> Le mar. 20 avr. 2021 20 h 52, Martin Stransky <stransky at redhat.com> a
> écrit :
> 
>> Hello folks,
>>
>> I'm solving an issue with multiple wl_data_device/wl_seat interfaces.
>> Firefox uses two wl_data_devices, one owned by Gtk and one owned by
>> Firefox.
>>
>> When cliboard operations are used (copy/paste) it works as expected. But
>> with Drag & Drop sometimes only one device gets the D&D events so D&D
>> does not work reliably.
>>
>> Wayland log is attached. I wonder if that can be related to active
>> wl_keyboard/wl_seat or is that a compositor bug? (I'm using
>> mutter-3.38.4-1.fc33).
>>
>> Thanks,
>> Martin
>>
>> --
>> Martin Stransky
>> Software Engineer / Red Hat, Inc
>> _______________________________________________
>> wayland-devel mailing list
>> wayland-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>>
> 


-- 
Martin Stransky
Software Engineer / Red Hat, Inc



More information about the wayland-devel mailing list