Javascript error when calling the Electron.App.Hide() #634

Closed
opened 2026-01-29 16:44:44 +00:00 by claunia · 1 comment
Owner

Originally created by @simedbn on GitHub (Feb 10, 2021).

Originally assigned to: @GregorBiswanger on GitHub.

  • Version: API : 11.5.1 / CLI : 11.5.1
  • Target: .NET 5

Steps to Reproduce:

  1. add the Electron.App.Hide() to a click event of a menu button
  2. Run the app and click on that button :
    image
Originally created by @simedbn on GitHub (Feb 10, 2021). 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**: API : 11.5.1 / CLI : 11.5.1 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> <!-- What target are you building for? --> * **Target**: .NET 5 <!-- Enter your issue details below this comment. --> <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> Steps to Reproduce: 1. add the Electron.App.Hide() to a click event of a menu button 2. Run the app and click on that button : ![image](https://user-images.githubusercontent.com/15849678/107516120-3d2f7780-6bac-11eb-951b-14c72216a95d.png)
claunia added the bug label 2026-01-29 16:44:45 +00:00
Author
Owner

@GregorBiswanger commented on GitHub (Mar 28, 2023):

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉

With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!

@GregorBiswanger commented on GitHub (Mar 28, 2023): 🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉 With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#634