[Okular-devel] [Bug 228196] New: Okular should not refresh file if it becomes unreadable

Ivo Anjo knuckles at gmail.com
Tue Feb 23 13:42:13 CET 2010


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

           Summary: Okular should not refresh file if it becomes
                    unreadable
           Product: okular
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: knuckles at gmail.com


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.

-- 
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