diff options
author | Germán Poo-Caamaño <[email protected]> | 2017-05-12 10:54:37 -0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-26 23:03:18 +0200 |
commit | 91d5b0f695948b84d67ff3c0a2e6cedd010cac76 (patch) | |
tree | 43e8bc37c5ea45ca5568dfb3af6d9b53708b032e /backend/xps | |
parent | f4b9c800c5121888e90098311257a366a5dab69d (diff) | |
download | atril-91d5b0f695948b84d67ff3c0a2e6cedd010cac76.tar.bz2 atril-91d5b0f695948b84d67ff3c0a2e6cedd010cac76.tar.xz |
shell: Save document to the same path it was opened from
When annotating or filling a form in a document, this must be saved
as a different document as atril does not overwrite documents.
The user can expect to store the modified file in the same place
than the original document, except when the document lives in
a temporary directory (e.g. downloaded automatically with a web
browser), in whose case it must fallback to the Documents
directory (if set) or the the home directory.
Previously, atril assumed the latest directory used, or the place
where an image or attachment was stored last. Such behaviour is
confusing because the latest place opened might have no relation
with the document modified.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=767611
Adapted from https://gitlab.gnome.org/GNOME/evince/commit/319a6d49
Diffstat (limited to 'backend/xps')
0 files changed, 0 insertions, 0 deletions