Bug Hunting Session
Bug 119470 - PRINTING "Distribute on multiple sheets of paper" doesn't work since update to 6.1.0.3
Summary: PRINTING "Distribute on multiple sheets of paper" doesn't work since update t...
Status: REOPENED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Print-Dialog
  Show dependency treegraph
 
Reported: 2018-08-24 07:17 UTC by Stefan Wessels
Modified: 2019-08-27 10:39 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


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

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
Description:
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  6.1.0.3
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:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=57991f885e60d04e93bf5004d4fdceee7d29f3d8

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

Version: 6.3.0.0.alpha0+
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

Closing as RESOLVED FIXED

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 6.3.0.2 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 6.3.0.4 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+.