<table><tr><td style="">knauss added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8554" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>currently this patch restults with:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="diff" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"><span style="color: #a00000">--- /home/neon/kdepim/src/kde/pim/messagelib/mimetreeparser/autotests/data/openpgp-inline-encrypted-with-attachment.mbox.tree   2017-10-30 11:13:47.986867617 +0000</span>
<span style="color: #00a000">+++ openpgp-inline-encrypted-with-attachment.mbox.out.tree      2017-10-30 11:14:42.058920933 +0000</span>
<span style="color: #800080">@@ -3,5 +3,6 @@</span>
    * MimeTreeParser::TextMessagePart
     * MimeTreeParser::EncryptedMessagePart
      * MimeTreeParser::SignedMessagePart
<span style="color: #a00000">-   * MimeTreeParser::AttachmentMessagePart</span>
<span style="color: #a00000">-    * MimeTreeParser::MessagePart</span>
<span style="color: #00a000">+   * MimeTreeParser::EncryptedMessagePart</span>
<span style="color: #00a000">+    * MimeTreeParser::TextMessagePart <-- here MimeTreeParser::AttachmentMessagePart would be correct</span>
<span style="color: #00a000">+     * MimeTreeParser::MessagePart</span>
FAIL!  : RenderTest::testRenderSmart(openpgp-inline-encrypted-with-attachment.mbox) Compared values are not the same
   Actual   (proc.exitCode()): 1
   Expected (0)              : 0
   Loc: [/home/neon/kdepim/src/kde/pim/messagelib/messageviewer/src/messagepartthemes/default/autotests/rendertest.cpp(295)]
<span style="color: #a00000">--- /home/neon/kdepim/src/kde/pim/messagelib/mimetreeparser/autotests/data/openpgp-inline-encrypted-with-attachment.mbox.html   2017-10-30 11:13:37.482856527 +0000</span>
<span style="color: #00a000">+++ openpgp-inline-encrypted-with-attachment.mbox.out.html      2017-10-30 11:14:42.066920940 +0000</span>
<span style="color: #800080">@@ -51,11 +51,31 @@</span>
         </div>
         <a name="att2"/>
         <div id="attachmentDiv2">
<span style="color: #a00000">-          <hr/></span>
<span style="color: #a00000">-          <div></span>
<span style="color: #a00000">-            <a href="attachment:2?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment.asc</a></span>
<span style="color: #a00000">-          </div></span>
<span style="color: #a00000">-          <div/></span>
<span style="color: #00a000">+          <table cellspacing="1" cellpadding="1" class="encr"></span>
<span style="color: #00a000">+            <tr class="encrH"></span>
<span style="color: #00a000">+              <td dir="ltr"></span>
<span style="color: #00a000">+                <div class="enc-simple">Encrypted message<a href="kmail:showEncryptionDetails" style="display:block;float:right;">Show Details</a></div></span>
<span style="color: #00a000">+                <div class="enc-details" style="display:none;">The message is encrypted for the following keys:<a href="kmail:hideEncryptionDetails" style="display:block;float:right;">Hide Details</a><ul style="list-style-type: none;"><li>unittest key (no password) &lt;test@kolab.org&gt; (<a href="kmail:showCertificate#gpg ### OpenPGP ### 8D9860C58F246DE6">0x8D9860C58F246DE6</a>)</li></ul></div></span>
<span style="color: #00a000">+              </td></span>
<span style="color: #00a000">+            </tr></span>
<span style="color: #00a000">+            <tr class="encrB"></span>
<span style="color: #00a000">+              <td></span>
<span style="color: #00a000">+                <div style="position: relative; word-wrap: break-word"></span>
<span style="color: #00a000">+                  <a name="att"/></span>
<span style="color: #00a000">+                  <div id="attachmentDiv"></span>
<span style="color: #00a000">+                    <div class="noquote"></span>
<span style="color: #00a000">+                      <div dir="ltr">asfsadfsdaf</div></span>
<span style="color: #00a000">+                      <br/></span>
<span style="color: #00a000">+                      <div dir="ltr">asdfasdfasdf</div></span>
<span style="color: #00a000">+                    </div></span>
<span style="color: #00a000">+                  </div></span>
<span style="color: #00a000">+                </div></span>
<span style="color: #00a000">+              </td></span>
<span style="color: #00a000">+            </tr></span>
<span style="color: #00a000">+            <tr class="encrH"></span>
<span style="color: #00a000">+              <td dir="ltr">End of encrypted message</td></span>
<span style="color: #00a000">+            </tr></span>
<span style="color: #00a000">+          </table></span>
         </div>
       </div>
     </div>
FAIL!  : RenderTest::testRenderSmart(openpgp-inline-encrypted-with-attachment.mbox) Compared values are not the same
   Actual   (proc.exitCode()): 1
   Expected (0)              : 0</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R94 PIM: Message Library</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8554" rel="noreferrer">https://phabricator.kde.org/D8554</a></div></div><br /><div><strong>To: </strong>knauss, vkrause<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>