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

failure when using QGraphicsScene::render() to render to QPrinter when printing to a PDF or to a printer.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.4, 4.8.0
    • Widgets: GraphicsView
    • None
    • Windows7

    Description

      Attached is an example application to reproduce the issue. In the example there is a QGraphicsRectItem with a checkbox in the scene.

      Run the app and press Print (shows the print dialog). Compare the results of a "Print to file" and "PDFCreator" (same result as printing to printer). The former shows the check box in the rectangle, the latter shows the rectangle and a tiny downsclaed checkbox in the upper left corner of the document. Example results attached as ToFile.pdf and ToPDFCreator.pdf

      Attachments

        1. Print.zip
          2 kB
        2. ToFile.pdf
          2 kB
        3. ToPDFCreator.pdf
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes