8000 menu.popup() doesn't accept the "async" option anymore. · Issue #11376 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
menu.popup() doesn't accept the "async" option anymore. #11376
Closed
@romaincointepas

Description

@romaincointepas
  • Electron version: fails only on 1.8.2-beta.2, 1.8.2-beta.3 (works on 1.8.2-beta.1)
  • Operating system: macOS 10.13.2

Expected behavior

Calling menu.popup({async: true}) from the main or renderer process should work (it does in versions 1.8.2-beta.1 and 1.7.9 and below).

Actual behavior

When calling menu.popup({async: true}) with 1.8.2-beta.2 and 1.8.2-beta.3, it throws the following error:

From main process:
Uncaught Exception: TypeError: Error processing argument at index 0, conversion failure from #<Object>

From renderer process:
Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from #<Object>

How to reproduce

https://github.com/romaincointepas/electron-quick-start

  • menu will show after 3 seconds behind at the pointer position with electron 1.7.9 and 1.8.2-beta.1
  • menu will now show (error in console) when using electron 1.8.2-beta.2 and 1.8.2-beta.2

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0