Bug 141213 - SLIDESHOW: animated gif not shown in presentation mode (gif has alpha-transparency)
Summary: SLIDESHOW: animated gif not shown in presentation mode (gif has alpha-transpa...
Status: VERIFIED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Slide-Show Images-Animated
  Show dependency treegraph
 
Reported: 2021-03-23 19:27 UTC by hardy
Modified: 2024-04-16 10:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
impress file with animated gif (and alpha) that shows the described behavior (46.16 KB, application/vnd.oasis.opendocument.presentation)
2021-03-23 19:27 UTC, hardy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hardy 2021-03-23 19:27:03 UTC
Description:
When I have an animated gif "video" in an Impress presentation, then this animation is properly displayed during the edit mode of the slide show. But when starting the slide show (e.g. with F5) in presentation mode, then this animation is not shown at all. This only happens with (animated gif) videos that contain an "alpha" transparency.

Steps to Reproduce:
1. add an animation (animated gif) with transparency to an impress slide show.
2. (the animation is displayed fine during this edit mode)
3. start the presentation, e.g. with F5

Actual Results:
The animation is NOT visible on the presentation screen.

Expected Results:
The animation should be visible on the presentation screen.


Reproducible: Always


User Profile Reset: No



Additional Info:
* I have observed this under Windows as well as under Linux.
* When I remove the transparency from the animated gif file, then it works fine in Impress.
* This happens with hardware accelaration ON, and OFF in the LibreOffice graphics settings.
* I will attach a sample odp file that can simply be opened to show the described behavior.
Comment 1 hardy 2021-03-23 19:27:54 UTC
Created attachment 170672 [details]
impress file with animated gif (and alpha) that shows the described behavior
Comment 2 Roman Kuznetsov 2021-03-24 09:50:55 UTC
Confirm in

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 78c33a4c3d1633b97049874305b3b49b820395a2
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

no Skia related
Comment 3 Timur 2021-03-24 14:21:38 UTC
Appeared in LO 6.0 in Edit mode in Windows, was there in Linux.
Comment 4 Gerald Pfeifer 2024-04-15 21:45:08 UTC
This appears fixed with

  Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
  Build ID: 1dc92b9e9951ef118d2d823d54f9a022c2e41a27
  CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

There has been a transition around alpha and transparency before
LibreOffice 24.2 which may be behind that.

Please advise if your experience differs.
Comment 5 hardy 2024-04-16 06:51:29 UTC
I have re-tested this behavior with the latest version of LibreOffice impress, i.e. I opened the odp demo file from comment #1. What I observed is:
* Yes, now the video is properly displayed in presentation mode (i.e. after pressing F5)
* But: Now the video is not visible any more in the normal edit mode (i.e. directly after opening the file, before pressing F5).

So I would conclude, that this bug is unfortunatelly NOT yet fully fixed. (I set the bug report to "new" again, accordingly.)

Details on my LibreOffice version used for this latest testing:
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

If you need more information on my used hardware or software settings, please let me know.
Comment 6 hardy 2024-04-16 06:54:55 UTC
Sorry, I just realised that Gerald used a newer LO version for his tests in comment #4, I will re-test also and let you know.
Comment 7 hardy 2024-04-16 07:08:52 UTC
I have now re-tested with the currently daily snapshot of LibreOffice. Unfortunatelly my findings from comment 5 persist:
* animation is visible in presentation mode (after F5) -> good.
* animation is NOT visible in (standard) edit mode -> not so good.
So I will leave the tag set as NEW, because I think the bug is NOT yet fully resolved.

My LO version for these last tests:
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bdf3b5ce49b0e4ee1b4525d344cfb037ef473059
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded
Comment 8 Gerald Pfeifer 2024-04-16 10:17:38 UTC
(In reply to hardy from comment #7)
> I have now re-tested with the currently daily snapshot of LibreOffice.
> Unfortunatelly my findings from comment 5 persist:
> * animation is visible in presentation mode (after F5) -> good.
> * animation is NOT visible in (standard) edit mode -> not so good.
> So I will leave the tag set as NEW, because I think the bug is NOT yet 
> fully resolved.

I'd argue that this report titled "gif not shown in presentation mode"
is fully resolved. :-) 

Sadly there is a regression in edit mode which may, or may not be,
related. :-(

I filed a new bug #160690 to track the latter and am closing this;
hope that's fine?
Comment 9 Gerald Pfeifer 2024-04-16 10:29:22 UTC
Marking VERIFIED as per original reporter in comment #5.