How to reproduce: * right click on "encapsulated message" * On the menu, select "Save as" * Select a filename * The file is created but it is 0 bytes Maybe related? * Right click on "encapsulated message" and open does nothing * Right click and properties says 0 bytes As alternative if i left click on "encapsulated message" and then on the window that has been opened i click File->Save it works fine
I confirm this bug. I started to investigate it with your test case.
Git commit 24a0231002b3f1dbb276449c4961fabfcffe9e34 by Laurent Montel. Committed on 22/02/2018 at 12:56. Pushed by mlaurent into branch 'master'. Fix [kmail2] [Bug 390847] New: Saving an encapsulated message doesn't work FIXED-IN: 18.04.0 M +20 -0 messageviewer/src/viewer/viewer_p.cpp https://commits.kde.org/messagelib/24a0231002b3f1dbb276449c4961fabfcffe9e34