Created attachment 205811 [details] A sample configured as Landscape Letter Create a Calc document. Configure page style (Format -> Page Style) to be landscape. Add some text to some cells. File->Print to open Print dialog. The preview shows the page landscape, as expected. Now change printer. Expected: the preview shows the landscape page with newly selected printer, as it did initially. Actual: the page is now shown portrait. The attachment has page style configured Landscape Letter, with some text and some borders, to see the result easily.
https://gerrit.libreoffice.org/c/core/+/200456
Waiting for this patch to land. A lot of different bugs could be solved by this.
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b7957bf31e05dc55015e41c9dfcaa7e26b533eef tdf#171041: avoid setting mbUsePrintSetting for automatic orientation It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Resolved in Version: 26.8.0.0.alpha0+ (X86_64) Build ID: b7957bf31e05dc55015e41c9dfcaa7e26b533eef CPU threads: 16; OS: Linux 6.17; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Bad in Version: 26.2.0.3 (X86_64) Build ID: afbbd0df0edb6d40b450b0337ac646b0913a760c CPU threads: 16; OS: Linux 6.17; UI render: default; VCL: gtk3 Locale: ro-RO (en_US.UTF-8); UI: en-US Calc: threaded Thanks, Mike.
*** Bug 164088 has been marked as a duplicate of this bug. ***
*** Bug 165592 has been marked as a duplicate of this bug. ***
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/2a0fa8b18afe6446b8e801a182ea0e8144291861 tdf#171041: avoid setting mbUsePrintSetting for automatic orientation It will be available in 25.8.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-26-2": https://git.libreoffice.org/core/commit/88f0dfc4baa421e24ab0650b384d95ed0a19d30c tdf#171041: avoid setting mbUsePrintSetting for automatic orientation It will be available in 26.2.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 171051 has been marked as a duplicate of this bug. ***
*** Bug 171364 has been marked as a duplicate of this bug. ***
(In reply to Commit Notification from comment #7) > Mike Kaganski committed a patch related to this issue. > It has been pushed to "libreoffice-25-8": > > https://git.libreoffice.org/core/commit/ > 2a0fa8b18afe6446b8e801a182ea0e8144291861 > > tdf#171041: avoid setting mbUsePrintSetting for automatic orientation > > It will be available in 25.8.6. > > The patch should be included in the daily builds available at > https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More > information about daily builds can be found at: > https://wiki.documentfoundation.org/Testing_Daily_Builds > > Affected users are encouraged to test the fix and report feedback. Tested with LibreOfficeDev_25.8.7.0.0_Win_x86-64.msi and can confirm that the described issue did not occur!