zzag created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. zzag requested review of this revision.
REVISION SUMMARY Since a KWindowShadow is a child of QWindow, we need to use a guarded pointer to store the shadow in order to prevent accessing or deleting dangling pointers in ShadowHelper::_shadows. It's quite possible that one could destroy the associated widget and with it the QWindow. REPOSITORY R113 Oxygen Theme BRANCH fix-crash REVISION DETAIL https://phabricator.kde.org/D26967 AFFECTED FILES kstyle/oxygenshadowhelper.cpp kstyle/oxygenshadowhelper.h To: zzag Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart