Version: (using KDE 4.4.0) Installed from: SuSE RPMs In case of /tmp is full okular reports for remote files, that it cannot open a file (and no more info why), in case of local files, they are unpacked in place and then the unpacked files are not deleted. Thus opening big comicbook (in case of local file) leads to mess in the directory. When /tmp directory is full, with current design, okular should not continue with opening the file. However -- the wish for the bug -- it would be great if okular didn't use hard disk at all, and just read the file directly from the archive (after all comic book files are just archives). Btw. with current design there is also a double bug in Okular settings -- aggressive mode says "keeps everything in memory". Unpacking files to disk is for sure not keeping everything in memory.
I presume you are talking about CBR, right (please do specify it)? In such case, the temporary files are deleted when the document is closed.
Yes, cbr. Temporary files in /tmp are deleted, but temporary files in local directory are not. It is really double bug, not a wish (unless we count "please fix a bug" as wishes). Please also note that running several okular instances leads to populating /tmp directory, and thus increasing chance to getting it full, and this to the bug I described above.
(In reply to comment #2) > Temporary files in /tmp are deleted, but temporary files in local directory are > not. It is really double bug, not a wish (unless we count "please fix a bug" as > wishes). Okular creates a local temporary directory, extracts the cbr there and when closing it the temporary directory is removed as a whole. I don't see any condition, even error one, do the temporary directory is not removed. > Please also note that running several okular instances leads to populating /tmp > directory, and thus increasing chance to getting it full, and this to the bug I > described above. Behaviour change -> wish.
> Okular creates a local temporary directory, extracts the cbr there and when > closing it the temporary directory is removed as a whole. I cannot confirm this. I have latest (KDE4.4) version and it unpacks files directly to the directory cbr exists and later (after closing) does _not_ delete any files. I can only guess it has to do with content of cbr -- if it has directory inside or not.
Maciej, can you stop guessing and describing the exact steps you do and the exact files you use so we can try to reproduce it?
1. /tmp full 2. cbr file with one subdirectory and files (*.jpg) placed in this subdirectory 3. execute: okular myfile.cbr 4. quit okular 5. the current directory is populated with files from the .cbr archive
Please attach such cbr file
I cannot do this right now, so for now let's say with the wish part -- accessing the archive directly.