[tor-bugs] #15493 [Tor Browser]: Redirects sometimes seem to break circuit status UI

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 24 23:07:39 UTC 2015


#15493: Redirects sometimes seem to break circuit status UI
-----------------------------+------------------------------------------
     Reporter:  mikeperry    |      Owner:  gk
         Type:  defect       |     Status:  needs_revision
     Priority:  normal       |  Milestone:
    Component:  Tor Browser  |    Version:
   Resolution:               |   Keywords:  tbb-circuit-display, tbb-5.0
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+------------------------------------------

Comment (by arthuredelstein):

 Replying to [comment:11 arthuredelstein]:
 > Replying to [comment:9 gk]:
 > > Thinking a bit about it what speaks against updating the circuit
 info/making the decision whether to show the circuit or not only when the
 user is clicking on the green onion and opening the Torbutton menu? There
 seems to be no need to make that call already once a tab gets selected for
 instance. Putting that into the onpopupshowing handler or something
 similar should cope with the possible race conditions and avoid any code
 execution wrt the display until a user really wants to see it. Not sure if
 there would be some lag while updating the display but looking at the
 involved operations a doubt that.
 >
 > That's a good suggestion. I think we would also like the display to
 update if new circuit info arrives while the menu is being held open by
 the user, however. I'll look into how this might be done cleanly.
 (Probably the patch in my previous comment can be postponed while we think
 about this.)

 OK, here's a patch that updates the circuit display just before the user
 opens the menu, and also when new data arrives:

 https://github.com/arthuredelstein/torbutton/commit/15493+1

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15493#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list