Task Description
I'm experiencing a critical issue with a Java Web Start Swing/AWT application where, after interacting with certain edit fields (e.g., JTextArea, JTextField), a small subset of users (about 15 out of 1500 of that application) cannot interact with other applications like Google Chrome (search field) or Notepad (have no cursor to type there). It seems like the Java application is forcedly locking the focus inside java application edit field and blocking keyboard (I can see cursor there for a short moment and then it disappeared and appeared back in Swing application edit field) input in any Windows 10/11 external applications (like Google Chrome search edit field). But I able to type inside swing edit field the same time. If I minimize-maximize windows (not java) application - I can type in edit field after it.
This issue looks like undocumented (bug) java Swing/AWT behavior. It happened under Oracle java 8 build#191.
I found only one way to reproduce this behavior: by using AWT.mouseMove() function, but this function not used inside GUI.
Do you know any other way to reproduce this behavior under Windows?
I have GUI part jar file only and decompiled sources (compliable) - not original source files and I do not have backend of this application - therefore you will not be able to run it locally.
You may find more details at:
https://stackoverflow.com/questions/79045194/java-swing-application-locks-focus-and-blocks-mouse-input-in-other-applications
Key Requirements:
1. To find the way to reproduce this focus locking and mouse input blocking issue in a separate Java Web Star/Swing/AWT application without using JNA or AWT Robot by using parts of original application code (GUI part).
2. Find exact place in source code (looks like in GenericToolBox class) that causing that issue and suggest solution
3. To find what might be causing this issue only for certain users (15 from 1500), despite identical environments?
I included video showing that issue happened with web-based application edit field not editable - the same issue happened with google chrome search edit field and windows tool bar search edit field.
I also attached VisualVM application snapshot/headdump/threaddump at the moment the issue is happened.
This issue may relate to Oracle java 8(build 191/jre1.8.0_191)/AWT/Swing Windows 10 related bug(s)
More details at: https://kisoft.ca/flock/