Bug 158614 - Paper size in Print dialog different from Page format Envelope #10
Summary: Paper size in Print dialog different from Page format Envelope #10
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Envelope
  Show dependency treegraph
 
Reported: 2023-12-09 09:33 UTC by raal
Modified: 2024-02-19 08:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2023-12-09 09:33:31 UTC
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
Comment 1 raal 2023-12-09 09:35:09 UTC
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
Comment 2 Buovjaga 2023-12-21 12:06:32 UTC
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.
Comment 3 Caolán McNamara 2023-12-21 15:11:27 UTC
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
Comment 4 Raúl Osuna 2023-12-29 14:55:43 UTC
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
Comment 5 Stéphane Guillou (stragu) 2024-02-19 08:07:22 UTC
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?