Bug 169822 - unit test "testTdf166724_cellAnchor" depends on 96 DPI but is not marked as such
Summary: unit test "testTdf166724_cellAnchor" depends on 96 DPI but is not marked as such
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks: Dev-Bugs
  Show dependency treegraph
 
Reported: 2025-12-04 10:42 UTC by Regina Henschel
Modified: 2025-12-19 03:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2025-12-04 10:42:28 UTC
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;"