Details
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 |
157467,8 | Replace print dialog with a custom one for printing to pdf. | 5.7 | qt/qtwebengine | Status: MERGED | -2 | 0 |