<table><tr><td style="">vkrause created this revision.<br />Herald added a project: Kirigami.<br />Herald added a subscriber: plasma-devel.<br />vkrause requested review of this revision.
</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/D27595">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This fixes a race condition on startup for the Kirigami translation<br />
catalog that happens as follows:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">QML code triggers the loading of the Kirigami plugin</li>
<li class="remarkup-list-item">the ECM QM loader is triggered, but since this is running outside of the</li>
</ul>

<p>main thread, the actual QM loading is deferred to the main thread</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">QML code execution continues, at which point qsTr might still return</li>
</ul>

<p>unstranslated strings</p>

<p>This is for example visible by the "Actions" header in the context drawer<br />
of the main application page not getting translated.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R169 Kirigami</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27595">https://phabricator.kde.org/D27595</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kirigamiplugin.cpp<br />
src/kirigamiplugin.h</div></div></div><br /><div><strong>To: </strong>vkrause<br /><strong>Cc: </strong>plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart, hein<br /></div>