Skip to content

[electron] Executing the commands from menu items has no effect when the application starts. It worked with 1.36.0 #12493

@kittaakos

Description

@kittaakos

Bug Description:

Originally from here: arduino/arduino-ide#2027 (review)

Clicking on the menu items have no effect when the application is starting. This has worked with 1.36.0. Presumably, the breaking change has been introduced with the electron version update and affects only the electron app, but this is just a guess so far: #12299.

Steps to Reproduce:

  1. Open Theia Blueprint 1.37.0, and while the app is starting, click on File > New File. Nothing happens until the window is fully loaded and the last setMenu is called.
  2. This works perfectly with Theia Blueprint 1.36.0. When I click New File thrice, I will see three new untitled editors once the app is ready.

1.36.0: 😄

menu_items_work_at_startup_1.36.0.mp4

1.37.0: 😞

menu_items_do_not_work_at_startup_1.37.0.mp4

Additional Information

  • Operating System: macOS
  • Theia Version: 1.37.0 Theia Blueprint

Metadata

Metadata

Assignees

No one assigned

    Labels

    electronissues related to the electron target

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions