[OpenJDK 2D-Dev] Integrated: 8262446: DragAndDrop hangs on Windows
dmarkov at openjdk.java.net
Mon Mar 8 16:43:07 UTC 2021
On Thu, 4 Mar 2021 10:36:56 GMT, Dmitry Markov <dmarkov at openjdk.org> wrote:
> The IME functions and the DND operation must be executed on the toolkit thread. If the DND operation is in progress, the IME API is invoked via SendMessage() call inside InvokeInputMethodFunction() to avoid a hang. The flag isInDoDragDropLoop indicates whether the DND takes place or not. The flag works properly if the DND is performed between two Java windows. However if anything is dragged from native app, (e.g. Windows FileExplorer) to Java the flag is NOT set. That’s the root cause of the hang.
> Introduce a new flag to indicate DND operation between Java and native app.
> mach5 green
This pull request has now been integrated.
Author: Dmitry Markov <dmarkov at openjdk.org>
Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
8262446: DragAndDrop hangs on Windows
Reviewed-by: aivanov, serb, kizune
More information about the 2d-dev