<table><tr><td style="">dkurz created this revision.<br />Restricted Application added a project: KDE PIM.
</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/D7591" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>We now detect if IncidenceAttachment is deleted while the<br />
AttachmentEditDialog is shown. There were three potential crashes<br />
(deletion of item; access to mAttachmentView; call checkDirtyStatus);<br />
the first of them actually was met in the wild in Bug 356053. Fixing<br />
only the deletion of item led to the other two.</p>

<p>BUG: 356053<br />
FIXED-IN: 5.6.1</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Compiled; repeated the steps described in Bug 356053. The crash<br />
happens without the patch; doesn't happen with the patch.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R78 PIM: Incidence Editor</div></div></div><br /><div><strong>BRANCH</strong><div><div>hotfix-attachmentdialog-crash-on-exit</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7591" rel="noreferrer">https://phabricator.kde.org/D7591</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/incidenceattachment.cpp</div></div></div><br /><div><strong>To: </strong>dkurz, KDE PIM<br /><strong>Cc: </strong>dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>