AirVPN / Eddie

UI/CLI for OpenVPN/WireGuard
https://eddie.website
GNU General Public License v3.0
349 stars 74 forks source link

[Bug] "Minimize to tray" does not work on Linux #124

Open troububbles opened 1 year ago

troububbles commented 1 year ago

Brief The "minimize to tray" option doesn't work. Eddie is shown both in the system tray and in the task manager.

Observed behaviour: although the icon remains in the tray, the window actually minimizes to the task manager. Expected behaviour: the window should minimize exclusively to the tray, hiding the window from the task manager list.

Related to this bug: When the program first opens, right-clicking Eddie's tray icon will reveal the option "Show main window". Clicking that option focuses on the already shown Eddie's window. After that, the option becomes "hide main window", and clicking it will correctly bring window to the tray, without listing it in the task manager, which is the expected behaviour of the "minimize to tray" option. In conjunction with the "start minimized" option, launching eddie should only show its icon on the notification tray, not bring it to the task manager.

CPU: Ryzen 7 4800H GPU: Nvidia 1650 Mobile (TU117) OS: Arch Linux 6.0.1 DE: Plasma 5.26.0

Blueshawk commented 1 year ago

Observed in Kali/xfce4, Mint/xfce4 + Cinnamon, Also Artix, Garuda and others. There is also danger of killing the application+lock and exposing the user because of this. - The X control should opt to minimize to tray.

Raeitus commented 10 months ago

As of 09/01/23, this issue still persists.

This issue has been reported on the forums since 2020 too:

I did find a workaround from the forums though, you can right click the tray icon and click Hide Main Window and it works.