<div dir="auto">Thanks for the remainder, the d&d howto looks very nice! But still, there’s no way to show visual feedback on wether a drop target is valid or not, currently we can only drop it and hope for the best. I think we should dispatch mouse enter/leave/hover events even if the hand is dragging something (and alternative ideas are welcome). I looked at some d&d design principles today, I’ll look in more detail at how other graphical systems do it, I think we can improve it. In the meantime, I just hacked two methods in HandMorph to dispatch those events anyway, and now it works but I’m getting a few artifacts…</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Nov 11, 2025 at 19:17 H. Fernandes via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Did you check out <a href="http://doc.cuis.st" rel="noreferrer" target="_blank">doc.cuis.st</a>, there is a doc about drag and drop<br>
<br>
Dr. Geo -- <a href="http://gnu.org/s/dr-geo" rel="noreferrer" target="_blank">http://gnu.org/s/dr-geo</a><br>
<br>
----- Luciano Notarfrancesco via Cuis-dev &<a href="mailto:lt%3Bcuis-dev@lists.cuis.st" target="_blank">lt;cuis-dev@lists.cuis.st</a>> a écrit :<br>
> Our implementation of drag & drop in morphic doesn’t seem to provide a<br>
> mechanism for showing visual feedback on wether the morph that you’re<br>
> hovering will accept or not the dragged morph. Or is it? I can’t find it.<br>
> I’d like to highlight the target morph when the hand hovers over it with a<br>
> morph that it can accept, and I tried implementing it mouse<br>
> enter/leave/hover events but they are not delivered unless the hand is<br>
> empty (i.e., not during drag). Any idea? Am I missing something?<br>
> <br>
> Also, it would be nice to have a way to calcel drag (with ESC, maybe?).<br>
> Right now I just cancel by dropping it in its original place but it feels<br>
> awkward.<br>
<br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>