Electron app shows blank white window after auto-update restart on macOS 14.3 (renderer alive but never paints)
Environment
Notarized Electron-based macOS app distributed via built-in auto-update. Repro on multiple Macs running macOS 14.3 with both integrated and discrete GPUs. App uses default BrowserWindow creation, GPU acceleration enabled, and calls no explicit app.disableHardwareAcceleration() at startup.
Symptoms
After the auto-updater installs and the app restarts, the main window opens showing a white/blank content area. Menu bar and application controls respond, renderer process appears in Activity Monitor and is not crashed, and devtools (when attached) show DOM elements present but the visual surface is white.
Observations
Launching the same build manually without auto-update rarely shows the issue. Starting with --disable-gpu or calling app.disableHardwareAcceleration() before creating BrowserWindow prevents the white screen and the page paints correctly. Forcibly resizing or toggling color profile sometimes triggers a repaint. Console logs do not show renderer crashes; enabling --enable-logging yields GPU-process messages that suggest compositor did not present a frame.
Already attempted
Cleared Electron cache and app user data directory, tried creating BrowserWindow with show:false then win.show() after 'ready-to-show', added a small setTimeout before showing window — mixed results. Updated Electron in dev to latest minor and reproduced. Tried forcing a CSS repaint and sending win.webContents.reload(), which sometimes recovers after manual intervention. No consistent app crash logs.
Question
What causes the renderer to stop painting after auto-update restart on macOS, and how can I reliably ensure windows render after update without forcing software rendering by default?
Verified community troubleshooting
No answers yet..