[Libreoffice-bugs] [Bug 116527] New: Crash in: `anonymous namespace'::documentStartPageNumber

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 20 20:41:55 UTC 2018


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

            Bug ID: 116527
           Summary: Crash in: `anonymous
                    namespace'::documentStartPageNumber
           Product: LibreOffice
           Version: 5.4.5.1 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: muesliflyer at nexgo.de

Created attachment 140760
  --> https://bugs.documentfoundation.org/attachment.cgi?id=140760&action=edit
Test files to replicate the problem

This bug was filed from the crash reporting server and is
br-cd1600ac-f45a-4bf4-8355-b64996a08db6.
=========================================

I caused this crash by entering From page number = 0 and To page number = 0
into the mail merge print dialog. A check should probably be added to prevent
such "stupid" values.

But this crash is not the main problem. The problem is that different page
ranges result in strange page ranges to be printed. I have a single page Writer
document and a Calc table with three records as the data source. Here is what I
get for different record ranges:

>From To Result
1    1  Prints the document filled with data from first record. Fine.
2    2  Prints document with data from *third* record!
3    3  Error message: No pages to be printed available (I am translating from
German
1    3  Prints all three pages. Fine.
2    3  Prints document with data from *third* record only!

I could not find a bug in mmresultdialogs.cxx that could explain this behavior.
Maybe someone can help.

Comment: I get the impression that Writer first generates an output document
with all pages from all data source records and then prints a page range from
this output document. Shouldn't it be better to generate an output document
only for the selected data source record range and then print all of that
document?

-- 
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/20180320/457d9e1a/attachment.html>


More information about the Libreoffice-bugs mailing list