Bug 168339 - inversion of portrait and lanscape formats in calc page style
Summary: inversion of portrait and lanscape formats in calc page style
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-10 06:55 UTC by christine.vincent1
Modified: 2025-10-10 21:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (52.36 KB, image/png)
2025-09-13 05:25 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christine.vincent1 2025-09-10 06:55:50 UTC
Description:
The selection of page style does the contrary to what is actually should do: if I select the portrait format, the sheet is set on landscape format and vice versa.

Steps to Reproduce:
1. display a document in Calc
2. go to "format", select "page style" and select "page"
3. in the "orientation" field, tick the desired format: portrait or landscape

Actual Results:
When "portrait" is selected, the sheet is displayed in the landscape format, and when "landscape" is selected, the sheet is displayed in the portrait format.

Expected Results:
When "portrait" is selected, the sheet should be displayed in the portrait format, and when "landscape" is selected, the sheet should be displayed in the landscape format.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 6; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 1 m_a_riosv 2025-09-10 22:08:06 UTC
Please attach a sample file, reduce the size as much as possible without private information.
Comment 2 BogdanB 2025-09-12 18:51:59 UTC
Is very important the moment when it is displayed wrong: in the preview (in the dialog where you change from landscape/portrait) or when trying to print, from File - print dialog? If it is the second answer it is a known bug.
Comment 3 BogdanB 2025-09-13 05:25:13 UTC
Created attachment 202813 [details]
screenshot

Screenshot received from reporter.

"Attached is a screenshot of what happens when I want to select the page format in "Calc".
It is in the dialog box. Not when trying to print.
As you can see, the "portrait" option is ticked, and yet the preview shows landscape."
Comment 4 BogdanB 2025-09-13 05:30:05 UTC
In version 25.8.1 is ok, is changing from one to another when the width is greater than the height, or reverse. 

Maybe just Windows?...
Comment 5 BogdanB 2025-09-13 05:32:51 UTC
I tried also on Windows 10 with version 25.2.5 with user custom size and when changing dimensions automatically it changed ok.
Comment 6 BogdanB 2025-09-13 05:37:09 UTC
I found a similar bug, that was solved in 26.2 version, but it is about Writer:
https://bugs.documentfoundation.org/show_bug.cgi?id=165748
Comment 7 raal 2025-10-10 21:47:07 UTC
No repro with Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8ea8e254a3151f5390f3a10ff156fcaf8e7c5d5c
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded