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

            Bug ID: 172999
           Summary: An Image Control on a Base form, bound via Data Field
                    to a table column containing a relative image path,
                    renders the image in grayscale
           Product: LibreOffice
           Version: 26.2.4.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: [email protected]
          Reporter: [email protected]

Description:
An Image Control on a Base form, bound via Data Field to a table column
containing a relative image path, renders the image in grayscale. The same
image file displays correctly in color when inserted into a Writer document,
and also displays correctly in color in a PDF exported from the same Base form
(File → Export as PDF).

Steps to Reproduce:
1.Create an embedded HSQLDB Base database with a table containing a VARCHAR
column storing a relative image path (e.g. ./Photos/image.jpg).
2.Create a form bound to this table (or a query joining it) containing an Image
Control, with Data Field set to the path column and the General-tab "Graphic"
field left blank.
3.Switch the form to Form view.
4.Separately, export the same form to PDF via File > Export As > Export as PDF.

Actual Results:
The image displays in grayscale in Form view. The same image file displays
correctly in color when inserted directly into a Writer document, and also
displays correctly in color in the PDF exported from this same form (both the
on-screen form and the resulting PDF briefly show full color during/after the
export action).

Expected Results:
The image should display in color in Form view, consistent with the source
file, its appearance in Writer, and the PDF export.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Additional troubleshooting already performed, all with no effect on the issue:
- Windows color filter (Win+Ctrl+C) confirmed off
- Windows High Contrast mode confirmed off
- Enabled "Force Skia software rendering" — no change
- Confirmed source image file displays correctly in color outside LibreOffice
and inside Writer
- Re-saved image as a fresh PNG (to rule out JPEG color-profile issues) — no
change
- Rebuilt the Image Control from scratch — no change
- Changed the control's Border property — no change
- Confirmed control's Enabled property was set to Yes
- Attempted several macro-based forced-redraw approaches (toggling control
visibility, form.reload(), window.invalidate()) — no change

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

Reply via email to