[PR #2372] fix: missing system tray and window icons for Linux #2786

Open
opened 2026-10-14 21:05:17 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2372
Author: @aaravrav
Created: 3/19/2026
Status: 🔄 Open

Base: dev ← Head: fix/linux-tray-window-icons


📝 Commits (1)

  • bbbf3d0 fix: missing system tray and window icons for Linux

📊 Changes

2 files changed (+3 additions, -1 deletions)

View changed files

📝 client/main.cpp (+2 -0)
📝 client/ui/utils/systemTrayNotificationHandler.cpp (+1 -1)

📄 Description

  • Defer QSystemTrayIcon::show() until after the icon is set to fix the tray icon not appearing
  • Add setWindowIcon(QIcon::fromTheme("AmneziaVPN")) to display the app icon in the taskbar

Tested on KDE Plasma 6 (Wayland)


🔄 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/2372 **Author:** [@aaravrav](https://github.com/aaravrav) **Created:** 3/19/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `fix/linux-tray-window-icons` --- ### 📝 Commits (1) - [`bbbf3d0`](https://github.com/amnezia-vpn/amnezia-client/commit/bbbf3d0947583ea0c1777363618c6602f5e0f8f8) fix: missing system tray and window icons for Linux ### 📊 Changes **2 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/main.cpp` (+2 -0) 📝 `client/ui/utils/systemTrayNotificationHandler.cpp` (+1 -1) </details> ### 📄 Description - Defer `QSystemTrayIcon::show()` until after the icon is set to fix the tray icon not appearing - Add `setWindowIcon(QIcon::fromTheme("AmneziaVPN"))` to display the app icon in the taskbar Tested on KDE Plasma 6 (Wayland) --- <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#2786
No description provided.