Skip to content
Commit 9e986f8c authored by Alois Wohlschlager's avatar Alois Wohlschlager 🌾 Committed by David Edmundson
Browse files

Fix crash on drag-and-drop over panel

The fake drag-and-drop events caused by the panel reuse the real event's
mimeData, and were handled asynchronously. By the time the fake event
has been dispatched from the event loop, the mimeData may already have
been freed. Send the fake events synchronously again.

A guard is added to avoid the original potential bug of infinite recursion.

BUG: 398440


(cherry picked from commit c19d8de7)
parent cf68b619
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment