Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tray exception when multiple windows #1487

Merged
merged 6 commits into from
Mar 26, 2025
Merged

Fix tray exception when multiple windows #1487

merged 6 commits into from
Mar 26, 2025

Conversation

SiriusXT
Copy link
Member

@SiriusXT SiriusXT commented Mar 21, 2025

When multiple windows are created, the tray functionality only works for the main window. When the main window is closed and only additional windows remain, the tray functionality will break.

The changes include:

  1. Monitor all windows, and the tray functionality will default to the last focused window.
  2. Allow showing/hiding each individual window.
  3. Clicking the tray icon will show/hide the last focused window.
  4. Add the ability to open a new window.
  5. Fix for [issue #1374](Restore the existing window (if minimized in System Tray) when a new application instance is launched #1374).

I don't know where to find and convert the PNG for open new window; I downloaded it from www.iconfinder.com.

图片

@eliandoran eliandoran merged commit 84d75c3 into develop Mar 26, 2025
4 of 5 checks passed
@eliandoran eliandoran deleted the tray branch March 26, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants