This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kile updates Okular PDF only once

Tags: None
(comma "," separated)
pstein
Registered Member
Posts
10
Karma
0

Kile updates Okular PDF only once

Mon Feb 18, 2013 6:07 pm
Hallo,

I have the following issue with my KDE for Windows 4.8.0: When I have opened a .tex file in Kile and open it with Okular as PDF-viewer, the document should be updated every time I hit the "PDFLatex" button in Kile. However, it is updated only once. More precisely, the following happens:

1) I open a .tex file in Kile.
2) I compile it via PDFLatex.
3) I open the PDF with ViewPDF with Okular.
4) I change the .tex file and hit PDFLatex again. The document in Okular is updated correctly.
5) I change the .tex file a second time and hit PDFLatex. No update of the PDF occurs. I have to reopen the PDF again to see my changes.

Does anyone know how to fix this? For me the on-the-fly update of the PDF is one of the best features of using Kile and Okular.

Thanks in advance,

pstein
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does Okular remains open when you run PDFLatex on both occasions?

This could possibly be a Windows specific interaction bug (due to the file not being writable as it is opened by Okular) or a file watching bug in Okular (which is not reloading).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
pstein
Registered Member
Posts
10
Karma
0
When the PDF gets updated correctly, I can see a quick change of the Okular Tab in the Taskbar (looks like it would be reloading or something like that). When it does not get updated correctly, nothing changes, but Okular remains open.
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
It might be version specific. Works perfectly here (Windows XP SP3, KDE 4.8.00, Kile 2.9.60).
pstein
Registered Member
Posts
10
Karma
0
No one any idea?
User avatar
yurchor
Registered Member
Posts
64
Karma
1
OS
pstein wrote:No one any idea?

No. Until you give some additional information (version of Windows, have you ever modified Kile parameters).

Kile stores temporary PDFs in appdata temporary folder so it may happen that some antivirus software prevents application from modifying such files.

// It just works here with raw install.
pstein
Registered Member
Posts
10
Karma
0
Ah ok, sorry for my late reply. I use Windows 7 with SP1 and have avast Antivir installed. However, I installed OpenSuse on another computer yesterday, so I can run Kile natively on this one. Therefore, at the moment there is no need to fix this problem.
P3t3r
Registered Member
Posts
33
Karma
0

Re: Kile updates Okular PDF only once

Mon Mar 18, 2013 11:07 am
This problem has been around for years under windows, yet no one seems to care enough to solve it. It is only minor after all.

I reported this bug in January 2011 https://bugs.kde.org/show_bug.cgi?id=262255 but it's even older than that. Feel free to report there that the issue is still alive in the current version. A relevant comment of an KDE forum moderator can be found here: viewtopic.php?f=59&t=90219&start=15#p184430


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell