Skip to content

Electron 14: Zone no longer working using @electron/remote #43346

@pamtbaau

Description

@pamtbaau

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

Yes

Description

Module 'remote' has been deprecated and removed in Electron 14. Module remote can be replaced with @electron/remote.

However, when using @electron/remote, code running inside an event triggered by a popup menu does no longer run inside a zone.

See also #31668

Please provide a link to a minimal reproduction of the bug

https://github.com/pamtbaau/zone

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

Angular CLI: 12.0.5
Node: 14.15.1
Package Manager: npm 6.14.8
OS: win32 x64

Angular: 12.0.5
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1200.5
@angular-devkit/build-angular   12.0.5
@angular-devkit/core            12.0.5
@angular-devkit/schematics      12.0.5
@schematics/angular             12.0.5
rxjs                            6.6.7
typescript                      4.2.4
electron                        14.0.0

Anything else?

In repo reproducing the bug, branch electron-v12 is working, branch electron-v14 (using @electron/remote) is not longer working.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: zonesIssues related to zone.js

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions