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
Please attach a sample file, reduce the size as much as possible without private information.
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.
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."
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?...
I tried also on Windows 10 with version 25.2.5 with user custom size and when changing dimensions automatically it changed ok.
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
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