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

Cancelling Print to File Crashes Application

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes