[Okular-devel] [Bug 225907] New: don't "reload" document when file has been deleted

uetsah uetsah at googlemail.com
Mon Feb 8 13:09:33 CET 2010


https://bugs.kde.org/show_bug.cgi?id=225907

           Summary: don't "reload" document when file has been deleted
           Product: okular
           Version: unspecified
          Platform: unspecified
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: uetsah at googlemail.com


Version:            (using KDE 4.3.5)
Installed from:    Unlisted Binary Package

The "reload document on file change" feature is really neat, especially for
people who produce PDFs files themselves.

However, in case the document file isn't accessible at all anymore (i.e.,
deleted or read permissions removed), Okular should really skip the "reload",
as that'll just result in a blank grey Okular window which obviously isn't
useful in *any* circumstance. On the other hand, there *are* common usecases
where it actually becomes quite inconvenient.

__Usecase example:__

 - I click a PDF link in a web browser
 - The web browser opens the PDF in a new Okular window - I leave it open for
reading later
 - I close the web browser
 - I bring up the Okular window, and find: It's empty!!

The following happened: The web browser automatically downloaded the PDF, saved
it to a temporary file, and passed that file to Okular instead of the original
URL. When closed, the browser deleted all it's temporary files. Okular
"reloaded" the now nonexisting file.
Now if I want to read the PDF, I need to close the Okular window, re-open the
browser and find and open the PDF link again, this time remembering not to
close the browser.
This is a rather annoying experience, and the fact that it now happened to me 3
times in a row (y'know, when I do online research I have other things on my
mind than constantly thinking about what window close will accidentally trigger
which file reload) caused me to finally report this issue...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list