<table><tr><td style="">davidedmundson requested changes to this revision.<br />davidedmundson added a comment.<br />This revision now requires changes to proceed.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18805">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>I really don't know that sharing model between contexts cause a such behavior.</p></blockquote>
<p>Sorry, I used the wrong word. Sharing contexts is fine. Sharing across engines is problematic.</p>
<p>QQmlData is shared between engines, but the relevant QObjectWrapper is<br />
not. Since 749a7212e903d8e8c6f256edb1836b9449cc7fe1 when a<br />
QObjectWrapper is deleted it resets the shared QQmlData propertyCache.</p>
<p>Any code path on the first engine that use the propertycache need to rebuild it</p>
<p>(In an ideal world we wouldn't have 2 engines, but that's a whole different topic)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18805">https://phabricator.kde.org/D18805</a></div></div><br /><div><strong>To: </strong>trmdi, Plasma, ngraham, broulik, davidedmundson, anthonyfieroni, fvogt<br /><strong>Cc: </strong>plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>