Bug 431654 - Windows: Can't save edited DjVu and epub files
Summary: Windows: Can't save edited DjVu and epub files
Status: RESOLVED DUPLICATE of bug 431717
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-15 20:25 UTC by DjViewer
Modified: 2022-01-21 13:28 UTC (History)
4 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 DjViewer 2021-01-15 20:25:30 UTC
SUMMARY

On MS Windows 10, Okular cannot save .okular files for edited DjVu and epub files.

STEPS TO REPRODUCE
1. Open DjVu or epub file
2. Make an annotation
3. Attempt to save the document as a .okular file

OBSERVED RESULT

An error appears, such as this: File could not be saved in 'C:/Users/___/AppData/Local/Temp/okular.kKTmaU'. Try to save it to another location.

EXPECTED RESULT

A .okular document archive should be created.

SOFTWARE/OS VERSIONS
Windows: 10 build 1903


ADDITIONAL INFORMATION

Okular is most likely trying to overwrite a temporary file which it is already using, which is forbidden by NTFS.
Comment 1 DjViewer 2021-01-15 20:26:42 UTC
By the way I have tested this with Windows builds 164 and 591.
Comment 2 Albert Astals Cid 2022-01-21 13:28:18 UTC

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