Bug 436185

Summary: Option to change default scale mode when printing new documents
Product: [Applications] okular Reporter: steamer25
Component: printingAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist CC: nate, ybeltukov
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.