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

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

Community Beginner ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

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

Views

671

Translate

Translate

Report

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

Copy link to clipboard

Copied

I've opened a bug here: Tracker

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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