I have set my screen resolution to 125% in Windows 10. That is 120dpi. 100% is 96dpi. Screen resolutions above 125dpi will trigger some high resolution settings, but 120dpi is below that limit. When I build "make sw.check" the tests testTdf125300, testTdf115630 and testTdf129054 fail. The tests do not fail in 100% screen resolution. Expected: The tests work in 120dpi too.
Mike: noticing https://cgit.freedesktop.org/libreoffice/core/commit/?id=386771e25d35f846c16f9ba7ddbf135c3cba3565, thought you might have some idea for this one?
(In reply to Regina Henschel from comment #0) > the tests testTdf125300, testTdf115630 and testTdf129054 fail They all are "handled" in my https://gerrit.libreoffice.org/c/core/+/85974 (which, along with https://gerrit.libreoffice.org/c/core/+/85967, waits for review from NISZ LibreOffice team which had created all these tests). The "fix" is almost guaranteed to be wrong, since several introduced tolerances are so large that the test seems to make no sense with them. Only test authors could create better tests. The problems are: 1. Lack of testing with non-default resolution (both automated on buildbots, and by test authors); 2. Some processing in core that takes screen resolution into account. IMO, each and every such place in code, which is not at the moment of actual output to screen, is a bug.
@all Mike's patch is there in the master. The unit tests are still valid with the enlarged tolerances. Thanks for your help and fix!
Proposed patches were merged as: https://gerrit.libreoffice.org/plugins/gitiles/core/+diff/8e655ab1da7aa3325ceea3031cb9c0bc810444a4%5E%21 https://gerrit.libreoffice.org/plugins/gitiles/core/+diff/ab42dbf7e3072fa71af282d38bc751b5494d4718%5E%21 Thanks for noticing these!