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

[OSX] [Demobrowser] Print to PDF does nothing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.7.0 RC
    • 5.7
    • WebEngine
    • None
    • OSX 10.11.4
      Windows
    • macOS
    • c59e577a18ea20283a3267b9400de5f812056f93

    Description

      When trying to save a web page as PDF, using the demobrowser, the native Mac print dialog appears. After choosing save to PDF instead of printing, and entering a file name, the dialog is closed and nothing happens.

      Traced it down to the following change https://codereview.qt-project.org/#/c/110563/2

      Because the output file name is not set, the demobrowser checks that the name is empty, and does not invoke save to pdf behavior.

      Just for testing, if the commit is reverted, the pdf file is successfully saved.
      But obviously that will probably break stuff for the underlying issue of the change.

      Attachments

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

        Activity

          People

            mibrunin Michael Bruning
            alexandru.croitor Alexandru Croitor
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes