Project

General

Profile

Bug #10798

Default file associations are missing on Jessie

Added by intrigeri over 3 years ago. Updated about 3 years ago.

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

100%

QA Check:
Pass
Feature Branch:
bugfix/10798-fix-file-associations
Type of work:
Code
Blueprint:
Starter:
Affected tool:
Email Client

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.

Associated revisions

Revision 6c2262c2 (diff)
Added by intrigeri over 3 years ago

Append to the file associations configuration file, instead of replacing it.

Will-fix: #10798

Revision 07ff4e1c
Added by anonym over 3 years ago

Merge remote-tracking branch 'origin/bugfix/10798-fix-file-associations' into devel

Fix-committed: #10798

History

#1 Updated by intrigeri over 3 years ago

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 over 3 years ago

  • 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#10571, 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 over 3 years ago

  • 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 over 3 years ago

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

#5 Updated by SpencerOne over 3 years ago

Traverso \o/

#6 Updated by intrigeri over 3 years ago

  • 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 over 3 years ago

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

#8 Updated by anonym over 3 years ago

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

#9 Updated by anonym about 3 years ago

  • Status changed from Fix committed to Resolved

Also available in: Atom PDF