Bug 234139 - Okular looses PDF on Firefox closing
Summary: Okular looses PDF on Firefox closing
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Unspecified
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 225907 237119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-12 10:42 UTC by Andreas Cord-Landwehr
Modified: 2010-10-06 11:29 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Cord-Landwehr 2010-04-12 10:42:51 UTC
Version:            (using KDE 4.4.2)
Installed from:    Debian testing/unstable Packages

Hi, I'm not sure if it is Firefox or Okular related. But since I assume Okular should have any kind of temporary PDF cache I assume Okular. Here my problem, it's reproducible:

1. in Firefox I open some link to a PDF
2. I open this PDF with Okular
3. Okular shows this PDF
4. I close Firefox
5. Okular closes this PDF

The expected behavior resp. the behavior I expect is that Okular preserves the PDF until I close Okular -- even if I close Firefox.
Comment 1 Albert Astals Cid 2010-04-14 20:11:16 UTC
Are you sure you are running KDE 4.4.2?
Comment 2 Andreas Cord-Landwehr 2010-04-14 20:22:12 UTC
Yes, current Debian Experimental packages. Okular in Version 0.10.2.
Comment 3 Albert Astals Cid 2010-04-14 20:33:10 UTC
Can you please try this?
cp somefile.pdf a.pdf
okular a.pdf &
wait until okular loads the file
rm a.pdf

Does okular close the pdf file after the rm?
Comment 4 Andreas Cord-Landwehr 2010-04-14 20:45:41 UTC
No, it is not closing.
Comment 5 Albert Astals Cid 2010-04-15 01:13:37 UTC
Hmmm, i can reproduce if it is launched by firefox too, will have a look tomorrow why we try to reload the file.
Comment 6 Albert Astals Cid 2010-05-10 17:23:36 UTC
*** Bug 237119 has been marked as a duplicate of this bug. ***
Comment 7 Albert Astals Cid 2010-07-06 00:20:22 UTC
SVN commit 1146401 by aacid:

Only start watching the file in case if it wasn't removed, thus was modified
Patch by Victor Blázquez
BUGS: 234139


 M  +4 -0      part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1146401
Comment 8 Pino Toscano 2010-10-06 11:29:10 UTC
*** Bug 225907 has been marked as a duplicate of this bug. ***