Description: In LibreOffice Calc, the page won't be rotated in print settings, but inverted horizontally when selecting rotate page. Steps to Reproduce: 1. Open the print dialog 2. Select print settings 3. Choose rotate page Actual Results: Instead of rotating the page, the page is inverted like in the horizontally invert settings. Expected Results: It should rotate the page 90°, that's to say switching from portrait to landscape or from landscape to portrait. Reproducible: Always User Profile Reset: No Additional Info: This bug is back after every major updates and only happens on macOS. It is present in versions 24.2 to 24.8 and latest dev versions. Version: 24.2.6.2 (AARCH64) / LibreOffice Community Build ID: ef66aa7e36a1bb8e65bfbc63aba53045a14d0871 CPU threads: 8; OS: macOS 14.5; UI render: Skia/Raster; VCL: osx Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded
Created attachment 196573 [details] Print settings normal behaviour without options selected.
Created attachment 196574 [details] Print settings normal behaviour with the invert horizontally option selected
Created attachment 196575 [details] Print settings buggy behaviour with the invert horizontally option used when the rotate page option is selected
I don't think this is a bug. I just tried the same option (note: it's call "reverse page orientation" in English UI) in Safari and I see the same behavior as LibreOffice: the page contents rotate 180 degrees. Also, I don't think that this is something LibreOffice can control. IIRC, the Layout panel options in the native print dialog are applied by macOS after the application renders a page's content.
Not sure if it is related to this bug, but in tdf#163558 I am trying to get the "orientation" option to appear and work in the native print dialog. If I am able to get this option to work, switching between its "portrait" and "landscape" options should rotate the paper +/-90˚ and relayout the document to fit the new paper size and orientation. Note: for as long as I can remember the paper size, orientation, and scaling options were only accessible using the native Page Setup dialog but apparently they can now displayed in the native print dialog. Not sure when Apple made that change.