Bug 77898 - Attachments not always use correct icon to display file format
Summary: Attachments not always use correct icon to display file format
Status: RESOLVED DUPLICATE of bug 35836
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 10:24 UTC by Martin Koller
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2004-03-18 10:24:44 UTC
Version:           1.6.1 (using KDE 3.2 BRANCH >= 20040204, compiled sources)
Compiler:          gcc version 3.2.3
OS:          Linux (i686) release 2.4.22

I received an email which contains a .rar file.
The icon used for displaying the attachment does show the "unknown" icon (a large questionmark), but when I save the file e.g. in /tmp, open /tmp in konqueror, I then see the correct icon for the filetype.
Also, when clicking on that file, kmail asks to open this file with "Ark" (so it seems kmail _can_ detect the filetype)

I assume this is due to the fact, that the mail itself states that the attachment is 
Content-Type: application/octet-stream; name="Entwurf_5_1.rar"
Content-Transfer-Encoding: base64

Still, kmail should also use the same mechanisms as konqueror to detect the icon/filetype to show.
Comment 1 Jonathan Marten 2004-03-18 10:58:35 UTC
Reported as bug 35836 for KDE 2.2, patch supplied there.
Closed as FIXED, but the fix is not in KDE 3.2.1 or CVS.
Comment 2 Martin Koller 2006-10-28 19:59:34 UTC

*** This bug has been marked as a duplicate of 35836 ***