#47949·electron

The viewport fails to render when resized to high resolutions, and the window decorations temporarily fail to render when initialised at high resolutions. At too high of a resolution, Electron crashes.

Author: beedell-rokeCreated Aug 3, 2025Updated Sep 27, 2026
Labelsplatform/windowscrash :boom:bug :beetle:has-repro-gist37-x-y

Preflight Checklist

Electron Version

37.2.3

What operating system(s) are you using?

Windows

Operating System Version

11 Pro 24H2

What arch are you using?

x64

Last Known Working Electron version

None

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

  1. The window decorations should continue to render when first invoked, rather than appear to become monochromatic CSDs.

  2. (Especially when the window decorations have rendered), the viewport should continue to render.

  3. The application should not ever be resizable to the extent that it can crash (≥ mainWindow.setSize(46369, 46369);).

Actual Behavior

https://github.com/user-attachments/assets/24180279-48e8-4e48-bfbe-ea768aa3fbf7

Testcase Gist URL

gist.github.com/RokeJulianLockhart/b7138aa570ca4c31601964833c0cf867 ^1

Additional Information

Originally reported downstream, at: