Some attchments (.pdf, .xlsx) don't have open dialog just save dialog

Bug #593459 reported by spadger
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: thunderbird

With certain (not all) attachments of many types (at least .pdf and .xslx) there is no open dialog just the option to save the attachment. When saved the attachment can be opened without problem using the default application.

I cannot see any common problems with the files (filename errors or strange characters) and have even tried sending some non working files to a friend with same setup i.e. tbird3.04 on ubuntu 10.04 and he can open without problem

Architecture AMD64
thunderbird:
  Installed: 3.0.4+nobinonly-0ubuntu4
  Candidate: 3.0.4+nobinonly-0ubuntu4
  Version table:
 *** 3.0.4+nobinonly-0ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Ubuntu 10.04 lucid amd64
kernel 2.6.32.22-generic
gnome 2.30.0

Revision history for this message
spadger (jridewood) wrote :
Revision history for this message
PeterPall (peterpall) wrote :

According to http://ubuntuforums.org/showthread.php?t=1442764 this is a problem of thunderbird itselves, and the following package will provide a workaround: https://addons.mozilla.org/en-US/thunderbird/addon/12523.

I did not read the source code of this addon, but it seems like the add-on uses gnome's gnome-open program which tells gnome to act as if someone double-clicked on the file in nautilus.

Revision history for this message
PeterPall (peterpall) wrote :

According to http://kb.mozillazine.org/Actions_for_attachment_file_types#Unexpected_handling_of_certain_attachments the problem might arise from a corruption of the mimetypes.rdf file in the thunderbird profile. In my case simply deleting this file and hoping that thunderbird will restore it didn't work, though.

Revision history for this message
spadger (jridewood) wrote : Re: [Bug 593459] Re: Some attchments (.pdf, .xlsx) don't have open dialog just save dialog

Thanks, the addon works great. It's true this is not a real fix but at
least I don't have to mess around saving before viewing documents.

Cheers,

Spadger

On 14 June 2010 22:12, PeterPall <email address hidden> wrote:
> According to http://ubuntuforums.org/showthread.php?t=1442764 this is a
> problem of thunderbird itselves, and the following package will provide
> a workaround: https://addons.mozilla.org/en-US/thunderbird/addon/12523.
>
> I did not read the source code of this addon, but it seems like the add-
> on uses gnome's gnome-open program which tells gnome to act as if
> someone double-clicked on the file in nautilus.
>
> --
> Some attchments (.pdf, .xlsx) don't have open dialog just save dialog
> https://bugs.launchpad.net/bugs/593459
> You received this bug notification because you are a direct subscriber
> of the bug.
>

PeterPall (peterpall)
Changed in thunderbird (Ubuntu):
status: New → Confirmed
Revision history for this message
Graham Perrin (grahamperrin-gmail) wrote :

I find that the problem affects not only Thunderbird, it also affects Firefox. Example: when I aim to open the .pptx file at https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/384553/comments/2 Firefox can save but not open the file.

Key point: there is no invitation to associate the file type with OpenOffice.org.

Should this be reported as a separate bug, affecting Firefox?

Or should this bug be amended?

Revision history for this message
Martin Wildam (mwildam) wrote :

Just for the case it helps: Tested on current icedove under Fluxbox - had not the issue.

Revision history for this message
Martin Wildam (mwildam) wrote :

I made further tests with the following result: I took such a PDF I got (offering only the save option) and sent it as new mail with attachment to myself using Thunderbird.

Result: Open option available! - So it does not depend on the PDF itself. I assume that it depends on the mailer how it packs the mime message. Did further investigation and found the following difference:

Attachment header in mime Test-Message that is working:
Content-Type: application/pdf;

 name="#31161-v1-Programmierung_RepCheck.pdf"

Content-Transfer-Encoding: base64

Content-Disposition: attachment;

 filename="#31161-v1-Programmierung_RepCheck.pdf"

Attachment header in Original received mail:
Content-Type: application/octet-stream;

 name="#31161-v1-Programmierung_RepCheck.pdf"

Content-Transfer-Encoding: base64

Content-Description: #31161-v1-Programmierung_RepCheck.pdf

Content-Disposition: attachment;

 filename="#31161-v1-Programmierung_RepCheck.pdf"

It looks like a difference in specified Content-Type. The original mail I got, was produced with MS Outlook 2007.

HTH.

Revision history for this message
Martin Wildam (mwildam) wrote :

Downloaded gnome-open addon manually (as it is not found when searching for addons from within Thunderbird) and that solves the issue also for me (just note that because in earlier post (comment #4) of spadger it was not clear for me which of the two mentioned addons solved the problem.

Revision history for this message
PeterPall (peterpall) wrote :

On natty I don't encounter this problem any more.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.