Bug 465899 - annotating and then saving pdf leaves corrupted file
Summary: annotating and then saving pdf leaves corrupted file
Status: RESOLVED DUPLICATE of bug 465898
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.12.2
Platform: Other Linux
: NOR critical
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-17 08:35 UTC by fell
Modified: 2023-02-17 09:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
archive containing both files (273.52 KB, application/gzip)
2023-02-17 08:37 UTC, fell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fell 2023-02-17 08:35:44 UTC
SUMMARY

apologies for missing punctuation, i am struggling with the qmlkeyboard in chrome

device; samsung galaxy tab a 9.7 2015 arm64
os; postmarketos edge
de; plasma mobile nightly from sineware.ca

when saving a pdf file with annotations in okular, the file becomes corrupted.

i attached two pdfs to show the state before and after

STEPS TO REPRODUCE
1. open 'original' pdf
2. use green highlighter to highlight text
3. select file - save

OBSERVED RESULT
okular displays an error message; could not open file

EXPECTED RESULT
okular should read the file with annotations


SOFTWARE/OS VERSIONS
Windows:
Linux/KDE Plasma: plasma mobile nightly 
(available in About System)
KDE Plasma Version: 5.27.80 nightly from sineware.ca
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
i attached the original and broken file for analysis
Comment 1 fell 2023-02-17 08:37:27 UTC
Created attachment 156353 [details]
archive containing both files
Comment 2 Paul Worrall 2023-02-17 09:31:51 UTC

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