<table><tr><td style="">davidedmundson 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/D26960">View Revision</a></tr></table><br /><div><div><p>Heh, I'm going to quote a conversation with you:</p>

<hr class="remarkup-hr" />

<p>David Edmundson, [17.01.20 10:07]<br />
would you say it's always wrong to have a QWindow outlive a QApplication?</p>

<p>Kai Uwe, [17.01.20 10:08]<br />
I would say yes, why?</p>

<p>David Edmundson, [17.01.20 10:08]<br />
wondering if I need to comment on some code that would crash if that happened</p>

<p>Kai Uwe, [17.01.20 10:13]<br />
when qapp is gone the qpt and stuff will be torn down and then it will naturally crash if a window outlives it, no?</p>

<p>Then you went and proved that windows are torn down.</p>

<hr class="remarkup-hr" />

<p>If we have a tile alive it means either a KWindowShadow object is alive or the QStyle is still alive, and both should be destroyed before the QPA.<br />
Do you have the full bt of the crash?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R278 KWindowSystem</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26960">https://phabricator.kde.org/D26960</a></div></div><br /><div><strong>To: </strong>broulik, Plasma, zzag<br /><strong>Cc: </strong>davidedmundson, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>