Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0
-
None
-
windows, latest qt5-dev
-
5cb581b3b4c3305a0dfebead1ec7049ab6f2ebc4
Description
tst_qquicktext::fontSizeMode() and multilengthStrings() started failing consistently on Windows ever since the following change was merged to qtbase#dev:
Set fallback for QFont::System to be MS Sans Serif and not Arial
https://codereview.qt-project.org/#/c/87950/
=> qtdeclarative#dev is blocked.
FAIL! : tst_qquicktext::fontSizeMode(styled) 'horizontalFitWidth <= myText->width() + 2' returned FALSE. ()
.\tst_qquicktext.cpp(2946) : failure location
FAIL! : tst_qquicktext::multilengthStrings(Wrap) Compared doubles are not the same (fuzzy compare)
Actual (myText->contentWidth()): 56
Expected (mediumWidth) : 57
.\tst_qquicktext.cpp(3450) : failure location