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