Bug#829672: icedove: Cannot open some attachments from the compose window

2016-07-05 Thread Andreas Heinlein

Am 05.07.2016 um 16:47 schrieb Carsten Schoenert:

my setups work as you expected.
Please check the settings for Icedove Settings in

Menu -> Edit -> Preferences -> Attachments; Incomming -> Content Type 'PDF File'

There you have probably 'Save File' selected.


I have not, if I had icedove wouldn't ask...

I took a look at these settings and actually found two associations for 
PDF files. One is labeled "application/pdf: .pdf", the other 
"application/force-download: .pdf". Both were initially set to "Always ask".


I found out that "application/pdf" is applied to all *received* mails 
with PDF attachments, whereas "application/force-download" is used when 
*writing* a message. If I change "application/force-download" from the 
default to e.g. "evince", then it works as expected.


This is not unusual since "application/force-download" is not meant to 
be opened with any application. The question is, why is 
icedove/thunderbird using the MIME type application/force-download in 
this case?




Bug#829672: icedove: Cannot open some attachments from the compose window

2016-07-05 Thread Carsten Schoenert
Hello Andreas,

On Tue, Jul 05, 2016 at 10:40:15AM +0200, Andreas Heinlein wrote:
 
> I found this behaviour in icedove:
> 
> 1. Click "Write" to compose a new message
> 2. Attach a PDF file
> 3. Double-Click the attached file (i.e. to verify it's the right one)
> 
> Expected behaviour:
> Icedove asks whether to open or save the file, and when clicking "open", the
> attachment opens with the associated application
> 
> Real behaviour:
> Icedove asks whether to open or save the file, and when clicking "open",
> nothing happens
> 
> Until now, I can only reproduce that with PDF files, but not with plain text,
> OpenDocument, JPEG - these behave as expected.
> Opening PDF attachments from *received* messages (or messages in the "Sent"
> folder) works as expected. Occurs with several different accounts.

my setups work as you expected.
Please check the settings for Icedove Settings in

Menu -> Edit -> Preferences -> Attachments; Incomming -> Content Type 'PDF File'

There you have probably 'Save File' selected.

Regards
Carsten



Bug#829672: icedove: Cannot open some attachments from the compose window

2016-07-05 Thread Andreas Heinlein
Package: icedove
Version: 1:45.1.0-1~deb8u1
Severity: normal

Dear Maintainer,

I found this behaviour in icedove:

1. Click "Write" to compose a new message
2. Attach a PDF file
3. Double-Click the attached file (i.e. to verify it's the right one)

Expected behaviour:
Icedove asks whether to open or save the file, and when clicking "open", the
attachment opens with the associated application

Real behaviour:
Icedove asks whether to open or save the file, and when clicking "open",
nothing happens

Until now, I can only reproduce that with PDF files, but not with plain text,
OpenDocument, JPEG - these behave as expected.
Opening PDF attachments from *received* messages (or messages in the "Sent"
folder) works as expected. Occurs with several different accounts.

Since I regularly double-check attached files before sending, I am pretty sure
this worked in earlier versions.

Might be an upstream bug since it occurs in thunderbird for Ubuntu as well.

I tried running icedove from the console but got no helpful output. Tried in
safe mode, does not change anything.



-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages icedove depends on:
ii  debianutils   4.4+b1
ii  fontconfig2.11.0-6.3
ii  libasound21.0.28-1
ii  libatk1.0-0   2.14.0-1
ii  libc6 2.19-18+deb8u4
ii  libcairo2 1.14.0-2.1+deb8u1
ii  libdbus-1-3   1.8.20-0+deb8u1
ii  libdbus-glib-1-2  0.102-1
ii  libevent-2.0-52.0.21-stable-2
ii  libffi6   3.1-2+b2
ii  libfontconfig12.11.0-6.3
ii  libfreetype6  2.5.2-3+deb8u1
ii  libgcc1   1:4.9.2-10
ii  libgdk-pixbuf2.0-02.31.1-2+deb8u5
ii  libglib2.0-0  2.48.0-1~bpo8+1
ii  libgtk2.0-0   2.24.25-3+deb8u1
ii  libhunspell-1.3-0 1.3.3-3
ii  libpango-1.0-01.36.8-3
ii  libpangocairo-1.0-0   1.36.8-3
ii  libpangoft2-1.0-0 1.36.8-3
ii  libpixman-1-0 0.32.6-3
ii  libstartup-notification0  0.12-4
ii  libstdc++64.9.2-10
ii  libx11-6  2:1.6.2-3
ii  libxcomposite11:0.4.4-1
ii  libxdamage1   1:1.1.4-2+b1
ii  libxext6  2:1.3.3-1
ii  libxfixes31:5.0.1-2+b2
ii  libxrender1   1:0.9.8-1+b1
ii  libxt61:1.1.4-1+b1
ii  psmisc22.21-2
ii  zlib1g1:1.2.8.dfsg-2+b1

Versions of packages icedove recommends:
pn  iceowl-extension
ii  myspell-de-de [myspell-dictionary]  20131206-5

Versions of packages icedove suggests:
pn  fonts-lyx 
ii  libgssapi-krb5-2  1.12.1+dfsg-19+deb8u2

-- no debconf information