Skip to content

[Bug]: BrowserWindow.getBackgroundColor() crashes with transparent windows on macOS #28104

@MarshallOfSound

Description

@MarshallOfSound

Preflight Checklist

Electron Version

12.0.0

What operating system are you using?

macOS

Operating System Version

10.14.0

What arch are you using?

x64

Last Known Working Electron version


Expected Behavior

No crash when calling method

Actual Behavior

App crashes when calling getBackgroundColr()

Testcase Gist URL

https://gist.github.com/d50e366f070104cac377fd7a48722cbe

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    12-x-yhas-repro-gistIssue can be reproduced with code at https://gist.github.com/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions