GNOME Bugzilla – Bug 748549
remember printing options
Last modified: 2018-05-22 16:14:11 UTC
This is essentially a duplicate of Bug 488806. Evince is remembering the number of copies printed from one document to the next. It was solved in 2007 (version 2.20) but I am seeing the same problem in version 3.14.2 in gentoo
mmm. could you please see if this happens with 3.14.1? I fixed another bug and probably introduced this regression in 3.14.2. If you can confirm that it works on 3.14.1 then I will be more certain about that.
so indeed my patch reverts a part of the patch in bug 488806. Reverting https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=51d44a9c55b55531fd85def559d237ed4685bab3 should work for you for the time being.
Created attachment 302495 [details] [review] shell: Never save n-copies in the print-settings file By default gtk_print_settings_to_key_file save all settings. When fixing https://bugzilla.gnome.org/show_bug.cgi?id=696203 we re-introduced https://bugzilla.gnome.org/show_bug.cgi?id=488806 for the number of copies. This happens because the code that saves the document print settings in the evince metadata deletes the document print settings from the key file. Thus, the fix for bug #696203 is not stricty correct because we still need to delete n-copies from the key_file. This patch fixes that.
Please note that if you are experience this bug, evince patched with the patch in comment 3 will reset to "1" copy after you print once so it can resave the print settings key file. You can work around this by opening the file ~/.config/evince/print-settings and removing the line containing n-copies =
Comment on attachment 302495 [details] [review] shell: Never save n-copies in the print-settings file Oops
Review of attachment 302495 [details] [review]: pushed to gnome-3-14, gnome-3-16 and master branches.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/594.