https://bugs.documentfoundation.org/show_bug.cgi?id=151610

            Bug ID: 151610
           Summary: Exporting charts (to PDF, but also to a unit test
                    dump) gives different results depending on system dark
                    mode
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

1. Use system dark mode on Windows
2. Open chart2/qa/extras/xshape/data/xls/tdf150832.xls
=> the chart is shown on dark background, even though the cell grid background
is white
3. Export to PDF
=> the chart background there is also dark, unlike when using light mode
4. Run the respective unit test:

> make CppunitTest_chart2_xshape 
> CPPUNIT_TEST_NAME=Chart2XShapeTest::testTdf150832

=> error:

> C:/lo/src/core/test/source/diff/diff.cxx(265) : error : Assertion
> Test name: Chart2XShapeTest::testTdf150832
> double equality assertion failed
> - Expected: nan
> - Actual  : 202020
> - Delta   : 1e-08
> - Reference: 
> C:/lo/src/core/chart2/qa/extras/xshape/data/reference/tdf150832.xml
> - Node: /XShapes/XShape[1]
> - Attr: fillColor

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to