<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 26, 2014 at 7:38 AM, Jasper St. Pierre <span dir="ltr"><<a href="mailto:jstpierre@mecheye.net" target="_blank">jstpierre@mecheye.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Sep 26, 2014 at 4:07 AM, Carlos Garnacho <span dir="ltr"><<a href="mailto:carlosg@gnome.org" target="_blank">carlosg@gnome.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey,<br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Sep 25, 2014 at 7:30 PM, Matthias Clasen <span dir="ltr"><<a href="mailto:matthias.clasen@gmail.com" target="_blank">matthias.clasen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On Thu, Sep 25, 2014 at 10:32 AM, Jasper St. Pierre<br>
<<a href="mailto:jstpierre@mecheye.net" target="_blank">jstpierre@mecheye.net</a>> wrote:<br>
<br>
<br>
>> Anyway, here's the list:<br></span></blockquote><div><br></div></span><div><snip></div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span></span><br>
<span><br>
>><br>
>> 7) Root window drop<br>
><br>
><br>
> When is this useful?<br>
<br>
</span>One place where it is used is when dragging tabs out of a window to<br>
create a new window. gnome-terminal, gedit, nautilus, all do this. But<br>
looking closer, the way it is implemented is not actually as a root<br>
window drop, specifically, but just any failed drop - if you don't<br>
drop on a notebook in the same app that is hooked up to accept the<br>
tab, we just treat any failed drop as a change to create a new window.<br>
So, what we need is a signal that a drop failed. Not sure we get that,<br>
currently ?<br></blockquote><div><br></div></span><div>There isn't. IMO it'd be more generally useful notifying about the drag being finished. The client that started the drag should already know which mimetype was requested. It'd also help retrofit toolkits to wayland, how higher layers in GTK+ rely on getting the full press/motion.../release events in the drag source client can't be easily circumvented, having a consistent ending point for the operation would help lots.</div><div><br></div><div>Although... if "drag failed" animations are to be performed by the compositor, I think we actually want the drag operation accepted in some form, or we'd confusingly get both things happening. For root window drops at least, maybe "application/x-rootwindow-drop" from XDND could be reused, and have the compositor peer on the wl_data_device so it accepts that mimetype.</div></div></div></div></blockquote><div><br></div></span><div>One of the other things we need, and was on the to-do list a long time ago, was to support "move" / "copy" DND emblems so that some more information can be transferred about the context of a drag. I'm not sure if this should be sent by the source, or can be done entirely by the destination client.<br><br>How does this work under XDND?<br></div></div></div></div></blockquote><div><br></div><div>It would be good to talk to Giulio Camuffo (who I just added to the CC) about this. He was working on trying to get Qt's drag-and-drop support to work some time ago and I think he ran in to similar issues.<br></div><br></div><div class="gmail_quote">--Jason<br></div><br></div></div>