Bug 99183 - Multiple changing print options from Slides to Notes wrongs page orientation
Summary: Multiple changing print options from Slides to Notes wrongs page orientation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha0+
Hardware: All All
: low 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: 2022-09-30 09:44 UTC (History)
5 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 (allotropia)
Details
Print dialog with the example file in current master (153.64 KB, image/png)
2020-02-14 11:29 UTC, Gabor Kelemen (allotropia)
Details
The example file printed to PDF with PDF24 (19.81 KB, application/pdf)
2020-02-14 11:30 UTC, Gabor Kelemen (allotropia)
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 (allotropia) 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 (allotropia) 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 (allotropia) 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 (allotropia) 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.
Comment 11 Justin L 2021-11-24 10:05:50 UTC
(In reply to Gabor Kelemen (allotropia) from comment #9)
> Latest problem bibisected with bibisect-win32-6.1...
That commit has been reverted today, so please test again and see if there is anything still remaining to be done.
Comment 12 Telesto 2022-09-27 12:29:17 UTC
Repro for comment 0
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d3050ff4a1355f7ebd3d4e7ddc8fb64f2b8894dd
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

@Timur
I don't repro comment 10, but I do repro comment 0
Comment 13 Timur 2022-09-28 13:40:29 UTC
Also reproduced only Comment 0, which is for Preview. 

3) Yes. But Slide properties on Notes show it's really Letter. 
4) Yes, probably wrong. Not much relevant that Slides is Letter in Preview. 
5) Yes, wrong, this is the bug. But fixable with Portrait/Automatic.

So I set Low.