[Wayland-bugs] [Bug 697855] Implement DnD in wayland
gtk+ (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Aug 25 11:51:30 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=697855
gtk+ | Backend: Wayland | 3.8.x
--- Comment #18 from Carlos Garnacho <carlosg at gnome.org> 2014-08-25 18:51:26 UTC ---
(In reply to comment #17)
> (In reply to comment #16)
> > One caveat I forgot to mention, local DnD is somewhat botched, there seems to
> > be no way to short circuit petitions, nor to know whether the other side is the
> > same client. And there's also this bug I'm chasing where it sometimes won't
> > detect the local window as a drop destination until the pointer leaves and
> > enters the window.
>
> Are you trying to enforce only local (which I assume means only windows from
> the source client?) or to do something special in the local case?
No, thing is... GtkSelection has means to detect when a selection is owned
locally, this is used in several ways in DnD (eg. textview sending buffer
pointers, text widgets defaulting to move instead of paste, etc), I was unable
to detect these cases, so this is all currently behaving as alway-remote.
>
> As for doing something special in case of a local dnd, it should be possible to
> detect by noticing that data_devices wl_seat is one that the client currently
> has an active dnd grab for.
Oh, I somehow didn't think of checking how did wl_data_sources match. Thanks
for the hint :), I'll be playing with that.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Wayland-bugs
mailing list