Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.5.0
-
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.