Bug 434392

Summary: message/global type, can't view it, must be associated to kmail --view
Product: [Applications] kmail2 Reporter: Philippe ROUBACH <philippe.roubach>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.16.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.17.0
Attachments: delivery failure mail

Description Philippe ROUBACH 2021-03-14 11:42:40 UTC
Created attachment 136662 [details]
delivery failure mail

SUMMARY


STEPS TO REPRODUCE
1. add a gmail account
2. get a delivery failure mail
3. display its contents
4. there are 2 attached files "sans nom" (no name)

the first "sans nom" is well displayed in the body of the mail

the second "sans nom" is the mail not sent

OBSERVED RESULT

If you click on it then a text file is displayed

EXPECTED RESULT

If you click on it then a mail is displayed

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
kde apps 20.12.3

ADDITIONAL INFORMATION

the property of the second "sans nom" file is : 
- type : message/global
- encoding : quoted/printable

I manually added an association "message/global" type according to open "*" with "kmail --view". This work well.
Comment 1 Laurent Montel 2021-03-15 18:40:53 UTC
Git commit d97e82b204eb8038f992704b405ad6ab44e5070b by Laurent Montel.
Committed on 15/03/2021 at 18:40.
Pushed by mlaurent into branch 'release/21.04'.

Fix Bug 434392 - message/global type, can't view it, must be associated to kmail --view
FIXED-IN: 5.17.0

M  +3    -0    messageviewer/src/viewer/viewer_p.cpp
M  +2    -0    mimetreeparser/src/utils/util.cpp

https://invent.kde.org/pim/messagelib/commit/d97e82b204eb8038f992704b405ad6ab44e5070b