New issue 83 by sekati: Escape key handler fails to enter fullscreen mode
http://code.google.com/p/sekati/issues/detail?id=83
What steps will reproduce the problem?
1. Create a key listener for the Escape key & a handler which checks the
displayState and toggles between fullscreen and normal modes.
2. Create a secondary (control) key listener (Space for example) which does
the same.
3. Run the swf in browser, test Escape functionality (see bug), run control
key Space (see proper functioning).
What is the expected output? What do you see instead?
Actual Results:
The Escape key flicks the player in to, then immediate out of fullscreen
mode. Space key toggles properly in to fullscreen mode. (Bug files attached
or viewed @ http://cdn.sekati.com/jira/escapekey-bug/)
Expected Results:
The Escape key should enter in to fullscreen mode & remain there (as it did
pre player 10.1, where this bug first appeared). It seems that the built-in
players Escape key handler executes after the developers Escape key handler
- thus creating the quick "flicker" effect.
Workaround (if any):
Using KeyboardEvent.KEY_DOWN instead of KeyboardEvent.KEY_UP seems to be a
temporary work-around but is problematic as it negates the use of
key-combos (in which an array of keyCodes would need to be compared before
KEY_UP).
Please use labels and text to provide additional information.
Adobe has been unresponsive in addressing this undocumented change in
FP10.1 - a workaround will be placed in trunk / maintenance release until
Adobe can properly address this break:
Comment #1 on issue 83 by sekati: Escape key handler fails to enter
fullscreen mode
http://code.google.com/p/sekati/issues/detail?id=83
Resolved in 3.0.6.0 Gamera Release!
This created a regression bug where ContextMenuManager doesn't initialize
the KeyManager properly unless PerformanceMonitor is enabled in config.xml.
This is fixed in svn trunk and an intermediary build pre 3.0.6.1.