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

[OSX] [Demobrowser] Print to PDF does nothing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.7
    • Fix Version/s: 5.7.0 RC
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      OSX 10.11.4
      Windows
    • Platform/s:
      macOS
    • Commits:
      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

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

          Activity

            People

            Assignee:
            mibrunin Michael Bruning
            Reporter:
            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