Bug 161577 - Bad page orientation with custom page style (Landscape) when printing
Summary: Bad page orientation with custom page style (Landscape) when printing
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 19:14 UTC by jeremy.d
Modified: 2024-06-21 01:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test file (11.96 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-06-20 23:11 UTC, jeremy.d
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jeremy.d 2024-06-14 19:14:27 UTC
Description:
Having some sheets in landscape and some in portrait will result in bad print preview and PDF (not tested on actually printing because $).

All (or most) sheets are then printed in landscape

Steps to Reproduce:
1. Create a Calc document with multiple sheets (5-6)
2. Create a page style with orientation set to Landscape
3. Assign that new page style to sheet 3
4. Try to print to PDF (Not export to PDF)

Alternative

1. Create a Calc document with multiple sheets (5-6)
2. Create a page style with orientation set to Landscape
3. Assign that new page style to sheet 3
4. Open the print dialog
5. Navigate to Page 3 in the preview (that is in landscape)
6. Go back to page 1, that page is now in landscape
7. Print

Actual Results:
After printing, Sheet 3 and all pages following it are in landscape

Alternative
All pages are in landscape.

Expected Results:
Only Sheet 3/Page 3 is in landscape orientation


Reproducible: Always


User Profile Reset: No

Additional Info:
The print preview have a similar issue. On the print dialog box, when browsing pages and going over a landscape page will result in the preview showing all pages as landscape.

I noticed I had a hard time making only one sheet with a specific page style. Double-clicking on a style would often result in all sheets having the selected style. But I didn't try to reproduce on a clean document yet.

I cannot reset the UserProfile as there is no "Help" menu.


Version: 24.2.4.2 (X86_64)
Build ID: 420(Build:2)
CPU threads: 24; OS: Linux 6.8; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-US (en_CA.UTF-8); UI: en-US
Calc: threaded
Comment 1 jeremy.d 2024-06-14 19:40:31 UTC
I was able to "reset" by deleting my user folder manually, all problems persists.
Comment 2 m_a_riosv 2024-06-15 14:09:35 UTC
Please attach a sample file, reduce the size as much as possible without private information.
Comment 3 jeremy.d 2024-06-20 23:11:48 UTC
Created attachment 194870 [details]
Test file

Pages in portrait and landscape.
All pages following the landscape page are also in horizontal when printing to PDF.
Comment 4 m_a_riosv 2024-06-21 00:32:33 UTC
Works for me with in the print box view, and exporting as PDF.
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
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

If you change the user interface to Standard, you can see the Help menu.
Comment 5 jeremy.d 2024-06-21 01:07:10 UTC
Yes, as stated before, I was able to clear the directory manually :)
LibreOffice Online help said it was doing the same thing, or is it a mistake ?

I should point out that this occurs on 3 different LO instances. 2 on fedora and 1 on Windows.