Bug #10798

Default file associations are missing on Jessie

Added by intrigeri 2015-12-28 04:22:08 . Updated 2016-01-27 13:31:30 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Target version:
Start date:
2015-12-28
Due date:
% Done:

100%

Feature Branch:
bugfix/10798-fix-file-associations
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Email Client
Deliverable for:

Description

What I see instead is a “Launch Application” dialog box. Manually choosing /usr/local/bin/tor-browser
opens the link in Tor Browser.

In 1.8.1 I see the “Launch Application” dialog box, and Tor Browser is the default choice, which is much better indeed.


Subtasks


History

#1 Updated by intrigeri 2015-12-28 04:23:09

Initial guess: config/chroot_local-hooks/59-file_associations replaces the default content of /etc/gnome/defaults.list, which overrides useful stuff including what config/chroot_local-hooks/10-tbb sets.

#2 Updated by intrigeri 2015-12-28 06:10:18

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10

This fixes this problem:

--- a/config/chroot_local-hooks/59-file_associations
+++ b/config/chroot_local-hooks/59-file_associations
@@ -12,5 +12,5 @@ if grep -E '^application/pgp-keys=' "$defaults_file"; then
 else
    # XXX: Stretch -- this fixes Tails<del><a class='issue tracker-1 status-3 priority-6 priority-default closed child' href='/code/issues/10571' title='The &#39;application/pgp-keys&#39; MIME type has bad application associations'>Bug #10571</a></del>, unreproducible on non-Tails sid
    echo 'application/pgp-keys=seahorse-pgp-keys.desktop' \
-       > "$defaults_file"
+       >> "$defaults_file"
 fi

… not checked if it breaks anything else, though.

#3 Updated by intrigeri 2015-12-31 04:52:41

  • Subject changed from Tor Browser is not the default application to open HTTPS links from Icedove on Jessie to Default file associations are missing on Jessie

It’s indeed wider-spread, e.g. *.txt are associated with Traverso.

#4 Updated by intrigeri 2015-12-31 09:28:37

  • Feature Branch set to bugfix/10798-fix-file-associations

#5 Updated by SpencerOne 2016-01-01 01:23:11

Traverso \o/

#6 Updated by intrigeri 2016-01-01 03:07:00

  • Assignee changed from intrigeri to anonym
  • % Done changed from 10 to 50
  • QA Check set to Ready for QA

I confirm this commit fixes the bug for URLs in Icedove, and .txt files. Please review’n’merge :)

#7 Updated by anonym 2016-01-03 13:47:18

  • Status changed from In Progress to Fix committed
  • % Done changed from 50 to 100

Applied in changeset commit:07ff4e1c6c80a04187265fee9ba754cd0f47724f.

#8 Updated by anonym 2016-01-03 13:55:16

  • Assignee deleted (anonym)
  • QA Check changed from Ready for QA to Pass

#9 Updated by anonym 2016-01-27 13:31:31

  • Status changed from Fix committed to Resolved