Some programs (such as Lotus Notes) tend to attach files even of well-known MIME types as "application/octet-stream". kmail obviously manages to determine the MIME type of such a file by its extension: it correctly associates the application for opening the file, and when saving to the filesystem it changes the MIME type to "application/pdf", "application/msword" or whatever. So it would be really nice and should be no problem to display the specific icon instead of just some default "?" icon. Reproducible: Always
I need to have a mail example to test it. Regards
Is this the same as ancient bug 35836? Test email message attached there.
Git commit 981d2c1a68abc0194d21e9feae91102c0d64465a by Montel Laurent. Committed on 07/12/2012 at 09:03. Pushed by mlaurent into branch 'master'. Fix Bug 310852 - Use type-specific icons for "application/octet-stream" attachments FIXED-IN: 4.10 M +5 -0 messageviewer/mimetreemodel.cpp M +4 -0 messageviewer/nodehelper.cpp M +13 -0 messageviewer/util.cpp M +6 -0 messageviewer/util.h M +5 -19 messageviewer/viewer_p.cpp http://commits.kde.org/kdepim/981d2c1a68abc0194d21e9feae91102c0d64465a