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

            Bug ID: 150786
           Summary: Exporting form controls to PDF gives different results
                    depending on system dark mode
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mikekagan...@hotmail.com
                CC: caol...@redhat.com

Using Version: 7.4.1.1 (x64) / LibreOffice Community
Build ID: 0a046a10cbf1679eea5538bd3ab63156caa3a036
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

1. Enable experimental features (Options->LibreOffice->Advanced) to enable
system dark mode support implemented in bug 118320.
2. Use system light mode.
3. Open vcl/qa/cppunit/pdfexport/data/form-font-name.odt.
4. Export to PDF.
5. Use system dark mode.
6. Export to another PDF (can be done even without reloading the document).
Note that Writer displays the form control with black background BTW.

Comparing the two resulting PDFs shows that they have different control
backgrounds.

Respective unit test fails on master with system dark mode with:

C:/lo/src/core/vcl/qa/cppunit/pdfexport/pdfexport.cxx(2656) : error : Assertion
Test name: `anonymous namespace'::testFormFontName::TestBody
equality assertion failed
- Expected: 0 0 0 rg /TiRo 12 Tf
- Actual  : 1 1 1 rg /TiRo 12 Tf

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

Reply via email to