[PR #3423] fix(macos): bring app window to foreground #3293

Open
opened 2026-11-07 17:59:01 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/3423
Author: @merodiiiii
Created: 11/6/2026
Status: 🔄 Open

Base: dev ← Head: fix/macos-window-focus


📝 Commits (1)

  • d1344b3 fix(macos): bring app window to foreground

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 client/ui/utils/macosUtil.mm (+1 -0)

📄 Description

When opening AmneziaVPN from the macOS menu bar, its window can appear behind another application. Activate the app when restoring its window so it comes to the foreground.

Tested manually on macOS 27.2 (Apple Silicon) by opening the window from the menu bar. The local macOS build succeeded and all 31 CTest entries completed without failure; the Xray core and self-hosted VPS checks were skipped because their external dependencies were not configured.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/3423 **Author:** [@merodiiiii](https://github.com/merodiiiii) **Created:** 11/6/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `fix/macos-window-focus` --- ### 📝 Commits (1) - [`d1344b3`](https://github.com/amnezia-vpn/amnezia-client/commit/d1344b3a6912304c52cc9d4d09294c1f997d3a3f) fix(macos): bring app window to foreground ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `client/ui/utils/macosUtil.mm` (+1 -0) </details> ### 📄 Description When opening AmneziaVPN from the macOS menu bar, its window can appear behind another application. Activate the app when restoring its window so it comes to the foreground. Tested manually on macOS 27.2 (Apple Silicon) by opening the window from the menu bar. The local macOS build succeeded and all 31 CTest entries completed without failure; the Xray core and self-hosted VPS checks were skipped because their external dependencies were not configured. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#3293
No description provided.