Apparently okular saves information about files it has opened in apps/okular/docdata/ - one file for every file ever opened. I now have 2053 files there, the oldest from 2010-11-27. Please provide a way to automatically delete files there after a certain time (like six months). I know this can easily done with e.g. cron by the user, but in this case I think it's the responsibility of the program that creates these files. Reproducible: Always
This issue can be work-arounded with systemd. For example, create a file ~/.config/user-tmpfiles.d/okular.conf with contents # Work-around https://bugs.kde.org/show_bug.cgi?id=360225 e %h/.local/share/okular/docdata - - - 60d and enable/start the relevant service with the command systemctl --user enable --now systemd-tmpfiles-clean.timer