Bug 98307 - Writer inserts blank pages in form letters
Summary: Writer inserts blank pages in form letters
Status: RESOLVED DUPLICATE of bug 101452
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Mail-Merge
  Show dependency treegraph
 
Reported: 2016-03-01 16:24 UTC by Stéphane Aulery
Modified: 2016-10-05 20:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT template to reproduce (1.48 MB, application/vnd.oasis.opendocument.text)
2016-03-01 16:25 UTC, Stéphane Aulery
Details
ODS file to reproduce (15.05 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-03-01 16:26 UTC, Stéphane Aulery
Details
Merged single page result (1.46 MB, application/vnd.oasis.opendocument.text)
2016-10-05 11:27 UTC, Jan-Marek Glogowski
Details
Merged multiple page result (1.46 MB, application/vnd.oasis.opendocument.text)
2016-10-05 18:42 UTC, Jan-Marek Glogowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Aulery 2016-03-01 16:24:22 UTC
Reported in Debian by Gary Dale <gary@extremeground.com> on version 4.0.3. I can reproduce it with LO 5.0.1.3 on Windows 7. In addition I have a nice crash at the end of the save process of the merged document to a file:

    SEH Exception: ACCESS VIOLATION

--------------------------------------------------------------------------------

His report :

When I try to create things like numbered tickets using a custom label definition (5 to a page) with numbers printed on them (so that the first ticket is 1, the second is 11, then 21, etc. down the page), using a 5 column spreadsheet (for example), the first page prints correctly then I get a blank page then I get the colours messed on the next page, etc..

I can print the "form letter" one page at a time, the tickets print correctly. This is slow and error prone since I have to select each line in the spreadsheet individually, print it then go back to the print dialog to print the next page.

The messed up colours on subsequent pages makes simply removing the extra blank pages a poor solution. The fact that the print dialog seems to know that it's printing more pages than it should (i.e. 2 * n - 1) is also interesting.
Comment 1 Stéphane Aulery 2016-03-01 16:25:54 UTC
Created attachment 123108 [details]
ODT template to reproduce
Comment 2 Stéphane Aulery 2016-03-01 16:26:27 UTC
Created attachment 123109 [details]
ODS file to reproduce
Comment 3 Buovjaga 2016-03-03 17:36:30 UTC
Setting to NEW as confirmed on the Deb tracker.

Do test with 5.1.1, to see, if the crash went away.
Comment 4 Jan-Marek Glogowski 2016-10-05 11:27:04 UTC
Created attachment 127822 [details]
Merged single page result
Comment 5 Jan-Marek Glogowski 2016-10-05 18:42:28 UTC
Created attachment 127829 [details]
Merged multiple page result
Comment 6 Jan-Marek Glogowski 2016-10-05 20:59:33 UTC
Please don't report multiple bugs in a single report.
And it would be nice to see a broken minimal MM result.

I've attached a broken one myself, but this seems to have general problems with the embedded PNG image, but otherwise is correct. I'll open a new bug report for the PNG problem.

For an explanation of the empty pages see the duplicate bug report.

If you still get the crash on Windows 7, open a new report.

Can you try to reproduce the crash using a daily build available at
http://dev-builds.libreoffice.org/daily/master/ ? More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

For this kind of work, LO has a label generator (File -> New ->Lables). No need to seperate the numbers into columns, as you can use multiple datasets per page. Use synchronized labels, so you just prepare one card and LO copies the content into the others.

*** This bug has been marked as a duplicate of bug 101452 ***