Bug#854818: firefox-esr: creates mimeapps.list entries for thunderbird.desktop if started from TB

Jens Reyer jre.winesim at gmail.com
Thu Mar 16 14:06:44 UTC 2017


control: found 854818 45.8.0esr-1
control: severity 854818 important

[ CC'ing the thunderbird-bug #857755 (Please do not associate
application/octet-stream with thunderbird), which targets the same
issue.  Unfortunately I can reproduce this issue in firefox with both
the unfixed thunderbird 1:45.8.0-1 and the "fixed" 1:45.8.0-2 again. ]


On 03/09/2017 04:06 PM, Jens Reyer wrote:
> However luckily it seems thunderbird 1:45.7.1-2 fixes this - firefox now
> correctly recognizes that it is already the default app.
> 
> Therefore closing (although I still don't know what exactly went wrong).

Reopening, I see the behavior reproducibly again (not sure why it
diappeared for a short while):

$ rm -rf .local/share/applications/*
$ rm .config/mimeapps.list
- Start thunderbird (via launcher or from terminal)
- Click a https link in thunderbird
--> Firefox starts and prompts:
    "Default Browser - Firefox is not currently set as
     your default browser.  Would you like to make it
     your default browser?"
--> Click "Use Firefox as my default browser"
$ cat ~/.config/mimeapps.list
[Default Applications]
x-scheme-handler/http=thunderbird.desktop
x-scheme-handler/https=thunderbird.desktop
x-scheme-handler/ftp=thunderbird.desktop
x-scheme-handler/chrome=thunderbird.desktop
text/html=thunderbird.desktop
application/x-extension-htm=thunderbird.desktop
application/x-extension-html=thunderbird.desktop
application/x-extension-shtml=thunderbird.desktop
application/xhtml+xml=thunderbird.desktop
application/x-extension-xhtml=thunderbird.desktop
application/x-extension-xht=thunderbird.desktop

[Added Associations]
x-scheme-handler/http=thunderbird.desktop;
x-scheme-handler/https=thunderbird.desktop;
x-scheme-handler/ftp=thunderbird.desktop;
x-scheme-handler/chrome=thunderbird.desktop;
text/html=thunderbird.desktop;
application/x-extension-htm=thunderbird.desktop;
application/x-extension-html=thunderbird.desktop;
application/x-extension-shtml=thunderbird.desktop;
application/xhtml+xml=thunderbird.desktop;
application/x-extension-xhtml=thunderbird.desktop;
application/x-extension-xht=thunderbird.desktop;


==> Now it's not possible anymore to open https-links from thunderbird.

The following is not clearly reproducible, but quite annoying:

If I now remove ~/.config/mimeapps.list again, a link previously clicked
in thunderbird opens in firefox, and firefox asks about being default
again.  If I say "Not now" it will endlessly spawn new tabs with the
same link.  I think only killing thunderbird stops this then.

Unfortunately I'm still totally clueless about the exact reason for
this, and all attempts to fix this by exporting several variables from
the firefox script didn't help. I don't know if this needs to be fixed
in thunderbird or firefox.

Greets
jre



More information about the pkg-mozilla-maintainers mailing list