[okular] [Bug 408774] New: Okular refuses to save document when original file has been (re)moved or changed

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Jun 16 12:22:02 BST 2019


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

            Bug ID: 408774
           Summary: Okular refuses to save document when original file has
                    been (re)moved or changed
           Product: okular
           Version: 1.7.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: grmat at sub.red
  Target Milestone: ---

SUMMARY

An opened file can't be saved to a new location once the original file has been
(re)moved or changed.

This often happens for "temporary" files directly opened from a web browser or
mail client.



STEPS TO REPRODUCE
1. Browse the web, open a PDF file in Okular directly from the browser (which
usually results in the file stored into /tmp)
2. Fill a form or annotate the file
2. Close the browser (which results in deletion of the file*)
4. try to save the annotated file to a new location (save-as)

*as opposed to overwriting the original file, this doesn't even trigger a
warning inside Okular



OBSERVED RESULT
Okular shows a pop-up:

The file 'test.pdf' has been modified by another program, which means it can no
longer be saved.

and refuses to save the file. The work is lost, even though it's still there,
right in front of the user's eyes.



EXPECTED RESULT
The modified file can still be saved to a new location


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.16.0-1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list