[Bug] The main window cannot been opened via tray #273

Closed
opened 2026-04-05 16:17:12 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @xuan25 on 10/15/2025

Describe the bug
The main window cannot been opened via tray

To Reproduce
Steps to reproduce the behavior:

  1. Launch the VRCX
  2. Close the main window
  3. Left click the tray icon
  4. An error dialog showing the following
A JavaScript error occurred in the main process

Uncaught Exception:
TypeError: Object has been destroyed
  at Tray.<anonymous>(/opt/vrcx/resources/app.asar/src-electron/main.js:564:20)
  at Tray.emit (node:events:518:28)

Alternatively,

  1. Launch VRCX
  2. Close the main window
  3. Right click the tray icon and click the Open button in the context menu
  4. An error dialog showing the following
A JavaScript error occurred in the main process

Uncaught Exception:
TypeError: Object has been destroyed
  at click (/opt/vrcx/resources/app.asar/src-electron/main.js:541:28)
  at MenuItem.click (node:electron/js2c/browser_init:2:35313)
  at a._executeCommand (node:electron/js2c/browser_init:2:40861)

Expected behavior

The main windows should show up right after step 3.

What version you are running
VRCX (Linux) 2025.09.10

*Originally created by @xuan25 on 10/15/2025* **Describe the bug** The main window cannot been opened via tray **To Reproduce** Steps to reproduce the behavior: 1. Launch the VRCX 2. Close the main window 3. Left click the tray icon 4. An error dialog showing the following ``` A JavaScript error occurred in the main process Uncaught Exception: TypeError: Object has been destroyed at Tray.<anonymous>(/opt/vrcx/resources/app.asar/src-electron/main.js:564:20) at Tray.emit (node:events:518:28) ``` Alternatively, 1. Launch VRCX 2. Close the main window 3. Right click the tray icon and click the `Open` button in the context menu 4. An error dialog showing the following ``` A JavaScript error occurred in the main process Uncaught Exception: TypeError: Object has been destroyed at click (/opt/vrcx/resources/app.asar/src-electron/main.js:541:28) at MenuItem.click (node:electron/js2c/browser_init:2:35313) at a._executeCommand (node:electron/js2c/browser_init:2:40861) ``` **Expected behavior** The main windows should show up right after step 3. **What version you are running** VRCX (Linux) 2025.09.10
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#273