Inconsistent state between Tor status icon and Onion Circuits
Steps to reproduce:
- Connect to Tor, Onion Circuit is happy.
- Switch to airplane mode.
- The Tor status icon is marked as disconnected (onion logo greyed and with a cross).
- Onion Circuits doesn’t display error messages about not being connected to Tor.
- 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