Bug 344965

Summary: krunner creating large (73MB) files of firefox bookmarks, but Bookmarks is unchecked
Product: [Plasma] krunner Reporter: Ron Willhoite <ronwilhoite>
Component: bookmarksAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde-bugs.9ek5t
Priority: NOR    
Version: 5.2.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ron Willhoite 2015-03-09 03:36:41 UTC
I have deleted the krunnerbookmarkrunnerfirefoxdbfile.sqlite several times. After deleting krunnerrc and letting a new one be created, I have:

~ $ cat .config/krunnerrc 
[PlasmaRunnerManager]
enabledCategories=Applications,Calculator,Command Line,System Settings,Terminate Applications

~ $ l .cache/*book*
-rw-r--r-- 1 ronw ronw 73400320 Mar  8 18:51 .cache/krunnerbookmarkrunnerfirefoxdbfile.sqlite
-rw-r--r-- 1 ronw ronw 73400320 Mar  8 18:55 .cache/plasmashellbookmarkrunnerfirefoxdbfile.sqlite
-rw-r--r-- 1 ronw ronw    32768 Mar  8 18:55 .cache/plasmashellbookmarkrunnerfirefoxdbfile.sqlite-shm
-rw-r--r-- 1 ronw ronw        0 Mar  8 18:55 .cache/plasmashellbookmarkrunnerfirefoxdbfile.sqlite-wal


Reproducible: Always

Steps to Reproduce:
1. Uncheck Bookmarks in Krunner config.
2. Delete any bookmarkkrunnerfirefox files in ~/.cache
3. Use Firefox for a while.
4. Check .cache and the file(s) are recreated. 


Expected Results:  
No cache files related to Firefox bookmarks because Bookmarks is not enabled in Krunner config.
Comment 1 G360 2015-10-14 16:42:14 UTC
I can confirm this behavior, Bookmarks is not enabled in Krunner config but those files are recreated after deleting them.

Plasma 5.4.2, KF 5.15, Qt 5.5
Comment 2 Ron Willhoite 2016-07-04 16:19:31 UTC
I'm not sure when this changed, but I now have only one of these bookmark files, and it is 0 bytes:

$ ls -al .cache/*book*
-rw-r--r-- 1 ronw ronw 0 Jun  2 11:05 .cache/krunnerbookmarkrunnerfirefoxdbfile.sqlite

I don't mind a zero byte file.

Plasma 5.6.5, KF 5.23.0, Qt 5.7.0