Kmail2 needs kdepim-addons as dependency. The exact same behaviour as described in: https://bugs.kde.org/show_bug.cgi?id=361748 https://bugs.kde.org/show_bug.cgi?id=361639 also happens to me. Installing kdepim-addons also fixes the issue. Moreover installing kdepim-addons leads to the display of the new fancy headers. Without kdepim-addons no email header in kmail is displayed at all.
Confirmed by upstream.
The crash bug is fixed in 16.04.1. kdepim-addons is already a dependency in kdepim-meta, kdepim notifies about kdepim-addons if not installed in postinst message. Technically it's an optional runtime dependency.
(In reply to Andreas Sturmlechner from comment #2) > The crash bug is fixed in 16.04.1. > > kdepim-addons is already a dependency in kdepim-meta, kdepim notifies about > kdepim-addons if not installed in postinst message. Technically it's an > optional runtime dependency. Indeed as the package is masked we wont backport the patch and live with the current state.
(In reply to Johannes Huber from comment #3) > Indeed as the package is masked we wont backport the patch and live with the > current state. OK (In reply to Andreas Sturmlechner from comment #2) > The crash bug is fixed in 16.04.1. > > kdepim-addons is already a dependency in kdepim-meta, kdepim notifies about > kdepim-addons if not installed in postinst message. Technically it's an > optional runtime dependency. Understand that someway. But is the "header bug" also fixed in 16.04.1? Otherwise it may not be directly a technical issue, but not having a email header in such a key component like kmail lead to major confusion on userside and seems to be a packaging issue.
I don't know, is it a packaging bug if you ignore the postinst message? ;) I'm not running stable branch so can't tell if there is some kind of basic header in 16.04.1 if kdepim-addons is missing. kdepim does not *need* kdepim-addons at runtime, though arguably having headers in kmail is more important than gravatar/sendvcard plugins in akregator. The most correct solution *if* it is made a dependency would probably be PDEPEND="kdepim-addons[kdepim_features_kmail?,kdepim_features_korganizer?]"
Of course it is somewhere my fault to install the postinst message. ;) But let me attach two screenshot, so the problem is clear. Maybe this is different in 16.04.1.
Created attachment 432454 [details] Kmail without kdepim-addons
Created attachment 432456 [details] Kmail with kdepim-addons
*** Bug 587164 has been marked as a duplicate of this bug. ***