<table><tr><td style="">slenz created this revision.<br />Herald added a project: Kate.<br />Herald added a subscriber: kwrite-devel.<br />slenz 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/D16259">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>loadMetaInfos tried to use the documents checksum before loading. The empty checksum results in it always failing to load metainfo and returning false, thus not using any of the stored metainfo.</p>
<p>BUG: 384087</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Enable "Keep meta-information past sessions".</li>
<li class="remarkup-list-item">Open file (with or without previous bookmarks).</li>
<li class="remarkup-list-item">Add or remove a bookmark.</li>
<li class="remarkup-list-item">Close and reopen the file (and/or close and reopen Kate).</li>
<li class="remarkup-list-item">Previous bookmarks should be reloaded.</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>BRANCH</strong><div><div>metainfo-loading-fix (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16259">https://phabricator.kde.org/D16259</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kate/katedocmanager.cpp</div></div></div><br /><div><strong>To: </strong>slenz<br /><strong>Cc: </strong>kwrite-devel, michaelh, ngraham, demsking, cullmann, sars, dhaumann<br /></div>