TunnlTo / desktop-app

TunnlTo is a Windows WireGuard VPN client built for split tunnelling.
https://tunnl.to
1.5k stars 61 forks source link

Feature request: open TunnelTo app by clicking on it in Windows tray even if app is minimized #124

Closed GLobyNew closed 9 months ago

GLobyNew commented 11 months ago

Most applications that live in the Windows tray open and become active when you single or double-click the tray icon.

Now, when you click the tray icon, the application only appears in the taskbar, but does not open.

I also tried to find the version of the application, but it doesn't seem to be written anywhere. I assume I have the latest version :)

brendanosborne commented 11 months ago

Thanks for the suggestions. Double left clicking the systray icon should be opening it back up. Is that not working for you? The double click is annoying, so I changed it to single left click for the upcoming release (1.0.3). I will also add some text to show the current versions of TunnlTo and Wiresock into the settings page.

GLobyNew commented 11 months ago

Oh, my bad. It is openning it back, if i click twice on tray icon and if TunnelTo app is not in taskbar. But if I double click on tray icon while TunnelTo app is in taskbar, but minimized it will not show up. I find this confusing because most apps expand back the window when you click on it in the tray, even if it's already in the taskbar.

For more understanding, here's an example of how Discord does it:

https://github.com/TunnlTo/desktop-app/assets/32239128/035da0a6-41b8-492a-b774-16f180a0b019

Discord opens up in any case if I click on it in tray.

And here is TunnelTo:

https://github.com/TunnlTo/desktop-app/assets/32239128/ea523584-2a40-4707-a3f9-4390f44ebd06

TunnelTo opens up and show me the window only if there is no active window. So if window is minimized it will not open up by clicking in a tray.

brendanosborne commented 10 months ago

The videos are very helpful, thanks for that. I have pushed the single click change to the latest release. I'm having issues with trying to get the window to focus from a systray click when it's already on the taskbar. I should be able to fix that up in the next release.

bryan commented 10 months ago

On a similar topic, is it possible to add in the functionality to start minimized in systray on boot while addressing this tray issue?

Perhaps a nice-to-have for better UX is to ensure connect on boot, perhaps a notification popup ("Connected to XYZ.") or a different systray icon like how ProtonVPN does it. image

brendanosborne commented 10 months ago

On a similar topic, is it possible to add in the functionality to start minimized in systray on boot while addressing this tray issue?

Perhaps a nice-to-have for better UX is to ensure connect on boot, perhaps a notification popup ("Connected to XYZ.") or a different systray icon like how ProtonVPN does it. image

Thanks for the input. That's in the feature request pipeline: https://github.com/TunnlTo/desktop-app/discussions/130

brendanosborne commented 9 months ago

@bryan @GLobyNew please check out the latest release which addresses both of your requests https://github.com/TunnlTo/desktop-app/releases/tag/v1.0.5

Thanks again for the feedback 🙂

I'll close this issue for now.