Bug 436185 - Option to change default scale mode when printing new documents
Summary: Option to change default scale mode when printing new documents
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-25 20:29 UTC by steamer25
Modified: 2021-11-25 13:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steamer25 2021-04-25 20:29:15 UTC
SUMMARY
After opening a new document in a new process/instance of Okular, the default print scaling mode reverts to 'Fit to printable area'. I'd like to set the default as a user preference so that e.g., 'None; print original size' is automatically selected when I open the print dialog.

The print dialog options seem to be set in this file e.g., here: https://github.com/KDE/okular/blob/0906d5ea0abce3de3a61719a3c5348a974686ce7/generators/poppler/generator_pdf.cpp#L1257

https://github.com/KDE/okular/blob/0906d5ea0abce3de3a61719a3c5348a974686ce7/generators/poppler/generator_pdf.cpp#L104-L106

I'm not sure how to tie that into user preferences offhand.