Seems harmless enough. What is your use case?

On 16/08/2025 01:53, Nir Lisker wrote:
> Hi all,
>
> I've noticed that the full press-drag-release MouseDragEvent doesn't
> have an event type that signals the end of the drag process. In DnD,
> there is DragEvent.DRAG_DONE that signals the end of the drag-and-drop
> process regardless of the result and the mouse location it was
> released at, including outside of the application.
>
> Adding a MouseDragEvent.MOUSE_DRAG_DONE is useful for applications
> that want to act when the process finishes regardless of the result.
> Currently, the "latest" event that can be delivered is a
> MOUSE_DRAG_RELEASED type, but it can only be delivered if the event
> ends on a node that registered for it. If the mouse is released
> outside of the application or on a node that hasn't registered for it,
> there will be no notification that the drag chain ended.
>
> I propose adding this event type and the appropriate property on Scene
> and Node. The modification seems rather simple in my prototype.
>
> Thoughts?
>
> -- Nir

Reply via email to