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

Cancelling Print to File Crashes Application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.5.0, 5.9.6
    • GUI: Printing
    • None
    • Windows 10
    • 30225da91 (dev), 12c69ad04 (6.7)

    Description

      When printing to file (such as via Microsoft Print to PDF) (after accepting QPrintDialog) QPainter::begin crashes application if save as dialog box is cancelled.

      Perhaps adding a catch in QPainter::begin to return false in scenarios like this would solve the issue.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-48488
          # Subject Branch Project Status CR V

          Activity

            People

              johnlayt John Layt
              dchamberlain David Chamberlain
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes