[Differential] [Request, 53 lines] D1622: [client] Ensure PlasmaWindowModel removes deleted windows
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Tue May 17 07:32:50 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160517/f9b12b18/attachment-0001.html>
More information about the Plasma-devel
mailing list