This is a backport PR for branch 43-x-y
trop[bot]

#53818: fix: capture offscreen pages at the view's device scale factor

Merged
Created: Sep 10, 2026, 9:24:16 AM
Merged: Sep 10, 2026, 10:32:34 AM
1 comments
Target: 43-x-y

Backport of #53810

See that PR for details.

Notes: Fixed webContents.capturePage() on offscreen windows returning an image resampled to the display's scale factor instead of rendered at the window's offscreen.deviceScaleFactor.

Backport Information

Original PR Author
MarshallOfSound
Original PR Status
Merged
Original PR Merged At
Sep 10, 2026, 9:23:32 AM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron