Skip to content

Right-clicking on a renderer-created window with vibrancy causes crash #44943

Closed
@cptpcrd

Description

Preflight Checklist

Electron Version

32.2.6

What operating system(s) are you using?

macOS

Operating System Version

Sequoia 15.1.1

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

32.2.5

Expected Behavior

  • Create a window from the renderer via window.open, and override the options in the main process to set vibrancy: "titlebar" (though any valid vibrancy value seems to reproduce this).
  • Right-click on the created window.
  • The normal right-click action (possibly a no-op) occurs.

Actual Behavior

The app crashes.

Testcase Gist URL

https://gist.github.com/cptpcrd/38d609cf5b77a31560a84a09965d60c2

Additional Information

This reproduces on 32.2.6, 33.2.1, and 34.0.0-beta.6. It does not reproduce on 32.2.5, 33.2.0, or 34.0.0-beta.5.

I made a local build from v32.2.6 and tested. Reverting #44761 (or more properly, its v32 backport #44798 / 85a3ed3) fixed the crash, but applying #44940 did not fix the crash.

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions