RFR: 8274751: Drag And Drop hangs on Windows

Sergey Bylokhov serb at openjdk.java.net
Wed Jan 19 22:58:51 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

Is it possible to add a test case for this bug?

-------------

PR: https://git.openjdk.java.net/jdk/pull/7125



More information about the client-libs-dev mailing list