Repository navigation
Description
Problem
When active, this option displays a strong visual feedback of the connexion status. With StableBar active, we can only see the default icon and miss the status
Proposal
Enable using tunnelblick icon 3.3 in StableBar
Possible today
No idea, sorry
Related
No response
Triage
Problem. Tunnelblick's menu bar icon changes with the connection state. With the macOS menu bar hidden, the Menu bar items row, and an item shown on the bar, draw Tunnelblick's app icon instead, so the state is lost.
Diagnosis. menuBarIcon(identifier:app:) in Sources/StableBar/AppMenu.swift draws a symbol for macOS's own items and the owning app's icon for every other item; it never draws the item's own glyph. A live image of the item needs Screen Recording, and macOS returns no image of the items while StableBar hides the menu bar (#83, #323), so the row can't mirror Tunnelblick's icon.
Possible today. Partly. A script widget can ask Tunnelblick for its state through AppleScript (tell application "Tunnelblick" to get state of configurations returns CONNECTED, EXITING when disconnected, or a state in between) and pick a symbol from it.
Proposal. A Tunnelblick package in the Store:
- It shows a symbol for the state: connected, connecting or disconnected, with the connected configuration's name in its tooltip.
- It asks Tunnelblick only while Tunnelblick runs, so it never launches it, and hides while Tunnelblick isn't running. macOS asks once to let StableBar control Tunnelblick.
- Clicking it opens Tunnelblick's own menu, as clicking its icon in the menu bar does, through
openMenuBarItemwith{ "app": "net.tunnelblick.tunnelblick" }.
Related.
- Show menu bar extras in the bar #83 proposed live images of menu bar items; feat: open Control Center and the macOS menu bar's items from the bar #311 closed it with the Menu bar items row, which needs Accessibility only.
- Menu bar items row shows blank, shared and garbled icons #323 chose the row's icons; Pin one app's menu bar item to the bar #347 and Choose which menu bar items show on the bar and which stay in Menu bar items #355 show one item on the bar with the same icon.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
Activity
[-]Tunnel blick3.3 - Advanced icon to show the connexion status is not working[/-][+]Show Tunnelblick's connection status on the bar[/+]