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

            Bug ID: 147119
           Summary: Impossible in 7.4 to export a PNG with a transparent
                    background (no background defaults to white)
           Product: LibreOffice
           Version: 7.4.0.0 alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Several usage cases for Draw for me involve "holes" in the exported PNG
background where nothing at all renders, nothing at all, not even white. Those
portions are transparent. 

In 7.4, #Bug 123973 is now fixed, but the fix has left exporting a PNG with any
of the PNG's background as transparent impossible. "None" for a background is
treated as solid white, and white < > transparent.  If I wanted white, I would
have selected Color for the background and picked White from the color palette.

I've thousands of exported PNGs where I've used transparency. The fix for #Bug
123973 cannot be at the expense of never being able again to export PNGs with
areas of the page transparent.

Steps to Reproduce:
1. Create a new Windows LO Draw file
2. Do nothing to the background of the page or the master, leave it set to
"none"
3. Draw any shape on the page so that it does not extend over the entire page
4. Export as a PNG using the Transparency option

Actual Results:
The area around the shape on the exported PNG is white, when it should be
transparent if I exported using transparency. A white background is being
forced despite exporting with transparency.

Expected Results:
If I do nothing to the background, and do not export the PNG with transparency,
it's okay for the background to default to white (even though it's still
sitting there as "none).

---IF---- however, I choose to export the page as a PNG and select the
transparency option during the import process, and my background is set to
None, and my master background is set to None, the result should be any place
where draw image or object appears should export transparent, not render white.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5c138ac6a8334825ef171ac6291b66b277eb4288
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL


I will include a series of images showing the problem and how it's stopping me
cold from using 7.4 for one particular use case scenario (I've many) that I use
LO Draw.

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

Reply via email to