JDK-8011755 : [macosx] Fix KeyEvent generation
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7u17,7u79,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: os_x
  • Submitted: 2013-04-09
  • Updated: 2018-02-05
  • Resolved: 2018-02-02
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
After we have switched to using InputMethods for embedded applets in JDK-7156194, Key events are generated synthetically in AWT/FX code. This caused a lot of issues, regressions and code duplication between FX and AWT.

It is suggested to make a proper implementation for the KeyEvent generation on the deploy side. It should be synchronized with changes both in FX and AWT.

Currently known issues:
1. Some of the buttons (backspace) does not generate KeyReleased events
2. Holding a key makes a loop of pressed->typed->released events which is inconsistent with the behavior of a Window-based app.
3. Firefox has a bug which generates additional KeyReleased events when typing very fast.
Comments
There is the same issue happened on Mac10.12-x64 with 8u151b08/Safari10 RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/wolvesden_3DDriver" any any There's the same issue happened on mac10.12-x64-jre8u171b03-64bit-Safari10 RULE "set1/wolvesden_3DDriver" any any
31-01-2018

There is the same issue happened on Mac10.11-x64 with Jre7u161b08-64bit-FF-ESR-52.3.0 RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/playfreegame_AkimoTequilaWorm" any any There is the same issue happened on Mac10.11-x64 with Jre9.0.3b06-64bit/Safari9 RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/wolvesden_3DDriver" any any There is the same issue happened on Mac10.11-x64 with Jre8u162b02-64bit/Safari9 RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/wolvesden_3DDriver" any any There is the same issue happened on Mac10.11-x64 with Jre9.0.4b04-64bit/Safari9 RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/wolvesden_3DDriver" any any
07-11-2017

There is the same issue happened on Mac10.11-x64 with Jre9b177-64bit/Safari9 RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/wolvesden_3DDriver" any any
11-07-2017

There is the same issue happened on Mac10.11-x64 with Jre9b176-64bit/Safari9
30-06-2017

There is the same issue happened on Mac10.11-x64 with Jre9b175-64bit/Safari9 RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/wolvesden_3DDriver" any any
23-06-2017

There is the same issue happened on Mac10.12-x64 with Jre9b174-64bit/Safari10 RULE "set1/wildsnake_SoccerStartsOnline" any any
15-06-2017

There is the same issue happened on Mac10.11-x64 with Jre9b173-64bit/Safari9 RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/wolvesden_3DDriver" any any
14-06-2017

There is the same issue happened on Mac10.12-x64 with Jre9b172-64bit/Safari10 RULE "set1/wildsnake_SoccerStartsOnline" any any
07-06-2017

There is the same issue happened on Mac10.12-x64 with Jre9b170-64bit/Safari10
19-05-2017

There is the same issue happened on mac10.12 with Jre8u141b07-64bit-Safari10 RULE "set1/wildsnake_SoccerStartsOnline" any any
04-05-2017

Mac10.12-x64/Jre9b166-64bit/Safari10 the following cases have same issue. RULE "set1/wildsnake_SoccerStartsOnline" any any RULE "set1/wolvesden_3DDriver" any any
24-04-2017

Mac10.11/jre7u141b08/FF51 the following cases have same issue. RULE "set1/playfreegame_AkimoTequilaWorm" any any The actual result: The applet can loaded but it can not respond when pressing the ���Z������X������K������M��� key.
24-02-2017

SQE OK to defer this for 9.
27-10-2016

Mac10.12 beta/8u121b14/FF48 the following cases have same issue. RULE "set1/playfreegame_AkimoTequilaWorm" any any RULE "set1/wolvesden_3DDriver" any any
12-08-2016

Also seen to fail in 8u111
08-08-2016

initial P2 issue (JDK-8013948) has been fixed in 7u40. This issue is about refactoring and code cleanup, so downgrading the priority to P3.
25-07-2013

related to 8010009
10-04-2013