Skip to content

Unmentioned breaking change of app.getGpuInfo() from Electron 30.0 #49108

@BOT-Man-JL

Description

@BOT-Man-JL

Preflight Checklist

Electron Version

from 30.0 to 39.2

What operating system(s) are you using?

Windows

Operating System Version

Both 10 and 11

What arch are you using?

x64

Last Known Working Electron version

29

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

In 8b4a97c (via #41514), the behavior of app.getGpuInfo('complete') changed from loading once and returning cached result to requesting the latest GPU info every time.

This behavior change caused issues for code that depended on the previous caching behavior.

Actual Behavior

This change was not mentioned in Electron 30 release notes. 😢

Testcase Gist URL

No response

Additional Information

Should this change be documented in the release notes, or only reflected in the latest API documentation?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    👀 Unsorted Items

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions