[Libreoffice-bugs] [Bug 127410] New: Mail merge only correctly uses "Print empty pages" if doc is unmodified

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 6 13:27:39 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=127410

            Bug ID: 127410
           Summary: Mail merge only correctly uses "Print empty pages" if
                    doc is unmodified
           Product: LibreOffice
           Version: 6.4.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: m.weghorn at posteo.de

(found while looking at tdf#127409, so steps are the same as there + a few
more)

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 attache attachment 153988 "test_mailmerge.odt" from bug 127409 (which
has "PrintEmptyPages" set to "true" in settings.xml)
5) run mail merge wizard and set "2.ods" (attachment attachment 153989 from bug
127409) as data source to use (it has 2 records)
6) save the document
7) select "Print merged documents" from the mailmerge toolbar
8) select to print all pages
9) check printout
10) type some more text, e.g. so that "Hello world" is in the document
11) print again and check printout

Results:

* The printout in step 9 contains the following two pages (which is bug
127409):
  * The first page contains the printout for the first data record (a page with
the word "Hello" on it)
  * The second page is blank
* The printout in step 11 contains the following two pages:
  * The first page contains the printout for the first data record (a page with
the word "Hello" on it)
  * The second page contains the printout for the second data record (e.g. a
page with the text "Hello world" on it for the above steps)

Expected results:

The printout shouldn't be dependent on whether the document was saved or not
and be the same for steps 9 and 11 (s. bug 127409 for what is the expected
result)

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/dd6b23e5/attachment-0001.html>


More information about the Libreoffice-bugs mailing list