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

tst_printer fails on Windows 10 Preview build 10162 with "HP Color LaserJet CM6030 MFP PCL"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.5.0
    • GUI: Printing
    • Windows 10 Preview build 10162/ "HP Color LaserJet CM6030 MFP PCL" / MSVC 2015 32bit

    Description

      ******** Start testing of tst_QPrinter *********
      Config: Using QtTest library 5.5.1, Qt 5.5.1 (i386-little_endian-ilp32 shared (dynamic) debug build; by MSVC 2015)
      ...
      FAIL!  : tst_QPrinter::customPaperNameSettingBySize() Compared values are not the same
         Actual   (printer.paperName()): "Letter / ANSI A"
         Expected (sizes.at(0).name()) : "Letter"
      .\tst_qprinter.cpp(761) : failure location
      ....
      FAIL!  : tst_QPrinter::windowsPageSize() Compared values are not the same
         Actual   (native.winPageSize()): 256
         Expected (1)                   : 1
      .\tst_qprinter.cpp(1711) : failure location
      

      The symptoms are that when setting either setPaperSize(Letter) or setWinPageSize(DMPAPER_LETTER), winPageSize becomes DMPAPER_USER (256) and the paper name is "Letter / ANSI A" as if letter was not supported.

      The test works when setting the printer to the XPS writer.

      Whether that is a bug or a feature is currently unclear, the task is merely a heads-up when switching the CI to WIndows 10 at some point.

      Attachments

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

        Activity

          People

            johnlayt John Layt
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes