Bug 195207 - session restore should reopen pdf web addresses
Summary: session restore should reopen pdf web addresses
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 15:02 UTC by andrew
Modified: 2010-08-09 23:55 UTC (History)
2 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 andrew 2009-06-04 15:02:18 UTC
Version:           0.8.80 (using Devel)
OS:                Linux
Installed from:    Compiled sources

Use case: I have a bunch of PDF files open that I have openned directly from internet links. For some reason (eg upgrade) I need to log out. In kde3, logging back in would magically restore all the previously open PDF files - because kpdf was launched with the URL of the file. 
 
 In KDE4 I have noticed that okular gets launched with the name of the temporary file that was downloaded. This typicall fails to re-open because it was cleaned up. So I have to go and find all those documents again.
 
see also http://forum.kde.org/session-restore-should-reopen-pdf-web-addresses-t-61616.html
Comment 1 Pino Toscano 2009-06-04 15:10:37 UTC
(In reply to comment #0)
> In KDE4 I have noticed that okular gets launched with the name of the
> temporary file that was downloaded.

How are you launching Okular? From konqueror, firefox, other browser or manually?
Comment 2 andrew 2009-06-05 00:47:26 UTC
Launched from browser.  I have been using both firefox and konqeror.  Not manually.
Comment 3 Mathieu Lornac 2010-08-08 17:43:35 UTC
Works fine with konqueror.

I open a document from the Konqueror browser, logout clean my tmp folder and when i log back in the file is downloaded and opened properly.

I don't know if fixing that issue for firefox is possible, because the file url is not given to the main function. The main function only has the local file downloaded by the download manager of firefox. After a logout the file is wiped out but we don't have the url to download it again.
Comment 4 Albert Astals Cid 2010-08-09 23:55:28 UTC
Following Mathieu's comment i'm closing the bug since it works in Konqueror and we can not fix Firefox to give us a url we can reuse after session restart.

If it fails for you when using Konqueror please reopen the bug.

Thanks for using KDE.