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

Print to pdf crashes or gives error message to console

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.1.1
    • Component/s: GUI: Printing
    • Labels:
      None
    • Environment:
      All, probably
    • Platform/s:
      All

      Description

      My software meets this bug: https://lalescu.ro/liviu/fet/

      Partially reproducible with /Qt/Examples/Qt-6.0.0/widgets/itemviews/spreadsheet

      If I try to print to pdf file from this Qt example I get on GNU/Linux openSUSE Tumbleweed this warning on the command line: "QPageRanges::addRange: 'from' and 'to' must be greater than 0"

      If I try to print to pdf from my application on GNU/Linux openSUSE Tumbleweed, I get this warning and also the pdf does not contain the correct data, only empty tables (it should be a filled HTML table).

      If a user tries to print to pdf from Mac OS X 10.15.6, he gets a crash (https://lalescu.ro/liviu/fet/forum/index.php?topic=4764.0 is the link to my software forum's post).

        Attachments

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

          Activity

            People

            Assignee:
            johnlayt John Layt
            Reporter:
            liviulalescu Liviu Lalescu
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes