Opened 3 years ago

Last modified 6 months ago

#15163 new enhancement

Some systems may cause external apps to override pdf.js?

Reported by: mikeperry Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-usability
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by mikeperry)

A Linux user just showed me an old TBB that they had upgraded since 4.0 to 4.0.4 using the updater, and this TBB had extra entries for PDF in the browser Preferences->Applications window. This caused Tor Browser to try to launch an external application to handle PDFs. The Torbutton external application warning was displayed, and if accepted, a system PDF viewer would be used instead of pdf.js.

When they installed a fresh TBB on the same system in a new directory, it did not have these entries, and used pdf.js.

It's not clear if it was updating that caused this issue, or if something else previously changed TBB on their system while it was running.

Child Tickets

Change History (5)

comment:1 Changed 3 years ago by mikeperry

Description: modified (diff)

comment:2 Changed 3 years ago by mikeperry

If this was an updater issue, it could not be reproduced on this user's computer by simply downloading a fresh TBB 4.0 and upgrading to 4.0.4. That upgrade was direct, though, and not 4 incrementals.

comment:3 Changed 3 years ago by gk

Summary: Some systems may cause external aps to override pdf.js?Some systems may cause external apps to override pdf.js?

comment:4 Changed 3 years ago by mcs

The Applications preferences are stored in TorBrowser/Data/Browser/profile.default/mimeTypes.rdf. I am not sure how that file could have gained an extra entry for application/pdf. I wonder if there is code inside the browser somewhere that is triggered when users upgrade from a Firefox that does not include pdf.js to one that does includes it (and what happens if that code is accidentally run a second time)? But I have not looked for such code.

comment:5 Changed 6 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

Note: See TracTickets for help on using tickets.