[tbb-bugs] #18199 [Tor Browser]: Firefox icon for browser after update

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 9 17:13:06 UTC 2016


#18199: Firefox icon for browser after update
-------------------------+-----------------------------------
 Reporter:  cypherpunks  |          Owner:  tbb-team
     Type:  defect       |         Status:  needs_information
 Priority:  Medium       |      Milestone:
Component:  Tor Browser  |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+-----------------------------------
Changes (by mcs):

 * cc: mcs (added)


Comment:

 I thought there was already a ticket for this issue but I cannot find one.
 Using TB 5.5 and updating to 5.5.1, I was able to reproduce this on an
 Ubuntu 14.04 LTS system.

 Running ./start-to-browser.desktop --register-app did not add the Tor
 Browser icon to my Unity launcher, and when I started Tor Browser I saw a
 '?' icon in the launcher. Ignoring that problem for now, after updating
 via "Check for Tor Browser Update" and restarting, I found that my Firefox
 icon (which was already on my launcher) was active and was associated with
 Tor Browser. Restarting again made things switch back to the '?' icon.

 I am almost certain this bug occurs because the --class "Tor Browser"
 command line argument does not get passed to the firefox binary when it is
 restarted after an update has been applied. The class may also be lost
 during other restarts, e.g., after installing an add-on. The cleanest
 solution might be to bake the WM_CLASS value into the browser via a
 Firefox patch. I think we would need to add a call to
 gdk_set_program_class().

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


More information about the tbb-bugs mailing list