Bug 381665

Summary: Duplicate entires in Recent Documents
Product: [Plasma] krunner Reporter: Michael D <nortexoid>
Component: filesearchAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.10.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michael D 2017-06-26 08:04:08 UTC
There are duplicate entries under the Recent Documents category when a file is opened more than once. E.g. if I open filename.txt n times, even if it is in the same application, it shows up n times under Recent Documents (where n is less than or equal to the max. number of allowable entries).

This is also a problem for Application Launcher, but only when searching. If you navigate to the History tab, there are no duplicates.
Comment 1 Kai Uwe Broulik 2017-08-25 09:26:58 UTC
Git commit 9583c7df0492411eb697e5e5babb08abdb16c4a2 by Kai Uwe Broulik.
Committed on 25/08/2017 at 09:26.
Pushed by broulik into branch 'master'.

[Recent Documents Runner] Avoid duplicate results

Differential Revision: https://phabricator.kde.org/D7476

M  +13   -2    runners/recentdocuments/recentdocuments.cpp

https://commits.kde.org/plasma-workspace/9583c7df0492411eb697e5e5babb08abdb16c4a2