Add a "Reconnect" option to the desktop tray menu #6943
atj393
started this conversation in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before posting
Product area
Desktop UI
Problem or use case
When the NetBird client ends up in a stale or degraded state, the fix is almost always "disconnect, then connect again". The tray menu only exposes Connect and Disconnect, so that means: right-click the tray icon, click Disconnect, wait for the state to settle, right-click again, click Connect.
Situations where this comes up regularly:
It's small friction each time, but it happens often, and it's awkward to walk a non-technical colleague through a two-step sequence over the phone. "Right-click NetBird, click Reconnect" is a single instruction that's hard to get wrong.
Proposed solution
Add a single Reconnect entry to the tray menu (right-click on the tray icon) that performs a Down followed by an Up in one action.
Behaviour:
Optionally it could also live under a keyboard-accessible position near Connect/Disconnect so it's discoverable without hunting through submenus.
Alternatives or workarounds considered
netbird down && netbird upfrom a terminal. Works, but not realistic for non-technical users, especially on Windows where they'd need an elevated shell.Community impact and priority
Examples from other tools or products
OpenVPN GUI on Windows has had exactly this for years: its tray menu offers Connect, Disconnect and Reconnect side by side, and Reconnect is what most users reach for when a tunnel goes stale.
Several other desktop VPN and sync clients expose an equivalent "Reconnect" or "Restart connection" action from the tray/menu bar for the same reason: a full toggle is the common remedy and it deserves a single control.
Security, privacy, and compatibility considerations
No new capability or permission is introduced. Reconnect performs the same two operations the user can already trigger manually (Down then Up), so it's the same authorization surface as today's menu.
Backward compatibility: purely additive to the menu, no change to existing Connect/Disconnect behaviour, no config or API change required.
One thing worth deciding: if the session has expired, Reconnect would presumably surface the same interactive login flow that Connect does today, rather than failing silently.
Implementation ideas
Rough sketch, happy to be corrected: the tray menu is built in the client UI layer, so this would be a new menu item alongside the existing Connect/Disconnect entries whose handler invokes the daemon's Down and then Up, awaiting the first before issuing the second.
The parts that likely need care rather than the happy path:
Are you willing to help?
Yes, I can submit a PR if the approach is accepted.
Additional context
I searched existing discussions, open and closed issues, and open PRs, and couldn't find an existing request for a manual Reconnect menu item. The many "reconnect" issues in the tracker are all about automatic reconnection failing, which is a different problem.
Related but distinct:
Both are cases where a one-click Reconnect would be the natural user-facing remedy.
Happy to test a build on Windows if this gets picked up.
All reactions