Bug 159932 - unit test "testRepeatBitmapMode" depends on 96 DPI but is not marked as such
Summary: unit test "testRepeatBitmapMode" depends on 96 DPI but is not marked as such
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Dev-Bugs
  Show dependency treegraph
 
Reported: 2024-02-27 23:58 UTC by Regina Henschel
Modified: 2024-03-13 04:03 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 2024-02-27 23:58:41 UTC
I use my PC in 120 DPI. The unit test "testRepeatBitmapMode" fails for me. If I set my PC to 96 DPI, the test does not fail.

The test should be excluded with "if (!IsDefaultDPI()) return;"
Comment 1 Stéphane Guillou (stragu) 2024-03-13 04:03:13 UTC
I have 96 DPI so I haven't tested, but I trust you :)
Wondering if this also applies to multiple of 96, e.g. 192 DPI.

Test is in: https://opengrok.libreoffice.org/xref/core/sd/qa/unit/export-tests-ooxml2.cxx?r=0fa827db&mo=2741&fi=81#81