Application crashes when window is hidden and then restored on Windows #456

Closed
opened 2026-01-29 16:40:00 +00:00 by claunia · 3 comments
Owner

Originally created by @Velorien on GitHub (Feb 11, 2020).

Originally assigned to: @GregorBiswanger on GitHub.

  • Version: 7.30.2
  • Target: .NET Core 3.1 on Windows x64

This is not really a bug in Electron.NET, but in Electron itself [see the issue]. The latest version of Electron.NET suffers from this bug, so I wanted to share this here, so that you won't need to get frustrated as I did and waste half the day in Google.

Workaround: use the previous version of Electron.NET which doesn't have this bug.

Originally created by @Velorien on GitHub (Feb 11, 2020). Originally assigned to: @GregorBiswanger on GitHub. <!-- Please search existing issues to avoid creating duplicates. --> <!-- Which version of Electron.NET CLI and API are you using? --> <!-- Please always try to use latest version before report. --> * **Version**: 7.30.2 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> <!-- What target are you building for? --> * **Target**: .NET Core 3.1 on Windows x64 <!-- Enter your issue details below this comment. --> <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> This is not really a bug in Electron.NET, but in Electron itself [[see the issue](https://github.com/electron/electron/issues/21614)]. The latest version of Electron.NET suffers from this bug, so I wanted to share this here, so that you won't need to get frustrated as I did and waste half the day in Google. *Workaround*: use the previous version of Electron.NET which doesn't have this bug.
claunia added the bug label 2026-01-29 16:40:00 +00:00
Author
Owner

@GregorBiswanger commented on GitHub (Apr 18, 2020):

Is it fixed with electron in version 8?

@GregorBiswanger commented on GitHub (Apr 18, 2020): Is it fixed with electron in version 8?
Author
Owner

@Velorien commented on GitHub (Apr 23, 2020):

@GregorBiswanger if I understood correctly, they fixed it in one of Electron 8 pre-releases and shipped the fix in 8.2.

@Velorien commented on GitHub (Apr 23, 2020): @GregorBiswanger if I understood correctly, they fixed it in one of Electron 8 pre-releases and shipped the fix in 8.2.
Author
Owner

@Velorien commented on GitHub (May 5, 2020):

I've verified that it's fixed in the latest release 🎉

@Velorien commented on GitHub (May 5, 2020): I've verified that it's fixed in the latest release 🎉
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#456