fix(macOS): resolve tray-related issues and set tray minimization as default #250

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

Originally created by @lonelymeko on 10/27/2025

  1. Fix the problem where the app couldn't be reopened after clicking the window's close button (red light) when "minimize to tray" was enabled. Ensured proper window visibility control via mainWindow.show() on Dock activation.

  2. Resolve the issue where the app couldn't be closed from the Dock when "minimize to tray" was enabled. Added explicit quit state handling (appIsQuitting = true) in before-quit to bypass tray minimization logic during Dock-initiated quits.

  3. Set "minimize to tray" as the default configuration for macOS to align with platform conventions. Implemented platform-specific default values in state initialization.

These changes improve macOS compatibility by fixing critical tray interaction issues and aligning default behavior with native user expectations.

*Originally created by @lonelymeko on 10/27/2025* 1. Fix the problem where the app couldn't be reopened after clicking the window's close button (red light) when "minimize to tray" was enabled. Ensured proper window visibility control via `mainWindow.show()` on Dock activation. 2. Resolve the issue where the app couldn't be closed from the Dock when "minimize to tray" was enabled. Added explicit quit state handling (`appIsQuitting = true`) in `before-quit` to bypass tray minimization logic during Dock-initiated quits. 3. Set "minimize to tray" as the default configuration for macOS to align with platform conventions. Implemented platform-specific default values in state initialization. These changes improve macOS compatibility by fixing critical tray interaction issues and aligning default behavior with native user expectations.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#250