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

            Bug ID: 169148
           Summary: Date picker in DOCX file has black background
           Product: LibreOffice
           Version: 26.2.0.0 alpha0+ master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 113363

Created attachment 203607
  --> https://bugs.documentfoundation.org/attachment.cgi?id=203607&action=edit
Sample DOCX

Open the attached simple DOCX file with a single date picker, created in Word.

When opened in Writer, the background is black.

Interestingly, if the equivalent is inserted in an empty document in Writer via
Form -> Content Controls -> Date Control, and the document is saved and
reloaded, it looks OK.

Observed in 26.2.0.0.alpha0+ (5ab202100577563e8fcd66f032181452e94e2015) /
Windows.
Earlier versions are OK.

This went bad in two steps. First, after the following commit, the whole date
picker turned white
https://git.libreoffice.org/core/commit/878dd795378776253e6c49d58805a219e0b8c33e
author          Noel Grandin <[email protected]>     Mon Jun 30
12:00:42 2025 +0200
committer       Noel Grandin <[email protected]>     Mon Jun 30
17:49:51 2025 +0200

"tdf#166842 do not use FillColor==COL_TRANSPARENT..."

Then the current behavior started with this commit:
https://git.libreoffice.org/core/commit/088a7c7c451321a800ca8d3523a18b6bb93239b7
author          Noel Grandin <[email protected]>    Tue Sep 24 16:18:11
2024 +0200
committer       Noel Grandin <[email protected]>    Mon Jul 21 10:49:25
2025 +0200

"remove alpha device from OutputDevice"

The first commit affected both Windows and Linux, but the second commit only
changed the behavior on Windows. Finally, on Linux the issue got fixed with
this commit, but Windows is still not okay:
https://git.libreoffice.org/core/commit/4bc08277e8fcfc37105f1427ca2f0d596d39eccd
author          Noel Grandin <[email protected]>     Fri Oct 17
15:11:59 2025 +0200
committer       Noel Grandin <[email protected]>     Sun Oct 19
12:13:39 2025 +0200

"fix DrawPolyPolygon alpha behaviour"


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=113363
[Bug 113363] [META] DOCX (OOXML) content control-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to