https://bugs.kde.org/show_bug.cgi?id=371991

--- Comment #32 from Marco Martin <notm...@gmail.com> ---
Git commit a9abb4ad66a93a9800347c906cbe2003d99e9e0f by Marco Martin.
Committed on 10/01/2017 at 15:03.
Pushed by mart into branch 'master'.

better clean up of duplicate containments

Summary:
due to old multiscreen bugs, sometimes the appletsrc file
gets polluted with a lot of containments with same activity id
and lastScreen, in some cases even hundreds
(see https://bugs.kde.org/show_bug.cgi?id=371858)
in that case we can't be 100% sure what containment will be loaded
at startup, leading to an herratical behavior.
it was trying to clean up duplicates but wasn't really effective
now base upon lastScreen (so we catch other activities as well)
and manually remove the destroyed containment from
m_desktopContainments (which may sole some multiscreen
related bug, such as 371991)
Related: bug 371858

Test Plan:
started a session with the corrupted appletsrc from the bugreport,
file gets cleaned out of duplicates

Reviewers: davidedmundson, #plasma

Reviewed By: davidedmundson, #plasma

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3981

M  +4    -4    shell/shellcorona.cpp

https://commits.kde.org/plasma-workspace/a9abb4ad66a93a9800347c906cbe2003d99e9e0f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to