Bug 135258 - Cannot export slides to PNG when Master contains a transparent object
Summary: Cannot export slides to PNG when Master contains a transparent object
Status: RESOLVED DUPLICATE of bug 105362
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.2 all versions
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Master-Slide Graphics-Export
  Show dependency treegraph
 
Reported: 2020-07-29 08:29 UTC by Florian
Modified: 2024-06-19 00:28 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (14.16 KB, application/vnd.oasis.opendocument.presentation)
2021-02-22 16:59 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian 2020-07-29 08:29:59 UTC
Description:
I created a master slide which has a symbol shape (puzzle) with 80% transparency in the background. When I export the presentation to PNG files, the transparent object is not visible in the PNG file.

Steps to Reproduce:
1. Create new presentation
2. Open Master view
3. Add symbol shape (e. g. puzzle)
4. Set the area transparency to 50%
5. Close Master view
6. Select File → "Export…"
7. Set export format to "PNG"
8. In PNG options, make sure "Save transparency" is checked
9. Click "OK"

Actual Results:
Error messages:

- Image filter not found
- General input/output error

Expected Results:
Slides are exported to PNG, no error message


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 6.4.5.2
Build ID: 6.4.5.2-2.fc32
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Buovjaga 2021-02-22 16:59:13 UTC
Created attachment 169970 [details]
Example file

Repro

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: dec32864a61104001cb6ff63c218ea5fb2a7ab1e
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 22 February 2021
Comment 2 Buovjaga 2021-02-22 17:01:01 UTC
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 385808a2dff7300ec0120fdd5e8acfad8f86e50d
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded
Comment 3 Buovjaga 2021-02-22 17:46:17 UTC
This is already in oldest of Linux 6.3 repo, but not yet in newest of 50max repo.
Comment 4 Roman Kuznetsov 2021-02-22 21:27:25 UTC
I bisected it with win32-6.2 bisect repo and got a follow sha:
 046df0a876b3d948bb1e14443c00c180bc8cccaa

https://gerrit.libreoffice.org/c/core/+/59220

https://git.libreoffice.org/core/commit/046df0a876b3d948bb1e14443c00c180bc8cccaa

Added CC: to Armin Le Grand
Comment 5 xordevoreaux 2021-02-23 04:27:35 UTC Comment hidden (off-topic)
Comment 6 QA Administrators 2023-02-24 03:23:29 UTC Comment hidden (obsolete)
Comment 7 xordevoreaux 2023-02-24 09:49:36 UTC
(In reply to Florian from comment #0)
> Description:
> I created a master slide which has a symbol shape (puzzle) with 80%
> transparency in the background. When I export the presentation to PNG files,
> the transparent object is not visible in the PNG file.
> 
> Steps to Reproduce:
> 1. Create new presentation
> 2. Open Master view
> 3. Add symbol shape (e. g. puzzle)
> 4. Set the area transparency to 50%
> 5. Close Master view
> 6. Select File → "Export…"
> 7. Set export format to "PNG"
> 8. In PNG options, make sure "Save transparency" is checked
> 9. Click "OK"
> Additional Info:
> Version: 6.4.5.2
> Build ID: 6.4.5.2-2.fc32
> CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3; 
> Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
> Calc: threaded

Step 8 above causes the condition, and is the same problem I listed in https://bugs.documentfoundation.org/show_bug.cgi?id=123973

Just tested it again now, and it's still a problem in: 

Version: 7.5.1.1 (X86_64) / LibreOffice Community
Build ID: bd819218336a5be54a11b986ea4dd2db2efb120e
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 8 Stéphane Guillou (stragu) 2024-06-19 00:28:32 UTC
- Reproduced in 7.3.0.3
- No error messages, puzzle piece visible in 7.4 at Armin's 87866def6bfe2ee91be34a5ce37b79d6da881617 for bug 123973, but that was later reverted with 028602a7fc0691958ade01c9bc7cd617e85203ac - although the error message did not come back. Result is an empty, transparent PNG.
- Puzzle piece is visible in export since Armin's 3996eed1870ced736d9f4a01550f5c9f0568edfa for bug 105362

So let's also mark as duplicate of bug 105362.

See also bug 123696, bibisected to same commit and with same error message, but was closed earlier as "works for me".

*** This bug has been marked as a duplicate of bug 105362 ***