<AWT Dev>  JDK-8146537: TrayIcon Action Listener doesnt work in WIndows 10
shashidhara.veerabhadraiah at oracle.com
Mon Nov 20 10:10:16 UTC 2017
Hi All, Please review a fix for the below bug:
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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev