Description: Paper size in Print dialog is not the same as in Page format Steps to Reproduce: Open attachment 138887 [details] See the format page / Envelope #10 Click print button Paper size = A4 Actual Results: Paper size = A4 Expected Results: Paper size = Envelope #10 Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 0f82e9d42822e627edd1fb3b3c87e1f8a22136a4 CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
This seems to have begun at the below commit in bibisect repository/OS linux-64-7.5. Adding Cc: to Caolán McNamara ; Could you possibly take a look at this one? Thanks fd0996ef355d3b2a3e87be9390acdee24c2b2e2c is the first bad commit commit fd0996ef355d3b2a3e87be9390acdee24c2b2e2c Author: Jenkins Build User <tdf@pollux.tdf> Date: Thu Sep 22 19:45:04 2022 +0200 source 6005aeca4416eb0d583fd12ab837afa91d9d18ec 140358: tdf#151107 swap job orientation if paper matching swapped width/height | https://gerrit.libreoffice.org/c/core/+/140358
Can this depend on the system somehow? I can't reproduce on Win or Linux, not even by running commit fd0996ef355d3b2a3e87be9390acdee24c2b2e2c in linux-64-7.5 repo. Same result with generic printer or a real printer driver.
It could have some trigger based on the "ppd" belonging to the printer, there is a variable SAL_CUPS_PPD_RETAIN_TMP IIRC to keep what ppd was downloaded from the cups server I think. I have seen cases, which might be nothing to do with this problem, where there was slightly "off" paper sizes, especially in the more unusual paper sizes, from the expected ones
Works fine for me in the example provided: Version: 7.6.4.1 (X86_64) / LibreOffice Community Build ID: 60(Build:1) CPU threads: 16; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb) Locale: es-ES (es_ES.UTF-8); UI: es-ES Calc: threaded
No repro with: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 5a4ab8cb3a3fbf15de11afc5d8876aaa8a7784c9 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded and a Brother MFC L2750DW. Which printer and driver, Raal?