[tbb-bugs] #29982 [Applications/Tor Browser]: Clicking on cog/gear icon crashes Tor Browser for Android

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 14 20:08:06 UTC 2019


#29982: Clicking on cog/gear icon crashes Tor Browser for Android
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Very High                            |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, TBA-a3, tbb-8.5-must,    |  Actual Points:
  TorBrowserTeam201905                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by sysrqb):

 * status:  reopened => needs_review


Comment:

 Indeed. This was a simple and silly bug. When using an older Android
 versions on a tablet (or other large-screen device), Android tries
 creating a preference "flow", where it first shows a panel containing only
 headers (title and summary), then the user selects one of the headers and
 Android shows the real preference screen. We didn't implement the initial
 headers screen because it wasn't part of our goal (we really only targeted
 smaller devices, too).

 On newer versions of Android, the preferences are shown regardless of
 whether the headers are defined (so it handles our implementation well
 enough). On older versions of Android, I assume the user is shown all the
 defined headers - in our case, there are zero headers and therefore a
 blank screen is shown. This patch tells Android it should skip the headers
 and go straight to the fragment we define on the line above it.

 Branch `bug29982` in my repo.

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


More information about the tbb-bugs mailing list