Bug 158249 - Document with one landscape page doesn't switch back to portrait when PRINTING.
Summary: Document with one landscape page doesn't switch back to portrait when PRINTING.
Status: RESOLVED DUPLICATE of bug 85094
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2023-11-16 18:42 UTC by John Jackson
Modified: 2024-04-29 13:46 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT file generated by steps 1-7. Third page prints landscape but portrait in preview. (9.25 KB, application/vnd.oasis.opendocument.text)
2023-11-17 12:43 UTC, John Jackson
Details
Print to Microsoft PDF, this file also prints page 3 as landscape. (77.16 KB, application/pdf)
2023-11-17 12:44 UTC, John Jackson
Details
LO export direct to PDF, this file prints correctly. (20.90 KB, application/pdf)
2023-11-17 12:44 UTC, John Jackson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Jackson 2023-11-16 18:42:44 UTC
Description:
Had a report with one landscape page. Looks OK in print preview but when printed all sheets after the landscape page are printed in landscape. Printing to Microsoft PDF gives a document which has the same problem, but Export As:Export Directly as PDF gives a document which will print correctly. So the Libre Office PDF exporter is likely sending correct printing information but not the printing routine. 

Steps to Reproduce:
1. Start Writer with blank document.
2. Type "Portrait."
3. Insert:More Breaks:Manual Break:Page Break (Page Style Landscape).
4. Type "Landscape."
5. Insert:More Breaks:Manual Break:Page Break (Page Style Default Page Style).
6. Type "Portrait."
7. Print. The third page will print in landscape mode (and any later pages). 

Actual Results:
All pages in a long report after the single landscape page print in landscape.

Expected Results:
As print preview shows, after printing the landscape page it should switch back to portrait printing. I recall this used to work in Open Office many years ago. 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
The only workaround I could find is Export As:Export Directly as PDF. This PDF will print correctly but not one made by Print:Microsoft PDF. Entering breaks by creating the page first and using right-click Paragraph as described here has the same issue: https://wiki.documentfoundation.org/images/c/c0/WG60-WriterGuideLO.pdf#page=139. I only had one printer to test this on, Xerox-C8135 PS.
Comment 1 m_a_riosv 2023-11-16 21:38:54 UTC
Please attach a sample file, and paste the information in Menu/Help/About LibreOffice, there is an icon to copy.
Comment 2 John Jackson 2023-11-17 12:43:17 UTC
Created attachment 190888 [details]
ODT file generated by steps 1-7. Third page prints landscape but portrait in preview.
Comment 3 John Jackson 2023-11-17 12:44:08 UTC
Created attachment 190889 [details]
Print to Microsoft PDF, this file also prints page 3 as landscape.
Comment 4 John Jackson 2023-11-17 12:44:48 UTC
Created attachment 190890 [details]
LO export direct to PDF, this file prints correctly.
Comment 5 John Jackson 2023-11-17 12:46:38 UTC
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 6 m_a_riosv 2023-11-17 16:21:40 UTC
Reproducible with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5fe2bf914c251009ec4709fa8fdc45c3b53f676b
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Last working for me
Version 3.6.7.2 (Build ID: e183d5b)

The first where I see the issue
Version: 4.4.7.2 Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: es_ES
Comment 7 gmolleda 2024-02-07 07:40:04 UTC
The error is if the page type is Letter, because if you use A4 the print is correct.
In version LO 3.3 is well.
Comment 8 gmolleda 2024-02-07 07:41:32 UTC
You don't need print, only view the preview in the windows where you choice the printer (not in preview print).
Comment 9 B. Antonio Fernández 2024-02-09 18:36:32 UTC
Reproducible in Letter pages, not in A4

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded

Version: 7.5.9.2 (X86_64) / LibreOffice Community
Build ID: cdeefe45c17511d326101eed8008ac4092f278a9
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: es-ES
Calc: CL threaded
Comment 10 Stéphane Guillou (stragu) 2024-04-29 06:16:40 UTC
Looks like the same regression as bug 85094.

*** This bug has been marked as a duplicate of bug 85094 ***