Hi All, Please review a fix for the below bug:

 

Bug: https://bugs.openjdk.java.net/browse/JDK-8146537

 

Webrev: http://cr.openjdk.java.net/~sveerabhadra/8146537/webrev.00/

 

Summary: The windows GetKeyState() api provides the key state of the requested 
key as of that instant by sampling the current thread's key messages from the 
message queue. Any misses either a thread ran faster or slower it is possible 
to miss the key messages. This is the problem that's happening under windows 10 
wherein the key states are being null for the mouse button press. This problem 
is mentioned in the msdn as well. On the other hand, a tray icon message click 
produces NIN_BALLOONUSERCLICK event only upon the left mouse button click and 
hence there is no check required for the same.

 

Thanks and regards,

Shashi

Reply via email to