Skip to content

Inconsistent state between Tor status icon and Onion Circuits

Steps to reproduce:

  1. Connect to Tor, Onion Circuit is happy.
  2. Switch to airplane mode.

What happens:

  1. The Tor status icon is marked as disconnected (onion logo greyed and with a cross).
  2. Onion Circuits doesn’t display error messages about not being connected to Tor.
  3. Onion Circuits continues displaying circuits.

I understand that Tor itself doesn’t realize that it has been disconnected from Internet and keeps it circuits state. But this is inconsistent in terms of UX: when you are disconnected from the network, both the Tor status icon and Onion Circuits should make this clear. Otherwise people might wonder why circuits are still visible as before and whether or have problems troubleshooting a disconnection for example.

I suggest going to the same state as in connection_closed_cb as the difference between loosing connection to the Tor daemon and loosing connection to the Tor network probably doesn’t make sense to the user.

Feature Branch: bugfix/11290-tor-status-vs-onioncircuits

Original created by @sajolida on 11290 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information