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

QPrintDialog won't display if no Printers are installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.0 Beta2
    • 5.2.0, 5.12
    • GUI: Printing
    • None
    • macOS
    • cc59f0de557e2d8fba274a86ba43afc4ffcd935b (qt/qtbase/5.15)

    Description

      If there are no printers installed on Windows or Mac then no print dialog is displayed and a message about not using the Qt print dialog is output to the message log. This is a bad user experience as they may not see the log message and so do not know why the dialog will not display. Both Windows and Mac dialogs can be displayed without printers installed, and have the option to install printers from within them. Mac also has the option of printing to PDF without a printer installed. We should allow the dialog to be displayed in this event, however this will rely on some mechanism being in place to refresh the internal printer list when any new printer is added. In the interim we should display a message box to the user asking them to install a printer first.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              johnlayt John Layt
              Votes:
              10 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes