https://bugs.documentfoundation.org/show_bug.cgi?id=169822
Bug ID: 169822
Summary: unit test "testTdf166724_cellAnchor" depends on 96 DPI
but is not marked as such
Product: LibreOffice
Version: 26.2.0.0 alpha0+ master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Blocks: 126862
I use display scale of 125% on Windows11. (You get it with right click on
desktop > item Display Settings. In line "Scale" select 125% from the drop-down
list. It changes scale immediately without restart.) 125% is 120DPI.
I get a unit test failure
C:/buildlo8/core/sc/qa/unit/subsequent_export_test2.cxx(79) : error : Assertion
Test name: testTdf166724_cellAnchor::TestBody
equality assertion failed
- Expected: 1990
- Actual : 1905
The test does not fail, if I use a 100% display scale (96DPI).
The test should be fixed to be independent from display scale or be excluded
with "if (!IsDefaultDPI()) return;"
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=126862
[Bug 126862] [META] Issues with unusual builds / unit tests, rare test failures
--
You are receiving this mail because:
You are the assignee for the bug.