Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-56389

QTextDocument cannot print backwards

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.8
    • GUI: Printing
    • None

    Description

      During the refactoring between Qt 4 and Qt 5 QTextDocument::print was changed to take a QPagedPaintDevice, not a QPrinter. This seems to have lost the API for printing in inverse page order (QPrinter::PageOrder).

      If this was deliberate, then the relevant code in qtextdocument.cpp is wrong at the moment and triggering Coverity (CID 11004), as "ascending" is never set, only read, and there's dead code.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            johnlayt John Layt
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes