Bug 119470 - PRINTING "Distribute on multiple sheets of paper" doesn't work since update to
Summary: PRINTING "Distribute on multiple sheets of paper" doesn't work since update t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
: 130752 132423 (view as bug list)
Depends on:
Blocks: Print-Dialog
  Show dependency treegraph
Reported: 2018-08-24 07:17 UTC by Stefan Wessels
Modified: 2020-06-15 19:46 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:

file to reproduce the issue (7.95 KB, application/vnd.oasis.opendocument.graphics)
2018-08-30 23:15 UTC, Xisco Faulí

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Wessels 2018-08-24 07:17:52 UTC
The printing option in libreoffice draw for large sheets "Distribute on multiple sheets of paper" doesn't work any more.
Most probably it happened after update to version
Instead of distributing the drawing is downsized to fit the page.

Steps to Reproduce:
1.Create new sheet
2.Select - Page - Properties - Format:user
3.Select a large page size e.g. 1000 mm x 200 mm
4. Draw any figure e.g. large rectangle
5. Select - File - Print
6. Under LibreOffice Draw select "Distribute on multiple sheets of paper"

Actual Results:
Figure is distributed on several pages (4) but the size is reduced to fit page

Expected Results:
Figure should be printed in original size on several pages

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Xisco Faulí 2018-08-30 23:14:53 UTC
Regression introduced by:


author	Vasily Melenchuk <Vasily.Melenchuk@cib.de>	2017-12-12 11:32:06 +0300
committer	Thorsten Behrens <Thorsten.Behrens@CIB.de>	2018-01-23 17:01:31 +0100
commit	57991f885e60d04e93bf5004d4fdceee7d29f3d8 (patch)
tree	b4d98d7051eccf14e569f4df243e7192db5f187f
parent	c73f88de8bc6f892ff1215c5f634ff0bfca04553 (diff)
tdf#91362: Use document paper size for printing slides.
By default for priniting slides we use not default A4, but size provided
in slide properties.

Additinally renamed IsPageSize() -> IsPaperSize(): it is less ambiguous.

Bisected with: bibisect-linux64-6.1

Adding Cc: to Vasily Melenchuk
Comment 2 Xisco Faulí 2018-08-30 23:15:28 UTC
Created attachment 144565 [details]
file to reproduce the issue
Comment 3 Xisco Faulí 2019-01-24 12:45:22 UTC
This is fixed by the work done by Daniel Silva on the new print dialog.
See -> https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=cb443d07d54d6698eff51b5be2c6b56323f10315..bc0146c2ae43256552c276d2dd86291c98556c42

Build ID: 0d46fb02f3f19d11db40b6c5335d78a3894502d7
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded


Unfortunately, the fix can't be backported. We will need to wait until LibreOffice 6.3 is released...
Comment 4 Stefan Wessels 2019-08-08 11:02:30 UTC
Installed Version under debian linux testing.

Function for printing on multiple pages ist still not working.

Somehow multiple pages are shown inside the preview window.

However the slicing is done improper.

Too many sides generated with big overlaps.
Comment 5 Robert Großkopf 2019-08-26 14:26:29 UTC
Have tested this with LO on OpenSUSE 15 64bit rpm Linux.
Doesn't work. The print will give the whole content on the first page and parts of the content on the other pages.

The new dialog will show different content in the preview when scrolling through the page. 
I open the dialog and it shows in tab LibreOffice Draw when choosing "Distribute on multiple sheets of paper" the portrait-format of the paper A4 of my printer. The document has landscape format A2. The print-preview will print a A4 landscape-format on 2 A4 portrait-format-pages. I could see this when switching to the second page of preview. Going back to the first par shows the preview in landscape-format. It will print the A2-format on a A4-format page.

There isn't fixed a bug with this dialog. There were created new bugs.
Comment 6 Timur 2019-08-27 10:39:57 UTC
This was marked Linux but looks like the problem also in Windows. Test LO 6.4+.
Comment 7 Alexander 2019-11-15 05:43:38 UTC
Tested LO 6.4 on Linux and Windows. Bug is still there.
Comment 8 Andrea Gelmini 2020-02-28 13:12:59 UTC
(In reply to Xisco Faulí from comment #3)

Are you sure?
If I compile either or commit bc0146c2ae43256552c276d2dd86291c98556c42 (TIP of Daniel Silva patches), I see the same problem.

If I compile 
libreoffice- with reverted Vasily patch, it works like a charm.

I keep testing and let you know.

Comment 9 pierre-yves samyn 2020-03-11 09:09:29 UTC

Stills reproduced with Version: (x64)
Build ID: 4d224e95b98b138af42a64d84056446d09082932
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; 
UI render: default; VCL: win; 
Locale: fr-FR (fr_FR); UI-Language: en-US
Calc: CL

Comment 10 Buovjaga 2020-05-11 13:11:15 UTC
*** Bug 130752 has been marked as a duplicate of this bug. ***
Comment 11 Jean-Baptiste Faure 2020-05-23 16:19:09 UTC
This bug is a result of the fix for bug 91362. I asked (https://bugs.documentfoundation.org/show_bug.cgi?id=91362#c23) to revert this fix as it removes an useful functionality, but didn't get an answer.

Best regards. JBF
Comment 12 ace_dent 2020-06-15 19:46:39 UTC
*** Bug 132423 has been marked as a duplicate of this bug. ***