[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-12-12 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #15 from Albert Astals Cid --- Are you sure about that? Are you sure the file is completely finished? Okular tries to reload the file while it's being changed, it might happen that at a given time we can open the file (i.e. it's a valid pdf)

Re: [Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-12-08 Thread Albert Astals Cid
El Dijous, 6 de desembre de 2012, a les 15:25:06, Luigi Toscano va escriure: > On Thursday 06 of December 2012 14:20:41 Christoph Feck wrote: > > https://bugs.kde.org/show_bug.cgi?id=310531 > > > > --- Comment #13 from Christoph Feck --- > > > > On Thursday 06 December 2012 14:54:24 Albert Astal

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-12-07 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #14 from Eugene Shalygin --- Thank you for the fix. But now there is another minor problem in version 0.15.90. Okular reloads file twice. I.e. After the file is ready and latex has exited, Okular loads file and then (within half of the secon

Re: [Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-12-06 Thread Christoph Feck
escribió: > > De: Christoph Feck > > Asunto: [Okular-devel] [Bug 310531] Okular does not reload files > > after modification Para: okular-devel@kde.org > > Fecha: jueves, 6 de diciembre, 2012 14:52 > > https://bugs.kde.org/show_bug.cgi?id=31

Re: [Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-12-06 Thread Albert Astals Cid
rt --- El jue, 6/12/12, Christoph Feck escribió: > De: Christoph Feck > Asunto: [Okular-devel] [Bug 310531] Okular does not reload files after > modification > Para: okular-devel@kde.org > Fecha: jueves, 6 de diciembre, 2012 14:52 > https://bugs.kde.org/show_bug.cgi?id

Re: [Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-12-06 Thread Luigi Toscano
On Thursday 06 of December 2012 14:20:41 Christoph Feck wrote: > https://bugs.kde.org/show_bug.cgi?id=310531 > > --- Comment #13 from Christoph Feck --- > > On Thursday 06 December 2012 14:54:24 Albert Astals Cid wrote: > > Not sure i agree with this setting to 4.10, this was never broken > > in

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-12-06 Thread Christoph Feck
. > > Cheers, > Albert > > --- El jue, 6/12/12, Christoph Feck escribió: > > De: Christoph Feck > > Asunto: [Okular-devel] [Bug 310531] Okular does not reload files > > after modification Para: okular-devel@kde.org > > Fecha: jueves, 6 de diciembre,

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-12-06 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=310531 Christoph Feck changed: What|Removed |Added Version Fixed In||4.10 -- You are receiving this mail because:

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-30 Thread Fabio D'Urso
https://bugs.kde.org/show_bug.cgi?id=310531 Fabio D'Urso changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-25 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #11 from Eugene Shalygin --- OK. thank you, I know that my changes are silly. I just wanted to illustrate that there is indeed a problem with oldUrl, since such change fixes the reloading process -- You are receiving this mail because: You

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-25 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #10 from Albert Astals Cid --- I think I know what's wrong, and you are partially right, oldUrl can be sometimes empty, your patch is not totally correct though, i'll work on something and post it here so you can give it a try. -- You are

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-23 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #9 from Eugene Shalygin --- Created attachment 75430 --> https://bugs.kde.org/attachment.cgi?id=75430&action=edit Stupid fix for the reload problem This change fixes a problem for me. Just as an illustration. -- You are receiving this m

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-23 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #8 from Eugene Shalygin --- I'm saying what I have seen from a debug print. When Okular detects that file is deleted, it closes it, and fails to reopen. When we come to the Part::slotDoFileDirty() next time (file is ready to be viewed), ol

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-23 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #7 from Albert Astals Cid --- oldUrl should never be empty (actually it is not here), and your logic of why it is empty is wrong because the document is closed at the next line after oldUrl is assigned. -- You are receiving this mail becau

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-23 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #6 from Eugene Shalygin --- I found that after the first update (file truncation), the oldUrl in Part::slotDoFileDirty() is always empty (yes, the file has been closed. So this seems to be correct). But then how it is impossible to reopen th

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-22 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #5 from Eugene Shalygin --- Yes, it is checked. Otherwise Okular does not react on file truncation (deletion). -- You are receiving this mail because: You are the assignee for the bug. ___ Okular

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-22 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #4 from Albert Astals Cid --- Can you please make sure the "Reload document on file change" option is still checked? -- You are receiving this mail because: You are the assignee for the bug. ___

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-22 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #3 from Eugene Shalygin --- I meant that the program is not completely disconnected from the filesystem events: it reacts on file truncation by latex. I.e.: I open a PDF in Okular, then run latex. When latex starts to write a PDF, it removes

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-22 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=310531 Albert Astals Cid changed: What|Removed |Added CC||aa...@kde.org --- Comment #2 from Albert As

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-22 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=310531 --- Comment #1 from Eugene Shalygin --- Okular detects when the file is trancated, but does not reload it when the file is ready -- You are receiving this mail because: You are the assignee for the bug. ___

[Okular-devel] [Bug 310531] Okular does not reload files after modification

2012-11-22 Thread Pino Toscano
https://bugs.kde.org/show_bug.cgi?id=310531 Pino Toscano changed: What|Removed |Added Severity|major |normal -- You are receiving this mail because: