[Okular-devel] [Bug 249572] Add a way to configure file metadata storage options

Sergei Ivanov svivanov at pdmi.ras.ru
Tue Dec 4 19:32:52 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=249572

Sergei Ivanov <svivanov at pdmi.ras.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |svivanov at pdmi.ras.ru

--- Comment #16 from Sergei Ivanov <svivanov at pdmi.ras.ru> ---
I am annoyed by this bug too. I cleaned my ~/.kde/share/apps/okular/docdata two
months ago and now it has 3500+ files taking away 14M of storage. Everything
else under ~/.kde occupies less than 800K combined.

I never had that many PDFs. I just use latex, edit latex files with kile, and
display the generated PDFs with okular. Every time a latex file is edited,
okular creates a new XML file for the generated PDF and does not delete the old
one. This is ridiculous.

For example, I am currently working on a latex file 'symplectic.tex'. This is
one file but I am editing it. In .../okular/docdata I have 206 files named
*.symplectic.pdf.xml:

~/.kde/share/apps/okular/docdata$ ls -l *symplectic*
-rw-rw-r-- 1 serg serg 359 Nov 18 23:07 100993.symplectic.pdf.xml
-rw-rw-r-- 1 serg serg 359 Nov 18 23:06 101028.symplectic.pdf.xml
-rw-rw-r-- 1 serg serg 358 Nov 18 23:13 101644.symplectic.pdf.xml
-rw-rw-r-- 1 serg serg 359 Nov 19 00:37 108118.symplectic.pdf.xml
-rw-rw-r-- 1 serg serg 359 Nov 18 23:06 108267.symplectic.pdf.xml
-rw-rw-r-- 1 serg serg 359 Nov 19 00:39 108329.symplectic.pdf.xml
-rw-rw-r-- 1 serg serg 359 Nov 19 00:55 125006.symplectic.pdf.xml
[... about 200 similar entries skipped]

These tiny files contain no information other than the last viewing mode and
position in the file. It is pointless to remember this information for so many
files and for so long. Some other applications manage to keep their 'recently
visited' data in one file (for example, kile in ~/.kde/share/config/kilerc) and
do not let it grow infinitely. It would be nice if okular did that too.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list