Download it now!
Bug 99183 - Changing slide orientation in print options not OK in virtual printers (per comment 10)
Summary: Changing slide orientation in print options not OK in virtual printers (per ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 117552 (view as bug list)
Depends on:
Blocks: Print-Dialog
  Show dependency treegraph
 
Reported: 2016-04-09 15:12 UTC by Yousuf Philips (jay) (retired)
Modified: 2020-03-05 13:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file to reproduce the problem (10.69 KB, application/vnd.oasis.opendocument.presentation)
2020-02-14 11:27 UTC, Gabor Kelemen
Details
Print dialog with the example file in current master (153.64 KB, image/png)
2020-02-14 11:29 UTC, Gabor Kelemen
Details
The example file printed to PDF with PDF24 (19.81 KB, application/pdf)
2020-02-14 11:30 UTC, Gabor Kelemen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-04-09 15:12:14 UTC
Steps:
1) Open https://cgit.freedesktop.org/libreoffice/core/plain/sd/qa/unit/data/AllTransitions.odp
2) Click print and notice the page size is A4
3) Change Document from Slides to Notes and notice the page size is now Letter
4) Change Document from Notes to Slides and it is still Letter
5) Change Document from Slides to Notes and see the incorrectly oriented preview that is landscape rather than portrait

Workaround: Click another printer

Source: http://youtu.be/bCbpKxrR-jI?t=4m31s

Version: 5.2.0.0.alpha0+
Build ID: 02fb3fd0533222dfea5b6b9232425a5e28cd340f
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:master, Time: 2016-03-29_06:02:35
Locale: en-US (en_US.UTF-8)
Comment 1 JPJ 2016-04-15 21:36:27 UTC
Problem somewhat different here and does not occur until selecting a different printer.

1) Open https://cgit.freedesktop.org/libreoffice/core/plain/sd/qa/unit/data/AllTransitions.odp
2) Click print and the page size in the preview pane is Letter
3) Change Document from Slides to Notes and the page size is still Letter
4) Change Document from Notes back to Slides and it remains Letter
5) Change Document from Slides back to Notes and and it remains Letter still
6) Select another printer and the preview switches to portrait orientation

Version: 5.2.0.0.alpha0+
Build ID: 5a4b01f63d3f2a7d7d6fa8cf9ca6a328c5da7a6a
CPU Threads: 4; OS Version: Linux 3.13; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-04-08_03:24:58
Locale: en-US (en_US.UTF-8)
OS: Kubuntu 14.04.4
Comment 2 QA Administrators 2017-05-22 13:24:54 UTC Comment hidden (obsolete)
Comment 3 Timur 2019-11-22 09:36:34 UTC
I reproduced with 5.2 but not now with 6.5+. Guess due to new print dialog.
Now page size is A4 all the time. So literally this is WFM.

But there's another issue, Automatic orientation of Portrait is not correct.
In my case, with all printers and regardless of Orientation, it's wrong.
Comment 4 Timur 2019-11-22 09:54:09 UTC
*** Bug 117552 has been marked as a duplicate of this bug. ***
Comment 5 Timur 2019-11-22 10:14:03 UTC
Steps to Reproduce:
1. Open the presentation (from this bug or  bug 37924), go to the print dialog. Observe Automatic orientation that's Portrait (if you would expect Landscape).
2. Change Orientation to Portrait. Observe Landscape.
3. Change Orientation to Landscape. Observe Portrait that's not correct size.
4. Change Orientation to Automatic. Observe no change.
Comment 6 Gabor Kelemen 2020-02-14 11:27:10 UTC
Created attachment 157856 [details]
Example file to reproduce the problem

I could reproduce the problem in comment #5 with this simple example file with 12 x 18 cm custom slide size, but not with the example files.
Comment 7 Gabor Kelemen 2020-02-14 11:29:01 UTC
Created attachment 157857 [details]
Print dialog with the example file in current master

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 2ce99d12771407631288af5a12fe2165ae3599d8
CPU threads: 8; OS: Windows 10.0 Build 17134; UI render: GL; VCL: win; 
Locale: en-US (hu_HU); UI-Language: en-US
Calc: CL

Already happens in 

Verzió: 6.1.0.3
Build az.: efb621ed25068d70781dc026f7e9c5187a4decd1
CPU szálak: 8; OS: Windows 10.0; Felületmegjelenítés: GL; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

But not in

Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU szálak: 8; OS: Windows 10.0; Felületmegjelenítés: GL; 
Területi beállítások: hu-HU (hu_HU); Calc: CL
Comment 8 Gabor Kelemen 2020-02-14 11:30:41 UTC
Created attachment 157858 [details]
The example file printed to PDF with PDF24

The result also does not match the preview: the text is rotated, but the page is oriented landscape.
Comment 9 Gabor Kelemen 2020-02-14 12:58:30 UTC
Latest problem bibisected with bibisect-win32-6.1 to:

https://gerrit.libreoffice.org/plugins/gitiles/core/+/57991f885e60d04e93bf5004d4fdceee7d29f3d8

author	Vasily Melenchuk <Vasily.Melenchuk@cib.de>	Tue Dec 12 11:32:06 2017 +0300
committer	Thorsten Behrens <Thorsten.Behrens@CIB.de>	Tue Jan 23 17:01:31 2018 +0100

tdf#91362: Use document paper size for printing slides.
Comment 10 Timur 2020-03-05 13:15:02 UTC
I reproduce with 7.0+ from 14.02., only for virtual printer (physical is OK):

1. Open the presentations from this bug, go to the print dialog. Observe Automatic orientation that's correct Landscape. (unlike before)
2. Change Orientation to Portrait. Observe Landscape.
3. Change Orientation to Landscape. Observe Portrait that's not correct size.
4. Change Orientation to Automatic. Observe no change.

Note: I don't reproduce with attachment 157159 [details] from bug 130007, that looks similar.