<div>graesslin created this revision.<br />
graesslin added reviewers: Plasma, hein.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>There is a possibility that a PlasmaWindow is unmapped when the<br />
PlasmaWindowModel gets created. In this situation the unmapped<br />
PlasmaWindow will be deleted in the next event cycle. So far<br />
PlasmaWindowModel didn't handle this situation and the model might<br />
hold deleted objects due to this.</p>
<p>This change addresses this potential problem and ensures the model<br />
gets updated when a PlasmaWindow is deleted.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Test case which exposes the problem is added</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWAYLAND KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>window-model-remove-deleted-windows</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1622" rel="noreferrer">https://phabricator.kde.org/D1622</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_plasma_window_model.cpp<br />
src/client/plasmawindowmodel.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, Plasma, hein<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>