Bug 465898 - annotating and then saving pdf leaves corrupted file
Summary: annotating and then saving pdf leaves corrupted file
Status: REPORTED
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:
: 465899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-17 08:32 UTC by fell
Modified: 2023-02-17 09:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
archive containing both files (273.52 KB, application/gzip)
2023-02-17 08:32 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:32:28 UTC
Created attachment 156352 [details]
archive containing both files

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 Paul Worrall 2023-02-17 09:31:51 UTC
*** Bug 465899 has been marked as a duplicate of this bug. ***