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

QPrinter returns an empty page rectangle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: GUI: Printing
    • Labels:
      None
    • Environment:
      Windows 10
    • Platform/s:
      Windows

      Description

      Apparently, QPrinter returns an empty page rectangle when I change the page size in the printer preferences and then select print in Qt Creator.

      The empty page rectangle caused indefinite spooling of pages on Qt Creator (up to version 4.13.2). For details see QTCREATORBUG-24110.

       

      The root cause of the QTCREATORBUG-24110 was not fixed, just a workaround to avoid crashing was added (nothing is printed). Apparently the root cause is returning an empty page rectangle by a QPrinter instance.

       

      As Qt Creator 5.13.2 is based on Qt 5.15.1, the bug is present in Qt 5.15.1.

        Attachments

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

          Activity

            People

            Assignee:
            andreasbuhr Andreas Buhr
            Reporter:
            ev E Visser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes