Test failure on some Windows systems with 125% display scaling, Chart2ImportTest::testAutomaticSizeBarChartVeryLongLabel

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Sat Nov 19 14:41:36 UTC 2022


A new dev is seeing this test failure on Windows with 125% scaling, the 
test passes if scaling is set to 100%:

C:/cygwin/home/Client/lode/dev/core/chart2/qa/extras/chart2import.cxx(2273) 
: error : Assertion
Test name: Chart2ImportTest::testAutomaticSizeBarChartVeryLongLabel
double equality assertion failed
- Expected: 5320
- Actual  : 4765
- Delta   : 100

Mike added tolerance to this test in 
09e499e64ec4acb24c9524c8aacabc6182124442 but in this case the difference 
seems surprisingly large.

Ilmari


More information about the LibreOffice mailing list