Bug 395695

Summary: [Privacy] Private activity usage is displayed by KRunner in standard activities
Product: [Plasma] krunner Reporter: Øystein Steffensen-Alværvik <epost.kde>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: major CC: alexander.lohnau, kishore96, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.15.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.20
Sentry Crash Report:

Description Øystein Steffensen-Alværvik 2018-06-21 15:22:54 UTC
Files recently opened in a private activity are visible from KRunner in a standard activity – labeled as "Recently used".

How to reproduce:
1. Create a new activity and check the option "Private – do not track usage in this activity".
2. Switch to the new private activity.
3. Create a new file ("Top secret") in any format.
4. Open the new file (from the private activity) and then close the file.
5. Switch to a standard activity
Alternatively also stop the private activity, but this is not necessary.
6. Search for the file ("Top secret") that you opened in the private activity.
KRunner suggests the file as a "recently opened document".
Comment 1 Kai Uwe Broulik 2018-06-27 09:54:35 UTC
KRunner doesn't use KActivitiy's recent documents stuff yet, it should, though, as clearing activity history also doesn't work with KRunner.
Comment 2 Kishore Gopalakrishnan 2020-06-09 06:42:53 UTC
*** Bug 382583 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Lohnau 2020-06-09 17:17:07 UTC
This has been fixed: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/31.

Fixed-In: 5.20