Bug 228196 - Okular should not refresh file if it becomes unreadable
Summary: Okular should not refresh file if it becomes unreadable
Status: RESOLVED DUPLICATE of bug 225907
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-23 13:42 UTC by Ivo Anjo
Modified: 2010-02-23 20:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivo Anjo 2010-02-23 13:42:10 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    openSUSE RPMs

Okular has an excellent feature: it automatically notices changes to opened files and re-loads them.

Unfortunately this feature has a bug: if the new file is somehow unreadable, it means the "old" file is lost.

For example if I open a pdf file, and then using the shell or dolphin I take away its read permissions, okular automatically reloads to an empty window, which I think is a bug -- it should not unload the old file until it is sure that there is still something to be displayed.

Another example is using open-with within firefox: firefox saves a file to /tmp, and then opens okular. If you then close firefox, it cleans the file in /tmp, and the okular window becomes empty too.
Comment 1 Albert Astals Cid 2010-02-23 20:11:26 UTC

*** This bug has been marked as a duplicate of bug 225907 ***