Bug 91598 - KMail tries to relaunch to view text/rfc822-headers attachment
Summary: KMail tries to relaunch to view text/rfc822-headers attachment
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.7.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 17:11 UTC by Tristan Miller
Modified: 2009-09-03 23:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
E-mail message with offending attachment (4.03 KB, text/plain)
2004-10-18 17:12 UTC, Tristan Miller
Details
Screenshot of nonsensical dialog prompt (5.31 KB, image/png)
2004-10-18 17:14 UTC, Tristan Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2004-10-18 17:11:35 UTC
Version:           1.7.1 (using KDE KDE 3.3.1)
Installed from:    SuSE RPMs

When clicking on an attachment of type text/rfc822-headers, KMail opens a dialog window asking how to view the attachment.  The dialog incorrectly specifies the name of the attachment as a double quote character (`"').  The default option is to open the attachment with KMail.  Selecting the default option causes KMail to try to launch itself again in order to view the attachment.

A couple things need to be fixed:

1) Unnamed attachments should trigger the message `Open unnamed attachment of type foo/bar?' instead of the nonsensical `Open attachment "?'

2) KMail should not launch a separate process to view an attachment of type text/rfc822-headers.  It should be opened in a new window just like a message/delivery-status attachment.

See attached test case and screenshot.
Comment 1 Tristan Miller 2004-10-18 17:12:28 UTC
Created attachment 7931 [details]
E-mail message with offending attachment
Comment 2 Tristan Miller 2004-10-18 17:14:44 UTC
Created attachment 7932 [details]
Screenshot of nonsensical dialog prompt
Comment 3 Tristan Miller 2009-04-25 23:32:01 UTC
Confirming bugs still exists in KDE 4.2.2. I suspect this might not have anything to do with the MIME type, but rather the fact that the attachment has no name.
Comment 4 Martin Koller 2009-09-03 23:01:23 UTC
KDE 4.3.1 simply displays the headers when I select the attachment in the message structure viewer, so no problem here.