Re: Drag & Drop - multiple wl_data_device/wl_seat interfaces
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 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 events so 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@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel -- Martin Stransky Software Engineer / Red Hat, Inc ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: Drag & Drop - multiple wl_data_device/wl_seat interfaces
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. [1]: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/426 Le mar. 20 avr. 2021 20 h 52, Martin Stransky 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 events so 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@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/wayland-devel > ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: Drag & Drop - multiple wl_data_device/wl_seat interfaces
Hi, On Tuesday, April 20th, 2021 at 2:51 PM, Martin Stransky wrote: > with Drag & Drop sometimes only one device gets the D events This sounds like a compositor bug. The events should be broadcast to all objects of the client that has focus for the wl_seat I think. Simon ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel