[Libreoffice-bugs] [Bug 127409] New: Mail merge prints wrong pages when option to print blank pages is only set in doc
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 6 13:16:57 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=127409
Bug ID: 127409
Summary: Mail merge prints wrong pages when option to print
blank pages is only set in doc
Product: LibreOffice
Version: 6.4.0.0.alpha0+ Master
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: m.weghorn at posteo.de
Created attachment 153988
--> https://bugs.documentfoundation.org/attachment.cgi?id=153988&action=edit
Sample doc for mail merge
On current master, the printout generated by mail merge is incorrect if the
global option to print blank pages is disabled, but the document-specific
option is enabled.
Sample steps to reproduce:
0) delete existing user profile (e.g.'instdir/user' for dev build)
1) start Writer
2) make sure the following options are set like this in "Tools" -> "Options":
* "Load/Save" -> "General" -> "Load user-specific settings with the document"
is enabled (default)
* "Load/Save" -> "General" -> "Load printer settings with the document" is
enabled (default)
3) disable option "LibreOfficeDev Writer" -> "Print" -> "Print automatically
inserted pages"
4) open attached document "test_mailmerge.odt" (which has "PrintEmptyPages" set
to "true" in settings.xml)
5) run mail merge wizard and set "2.ods" as data source to use (it has 2
records)
6) save the document (required due to another bug that I'll report separately)
7) select "Print merged documents" from the mailmerge toolbar
8) select to print all pages
9) check printout
Results:
* The printout contains two pages.
* The first page contains the printout for the first data record (a page with
the word "Hello" on it)
* The second page is blank
Expected results:
* The printout should contain the following pages since the "PrintEmptyPages"
option in the document's settings.xml is set to 'true' and document and printer
settings should be taken from the document; therefore:
* page 1 should contain the printout for the first record (i.e. the word
"Hello")
* page 2 should be blank
* page 3 should contain the printout for the first record (i.e. the word
"Hello")
Version: 6.4.0.0.alpha0+
Build ID: 111cf7ee0b26a831577c7c03089f9de159aef16d
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: kf5;
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190906/616ae5b2/attachment.html>
More information about the Libreoffice-bugs
mailing list