RFR: 8274751: Drag And Drop hangs on Windows
Sergey Bylokhov
serb at openjdk.java.net
Thu Jan 20 19:32:50 UTC 2022
On Tue, 18 Jan 2022 12:51:56 GMT, Dmitry Markov <dmarkov at openjdk.org> wrote:
> When an object is moved from one window (DnD source) to another window (DnD target) the first window may also be considered as a DnD target and the native OS sends corresponding events to it. That event processing clears isInDoDragDropLoop flag, which is currently used to indicate DnD operation, and causes a hang.
>
> Fix:
> It is necessary to distinguish events related to the DnD source and events related to the DnD target, (i.e. use two indication flags).
>
> Testing:
> mach5 green
Just for confirmation - it is not possible to reproduce using the second forked java app instead of the native app?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7125
More information about the client-libs-dev
mailing list