Skip to content

Show Tunnelblick's connection status on the bar #586

Closed
stablebox/stablebar-packages
#37

Description

@Ergotomy

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

tunnelblick strong status connexion icon

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 openMenuBarItem with { "app": "net.tunnelblick.tunnelblick" }.

Related.

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    needs-triage
    on Nov 12, 2026
  2. changed the title [-]Tunnel blick3.3 - Advanced icon to show the connexion status is not working[/-] [+]Show Tunnelblick's connection status on the bar[/+] on Nov 12, 2026
  3. added
    P3
    and removed
    needs-triage
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions