summaryrefslogtreecommitdiff
path: root/test/test5.py
diff options
context:
space:
mode:
authorGermán Poo-Caamaño <[email protected]>2017-10-03 08:59:30 -0300
committerVictor Kareh <[email protected]>2026-03-11 14:58:19 -0400
commitd83ac7788e1ee6375a646269e9e83019164aef81 (patch)
treeb616a0960d280f7c36900280977e339fb809bfcc /test/test5.py
parent8083632def77040322419538db09617d509d1cfc (diff)
downloadatril-master.tar.bz2
atril-master.tar.xz
pdf: Always use poppler_document_save to avoid data lossHEADmaster
We used to use two methods to save a document: poppler_document_save and poppler_document_save_a_copy. The latter only saves a copy of the original document, discarding any change done (e.g. forms and annotations). However, after a document has been modified and saved, if there is no new change and the user saves the document, it will discard even the previous saved changes to preserve a copy of the original document. By only using poppler_document_save to save the content of the current document opened in Atril, to avoid data loss made between saves. https://bugzilla.gnome.org/show_bug.cgi?id=770012 Adapted from the original commit at: https://gitlab.gnome.org/GNOME/evince/-/commit/26dc2f52 Co-authored-by: Eric Park <[email protected]>
Diffstat (limited to 'test/test5.py')
0 files changed, 0 insertions, 0 deletions