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

QPrinterInfo::location() always returns empty string on Windows 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.4.2
    • GUI: Printing
    • None
    • Windows 7 or 8

    Description

      On several Windows 7 and Windows 8 installations and for any printer driver we tried QPrinterInfo::location() always returns an empty string. This can be observed in the print dialog of any Qt application.
      Included screenshots of the Qt Print dialog where the location is empty when it should be "USB001", as a native print dialog shows (in this case from Visual Studio, but most applications show that)
      Oddly, in Internet Explorer 8, which uses the new print dialog, the location is also empty, so it's possibly a bug in Windows' new print dialog. But maybe Qt could inquire the printer location in a different way?

      Attachments

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

        Activity

          People

            johnlayt John Layt
            christian_nieber Christian Nieber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes