Bug 286639

Summary: Open file handle shouldn't be needed
Product: [Applications] okular Reporter: madsmh
Component: generalAssignee: KDE-Windows <kde-windows>
Status: CONFIRMED ---    
Severity: wishlist CC: aacid, okular-devel, ps_ml
Priority: NOR    
Version: 0.11.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description madsmh 2011-11-15 00:21:23 UTC
Version:           0.11.2 (using KDE 4.5.4) 
OS:                MS Windows

Okular seems to lock file that is loaded, making it impossible for other programs to write to the file.

Reproducible: Always

Steps to Reproduce:
Open PDF file produced by latexing document.tex. then run latex on the same .tex file again, and latex will complain about not being able to write to the file.

Actual Results:  
the new version of the PDF file was not written and thus not loaded into Okular.

Expected Results:  
The PDF should have been written and the opdated document loaded into Okular.
Comment 1 Albert Astals Cid 2011-11-15 00:25:44 UTC
Windows should be a smarter OS, personally i'm not going to workaround windows limitations myself, obviously i'll review a patch that fixes this issue if anyone fancies like writing it.