<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: broulik, Dolphin, Frameworks.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: kde-frameworks-devel.<br />ngraham 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/D13804">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>BUG: 379129<br />
FIXED-IN 5.48</p>
<p><tt style="background: #ebebeb; font-size: 13px;">KRecentDocuments</tt> 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. 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.</p>
<p>This patch removed the app-matching criteria and considers an entry a duplicate only if its path matches that of an existing entry.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Open the same document with both Kate and KWrite. Only one copt of the document shows up in recentdocuments:/ in Dolphin.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>more-liberal-recent-document-duplicate-detection (branched from master)</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>AFFECTED FILES</strong><div><div>src/core/krecentdocument.cpp</div></div></div><br /><div><strong>To: </strong>ngraham, broulik, Dolphin, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>