Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.12.8, 5.13.0
-
Surface Book 2, Surface Pro 4
Description
When FileDialog is initialized after a FontLoader in QML, it seems to corrupt fonts or at least they are not being correctly painted. There are errors like this printed in the application output:
QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.) QWindowsFontEngineDirectWrite::getSfntTableData: TryGetFontTable failed (The parameter is incorrect.) QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.)
Changing the order of FileDialog and FontLoader initialization reportedly works around the issue.
This seems to only occur on some devices. At least it was reproducible on Microsoft Surface Book 2.