Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

AIR 27 - Alt-Enter toggles fullscreen; behavior not preventable

Community Beginner ,
Sep 27, 2017 Sep 27, 2017

I'm seeing new, undesirable behavior in AIR 27. Holding the Alt key and pressing Enter (or Numpad-Enter) will toggle an application's fullscreen mode. (This wasn't the case with AIR 26.)

This behavior does not seem to be preventable; installing a keydown listener and calling preventDefault() does not prevent the behavior from happening.

stage.addEventListener(KeyboardEvent.KEY_DOWN, function (e :flash.events.KeyboardEvent) :void {
   if ((e.keyCode == Keyboard.ENTER && e.altKey) ||
        (e.keyCode == Keyboard.NUMPAD_ENTER && e.altKey)) {
       e.preventDefault();
   }
}, true);

Am I correct that this is a regression in AIR 27? Is there a workaround?

TOPICS
Performance issues
756
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 27, 2017 Sep 27, 2017

I've opened a bug here: Tracker

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 27, 2017 Sep 27, 2017
LATEST

Thank you for the bug report (https://tracker.adobe.com/#/view/AIR-4198470​).  We'll take a look asap, there were no planned changes with this behavior.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines