https://bugs.kde.org/show_bug.cgi?id=397487
serfreeman1337 <serfreeman1...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #7 from serfreeman1337 <serfreeman1...@gmail.com> --- (In reply to Andreas Bontozoglou from comment #4) > However, these seem to be connected to the `m_resources` > signals (Resources class) which in turn seem to only be exposed in dbus > `kactivitymanagerd/src/common/dbus/org.kde.ActivityManager.Resources.xml` > and not called anywhere directly. So it's called directly via dbus somewhere else. Here is debug log with print statements for addEvents, saveResourceTitle, saveResourceMimetype whenever I open any file in dolphin: > kactivitymanagerd[107123]: !!! saveResourceMimetype !!! uri [ > "file:///home/serfreeman1337/kde/src/log/latest/kactivitymanagerd/build.log" > ], mimetype [ "text/x-log" ], autoMimetype [ false ] > kactivitymanagerd[107123]: !!! addEvents !! m_blockAll [ false ], > m_whatToRemember [ 2 ] saveResourceMimetype's called before addEvents. Re-opening this, since it was not solved by previous commit. STEPS TO REPRODUCE 1. In settings, set Workspace Behavior > Recent Files > Do not remember. 2. In dolphin, open any file. 3. Check ResourceInfo table with the following command: sqlite3 ~/.local/share/kactivitymanagerd/resources/database "SELECT * FROM ResourceInfo;" OBSERVED RESULT Information about just opened file has been filled in ResourceInfo, even though "Remember opened documents" is set to "Do not remember". EXPECTED RESULT No information about recent documents should be stored when "Remember opened documents" is set to "Do not remember". Easy way to solve this should be simply adding conditional checks for saveResourceMimetype and saveResourceTitle. Other way is to track down what is calling dbus signal and solve it there. -- You are receiving this mail because: You are watching all bug changes.