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

            Bug ID: 172410
           Summary: Draw exports PDF with the same background set in
                    "Document background" instead of white
           Product: LibreOffice
           Version: 26.2.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Description:
It's been a long time since I have this problem where have the LibreOffice
theme set to Dark and with a Document background property set to #171717 (Tools
→ Options... → LibreOffice → Appearance) and when I view the PDF in Draw I see
it with this modified background that I have set.

The problem is that when I export the PDF using Draw, the exported PDF also has
the #171717 background that I set in Document background property which isn't
what I expect since if I export a document using Writer with the same Document
background property, Writer saves it with a white background instead of using
the Document background property.

Changing the "Use white document background" checkbox doesn't change this
behaviour in Draw: Both with this option checked or unchecked the exported PDF
has the same #171717 background that I've set in the Document background
property.

How can I resolve this? Changing the Document background property to Automatic
will have a white background of the document (not the UI, the document pages
only) both in Draw, Writer and the other apps as well (I tested on Draw, Writer
and Calc) and I prefer using a darker background when working (I use KDE Plasma
6 in dark theme, I don't know if there's something wrong there, I have it set
to Breeze-dark). If I can have a different Document background for Draw to be
white and the #171717 Document background for Writer and other platform that
would be nice since I do most of my work on Writer and having a white
background by default on Draw would reflect what the exported PDF would be.

Thanks in advance and also thank you for these amazing products! You have done
an amazing work!

Version: 26.2.3.2 (X86_64)
Build ID: 620(Build:2)
CPU threads: 6; OS: Linux 7.0; UI render: default; VCL: kf6 (cairo+wayland)
Locale: it-IT (it_IT.UTF-8); UI: en-US
26.2.3-3
Calc: threaded

Steps to Reproduce:
1. Open LibreOffice Draw;
2. Go to "Tools" → "Options..." → "LibreOffice" → "Appearance";
3. In "Customizations" → "Document background" change it to a value and hit
"Apply";
4. Export a PDF file.

Actual Results:
The exported PDF's background color is the same color as "Document background"
property.

Expected Results:
I expect that the exported PDF's background is white (at least when I have the
"Use white document background" checked in "Tools" → "Options..." →
"LibreOffice" → "Appearance" → "LibreOffice Themes").


Reproducible: Always


User Profile Reset: No

Additional Info:
If you need more information please write a reply here.

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

Reply via email to