<table><tr><td style="">ngraham edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ezjazynudnpmnxt/">(Show Details)</a><br />ngraham edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-nc62gehstmoy3h7/">(Show Details)</a>
</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/D13804">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>`KRecentDocuments` currently checks for duplicate entries, but its criteria are very restrictive: not only does the path need to match, but also the app that the path was opened with. As a result, if you open a file with two different apps (say, Kate and KWrite), you get two entries.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
</span>From a regular user perspective, these are duplicates--especially since the entries are not visibly badged in any way with what app they will open with, so they look identical. Even if they were, it's not really a useful feature; when you want to access a recently-used document, it's highly likely that you just want to use the default app to open it.<br />
<br />
This patch remove<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">d</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">s</span> the app-matching criteria and considers an entry a duplicate <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">if </span>only<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> if</span> its path matches that of an existing entry.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Open the same document with both Kate and KWrite. Only one cop<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">t</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">y</span> of the document shows up in <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span>recentdocuments:/<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">`</span> in Dolphin.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13804">https://phabricator.kde.org/D13804</a></div></div><br /><div><strong>To: </strong>ngraham, broulik, Dolphin, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>