Bug 441636

Summary: Recent documents logged despite disabled Activities KCM setting
Product: [Applications] systemsettings Reporter: Krešimir Čohar <kcohar>
Component: kcm_activitiesAssignee: Ivan Čukić <ivan.cukic>
Status: REPORTED ---    
Severity: normal CC: ilia-kats, plasma-bugs-null, studymail
Priority: NOR    
Version First Reported In: 5.22.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Krešimir Čohar 2021-08-28 01:53:57 UTC
SUMMARY
Plasma retains a list of recently opened files/documents despite being told not to do so in the system settings (Workspace Behavior --> Activities --> Privacy --> Remember opened documents: Do not remember).


STEPS TO REPRODUCE
1. Open System Settings, and click on "Workspace Behavior", then the Privacy tab
2. Select "Do not remember" under Remember opened documents
3. Open a file you haven't opened before and check if it appears in Places --> History in the Application Launcher.

OBSERVED RESULT
A list of recently opened documents appears (Places --> History in the Application Launcher). They also appear under Recent Files in individual application launchers (Icons-only Task Manager) in the Plasma panel and Latte Dock. 

EXPECTED RESULT
No recently opened document should appear.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Comment 1 Ilia Kats 2021-12-15 19:38:18 UTC
I can confirm this on Plasma 5.23.4 on 2 different systems (both running Arch).
Comment 2 Usman 2022-05-13 02:12:45 UTC
I can confirm this, with additional info:

System Settings > Workspace Behavior > Activities > Privacy > Remember opened documents:. Have 3 options :
1. For all applications
2. Do not remember
3. Only for specific applications

Option 1 work as expected
Option 2 can/can't remember opened document depend on applications icon marked/unmarked and "blacklist applications not on the list".
Option 3 can not remember opened documents. Mark/unmark applications icon and "blacklist applications not on the list" have no effect.

So option 2 work as option 3 = Only for specific applications
Option 3 work as option 2 = Do not remember

OS: Archlinux
KDE Plasma: 5.24.5
KDE frameworks: 5.93.0
Qt: 5.15.3
Comment 3 Usman 2022-07-02 02:03:21 UTC
Fixed in 5.25, but other problem related to this still exist.

"Do not remember" work as expected.
"Only for specific applications" still can't remember opened documents. Mark/unmark applications icon and "blacklist applications not on the list" have no effect.

From privacy point of view this is a good thing, but from options/workaround point of view its "regression", because :
 
Before 5.25 we have 3 options :
1. "For all applications"
2. "Only for specific applications", labelled as "Do not remember" (this bug)
3. "Do not remember", labelled as "Only for specific applications" 

After 5.25 only 2 options :
1. "For all applications"
2. "Do not remember"
3. "Do not remember", labelled as "Only for specific applications"

 
OS: Archlinux
KDE Plasma: 5.25.2
KDE Frameworks: 5.95.0
QT: 5.15.5