adobe/brackets-app

No key events sent for modifier keys on Mac

peterflynn opened this issue · 3 comments

Add this code in brackets.js just above the call to document.body.addEventListener():

$(document).keydown(function(event) {
    console.log("Keydown: "+event.keyCode);
});
  1. Run Brackets
  2. Tap Ctrl, then Alt/Option, then Command

Result: Nothing is output to console

Expected: Should output messages (I think the expected codes are 17, 18 and 91). It works in Brackets on Windows, and it works in Chrome on both platforms.

This isn't a user-visible bug for any official stories, but it is blocking me from submitting a (bonus) pull request to support Ctrl+Tab to switch editors (see branch pflynn/editor-nav-shortcut).

njx commented

Reviewed. Should be fixed in the new CEF.

Moved to adobe/brackets#887, closing in here.