Bug 286639 - Open file handle shouldn't be needed
Summary: Open file handle shouldn't be needed
Status: RESOLVED UNMAINTAINED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.11.2
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 00:21 UTC by madsmh
Modified: 2024-11-12 21:38 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 2 Will Sierzputowski 2024-11-12 21:38:11 UTC
Version 24.11.70
OS: Windows 11 23H2

I do not have a Latex suite installed on Windows. But with a PDF file open in Okular I am able to edit the file with another PDF viewer (add comments, and highlight in Firefox), then save the file. The file is saved successfully (although I am prompted about overwriting an existing file). Okular auto reloads the file on the update or doesn't depending on the setting "Reload document on file change". This issue has been resolved either by Okular or Windows since the reporting.