Created attachment 153665 [details]
Open the document. Shows the screenshots for the reported bug
Open the attached document and have a look at the different preview in the dialog for printing with draw since LO 188.8.131.52.
(Sorry for the big screenshots - but the dialog isn't sizeable in GTK3 and fills nearly the whole screen ... another bug).
I have tried to print a page with user-defined 564 mm width and 400 mm height. The dialog sets Page Layout to A4. Values between print preview (356mm/216mm) and A4 (297mm/210mm)doesn't match.
Changed to tab LibreOffice Draw. Changed Size → Distribute on multiple sheets of paper. Preview shows format A4 portrait. The content "Schnellbahnnetz" is shown as format A4 landscape.
Switched to the second paper. It will be shown A4 landscape. The content will also been shown as A4 landscape, but it is (in the document) defined as nearly A2, which is about 4*A4!
Page 3 shows a part of the "Schnellbahnnetz" in A4-landscape. This part is also shown in page 1 and page 2, but it will be originally printed so.
Page 4 will show a part, which is printed in page 3 also.
Back to page 1 now. It will show the right values for A4-landscape and the whole content of "Schnellbahnnetz", which is 564 mm width and 400 mm height. It will be printed as 297 mm width and 210 mm height.
You will get one page, which prints the whole content (as "Fit to printable page") and 3 pages, which will show diffent parts of the first page in the same size, which is much too small.
All tested with LO 184.108.40.206 an OpenSUSE 15 64bit rpm Linux.
Created attachment 157815 [details]
Example Draw document in A2 size
Tried to create a similar example file.
Selecting different options on the LO Draw page of the Print dialog results in the preview page size being reset to A4 no matter the document page size.
Proposed patch: https://gerrit.libreoffice.org/c/core/+/88530
Note, this bug is about several problems. This only fixes the page size being reset to A4 when selecting a sizing option.
The "Distribute on multiple sheets of paper" and "Tile sheet of paper with repeated slides" options still work in funny ways.
Distribute always tries with distributing to 4 sheets, even if document page size == printer page size and when document page size is twice the printer page size (like printing an A2 document to A3 paper - won't try to pring to 2 but 4 A3 pages).
Created attachment 157816 [details]
Print dialog in 6.4 and in my local build
Opening my example document in 6.4 and in my local build, and selecting "Fit to printable page" option.
*** Bug 129990 has been marked as a duplicate of this bug. ***
Kelemen Gábor committed a patch related to this issue.
It has been pushed to "master":
tdf#127167 Do not reset Draw/Impress page size
It will be available in 7.0.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:
Affected users are encouraged to test the fix and report feedback.
Don't know what should be
"Do not reset Draw/Impress page size".
When I open the same document as created for the bug I could see directly a difference between preview and paper-size. The preview shows 356*216mm, the paper-size shows 210*297mm.
All the other buggy behavior still exists with
Build ID: fef40fd13ec1739f5308d1ff3bcc2291e7a5d96f
CPU threads: 6; OS: Linux 4.12; UI render: default; VCL: kf5;
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-02-22_03:27:06
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Only changed behavior: When I set
Changed Size → Distribute on multiple sheets of paper
the wrong paper-size from the start of the dialog is almost there: Legal instead of DIN A4.
A polite ping to Gabor Kelemen:
Is this bug fixed? if so, could you please close it as RESOLVED FIXED ?
Otherwise, Could you please explain what's missing?
Dear Gabor Kelemen,
This bug has been in ASSIGNED status for more than 3 months without any
activity. Resetting it to NEW.
Please assign it back to yourself if you're still working on this.