#803602 icedove fails to print mail from .eml files when set as default mail program

#803602#5
Date:
2015-10-31 18:11:58 UTC
From:
To:
Dear Maintainer,

to reproduce:

- save a message in icedove as an EML file

- make icedove your default mail client when it asks

- close icedove, start "icedove file.eml"

- run file/print preview

What should happen: a print preview window should open and show the
message (as it does if you print a message from your inbox).

What happens: an empty print preview window opens, and a "file open"
dialog opens too, asking "What should Icedove do with this file?".

Fix/workaround: remove the associations for
"application/x-extension-eml" (~/.config/mimeapps.list,
~/.local/share/applications/mimeapps.list), and never again let
icedove make itself the default application for mail.

This happens both in Jessie (31.8.0-1~deb8u1) and Wheezy
(31.8.0-1~deb7u1).

I suppose Icedove's logic of what to do with a file to print is
getting confused when it finds existing MIME configurations, while
without them, it can handle the content just fine.

cm.