Bug 156687 - PNG with alpha, flip and set transparency, shows original image shadow during present
Summary: PNG with alpha, flip and set transparency, shows original image shadow during...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-09 00:35 UTC by DLLee
Modified: 2023-08-10 07:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample odp file (161.57 KB, application/vnd.oasis.opendocument.presentation)
2023-08-09 00:39 UTC, DLLee
Details
Present Result screenshot (307.03 KB, image/jpeg)
2023-08-09 00:41 UTC, DLLee
Details
Screen shoot (851.94 KB, image/png)
2023-08-09 03:29 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DLLee 2023-08-09 00:35:42 UTC
Description:
PNG with alpha, flip and set transparency, shows normal during editing, but shows the original image shadow during present.
If only flip without set transparency, the result is OK. Both flip and set transparency will cause the problem. 
If the png image flips twice, the result is OK.

Steps to Reproduce:
1. insert a png image with alpha channel
2. copy it and paste a new instance
3. set the new instance to transparency, like 50%, and flip it H or V.
4. present F5 to present this slide
(or open the sample odp file and press F5)

Actual Results:
The flip + set transparency image shows the extra shadow, its shape is the original image.

Expected Results:
The flip + set transparency image should show normal during present, just like during editing.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.4.2 (x86) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: zh-TW (zh_TW); UI: zh-TW
Calc: CL threaded
Comment 1 DLLee 2023-08-09 00:39:27 UTC
Created attachment 188858 [details]
sample odp file

open the sample odp file, and press F5 to present, the filp + set transparency image will show extra shadow.
Comment 2 DLLee 2023-08-09 00:41:21 UTC
Created attachment 188859 [details]
Present Result screenshot

The present result screenshot.
Comment 3 m_a_riosv 2023-08-09 03:29:56 UTC
Created attachment 188861 [details]
Screen shoot

I think I can't see the extra shadow.
Comment 4 DLLee 2023-08-09 12:55:53 UTC
(In reply to m.a.riosv from comment #3)
> Created attachment 188861 [details]
> Screen shoot
> 
> I think I can't see the extra shadow.

I just tried turning off OpenGL or in safe mode, the result was fine.
But turning on OpenGL, the extra shadow show during F5 present.
Comment 5 Regina Henschel 2023-08-09 14:21:58 UTC
I see the problem in Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded

If I disable Skia the shadow is not visible in show mode.

I don't see the problem in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b3053b63c65372627c5fb4df6b4ddcd5e12e16f7
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded

The version 7.6 will be released this month. There is a prerelease available. I don't see the problem in that prerelease version. Perhaps you try it? On https://www.libreoffice.org/download/download-libreoffice/ scroll down to get it.
Comment 6 m_a_riosv 2023-08-09 21:40:26 UTC
Then try to update the driver card from the vendor (AMD, NVIDIA, INTEL, ETC)
Comment 7 DLLee 2023-08-10 07:30:04 UTC
(In reply to Regina Henschel from comment #5)
> I see the problem in Version: 7.5.2.2 (X86_64) / LibreOffice Community
> Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
> CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL:
> win
> Locale: de-DE (en_US); UI: en-US
> Calc: CL threaded
> 
> If I disable Skia the shadow is not visible in show mode.
> 
> I don't see the problem in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice
> Community
> Build ID: b3053b63c65372627c5fb4df6b4ddcd5e12e16f7
> CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL:
> win
> Locale: de-DE (en_US); UI: en-US
> Calc: CL threaded
> 
> The version 7.6 will be released this month. There is a prerelease
> available. I don't see the problem in that prerelease version. Perhaps you
> try it? On https://www.libreoffice.org/download/download-libreoffice/ scroll
> down to get it.

Thanks. the problem is fixed in 
Version: 7.6.0.2 (X86_64) / LibreOffice Community
Build ID: 41d6f628ba3f046f16b5fa9fa8db8d4c2ab3b582
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: zh-TW (zh_TW); UI: zh-TW
Calc: CL threaded