apturl links stopped working after firefox 16

Bug #1261178 reported by Alkis Georgopoulos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

In Precise + Firefox 11, typing apt://htop in the address bar correctly brings up a dialog which prompts the user to open the apturl link with Software Center.

In the following versions that I tested, the dialog doesn't propose Software Center to open the link:
Trusty + Firefox 26
Precise + Firefox 26
Precise + Firefox 23

I think it broke after Firefox 16.

So if a user goes to https://apps.ubuntu.com/cat/applications/htop and clicks on the "available on Software Centre" icon, he gets an empty dialog.

Changed in firefox (Ubuntu):
assignee: nobody → Chris Coulson (chrisccoulson)
Changed in firefox (Ubuntu):
assignee: Chris Coulson (chrisccoulson) → nobody
Revision history for this message
Rohan Garg (rohangarg) wrote :

You're correct, I /believe/ the correct fix is to run : sudo ln -s /etc/firefox/pref/apturl.js /usr/lib/firefox/browser/defaults/preferences/apturl.js

Since /usr/lib/firefox/browser/defaults/preferences/syspref.js is also symlinked similarly

Changed in firefox (Ubuntu):
status: New → Triaged
Rohan Garg (rohangarg)
affects: firefox (Ubuntu) → apturl (Ubuntu)
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

No, that is absolutely *not* the correct fix. The correct fix is to make the protocol handling work in Firefox again. No external packages should be installing anything in to private directories provided by the Firefox package

affects: apturl (Ubuntu) → firefox (Ubuntu)
Revision history for this message
Paul White (paulw2u) wrote :

Is this still an issue for anyone?

Testing with Firefox 70, Ubuntu 18.04 and the link apt://htop, I am prompted to use AptURL or Software.

Selecting "AptURL" tells me the application is already installed and selecting "Software" gives me an option to either Launch or Remove the application.

Changed in firefox (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for firefox (Ubuntu) because there has been no activity for 60 days.]

Changed in firefox (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.