Context menu actions not working

Prerequisites

Description

I’ve just noticed that, in the latest nightly build, context menu actions are not working throughout the app. The context menu appears and allows me to choose an option, but nothing happens.

Steps to Reproduce

  1. Open Atom with a project
  2. Right-click on a folder in the tree view
  3. Choose “New file…”

Expected behavior:

The file creation dialog panel should appear.

Actual behavior:

The context menu closes and no dialog is shown.

Reproduces how often:

100%% of the time. It also reproduces with any other menu option on any other context menu (within a TextEditor, or on unstaged files in the git tab, etc).

Versions

github ➤ atom --version
Atom    : 1.57.0-nightly0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1
github ➤ apm --version
apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.57.0-nightly0
python 2.7.16
git 2.27.0.3050.gc219791418

Additional Information

No errors appear in the dev console, either.

Keyboard shortcuts (like “A” for the “New file” action in my repro steps) and running commands from the command palette both work as expected.

I’m guessing that this is related to an Electron upgrade?

2 thoughts on “Context menu actions not working

  1. @darangi can you make sure this gets fixed in v1.56.0 before it goes to stable as well. It would also be nice to get a v1.56.0-beta1 release with this fix.