Bug 139997 - Video playback in Impress disappears or plays above side
Summary: Video playback in Impress disappears or plays above side
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.1.0.2 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2021-01-29 11:53 UTC by NISZ LibreOffice Team
Modified: 2021-08-28 14:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the problem in Impress (761.24 KB, image/png)
2021-01-29 11:53 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-01-29 11:53:14 UTC
Created attachment 169266 [details]
Screenshot of the problem in Impress

When playing a video in Impress, the playback goes back to the placeholder image while sound is continuously played. 
This only happens with Skia backend, not with GDI.

Steps to reproduce:
    1. Open attachment 169242 [details] (it contains an mpg video in a pptx file, but also happens if I convert this to odp)
    2. Open the Properties sidebar, select the video on the slide
    3. Start playing the video, then move the cursor above the slide and click on it OR out of the Impress window.

Actual results:
The video being played is replaced with the placeholder image.
Sound is continous.

Expected results:
Video played back normally.

LibreOffice details:

Version: 7.1.0.2 (x64) / LibreOffice Community
Build ID: 53d68d29d90fd16448721a60aad68c28ff0809f5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Version: 7.1.0.2 (x64) / LibreOffice Community
Build ID: 53d68d29d90fd16448721a60aad68c28ff0809f5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

But not yet with:
Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Additional Information: 
I can only reproduce this with SI-GUI release builds, but not in bibisect repos.
Comment 1 Luboš Luňák 2021-02-08 13:56:37 UTC
I cannot reproduce. What is this SI-GUI build? Is it some patched LO version? All those "Build ID" you listed are invalid, or at least not official LO versions (clicking on them in the About dialog should bring up a browser show the specific repository revision).
Comment 2 Telesto 2021-02-08 14:50:56 UTC
No issue
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3ed9bba283a6a67864c0928186e277240be0d9ba
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

The video quality is quite bad in presentation mode.. But that might by recent skia version (reverted today)
Comment 3 NISZ LibreOffice Team 2021-03-11 15:47:31 UTC
(In reply to Luboš Luňák from comment #1)
> I cannot reproduce. What is this SI-GUI build? Is it some patched LO
> version? All those "Build ID" you listed are invalid, or at least not
> official LO versions (clicking on them in the About dialog should bring up a
> browser show the specific repository revision).

This is: https://wiki.documentfoundation.org/SI-GUI

It just allows to have all release versions installed paralell that were released since 3.5 plus nightlies.

The build IDs are valid. These are the 7.0.0 and 7.1.0 versions:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=53d68d29d90fd16448721a60aad68c28ff0809f5

https://cgit.freedesktop.org/libreoffice/core/commit/?id=8061b3e9204bef6b321a21033174034a5e2ea88e

Since the first report my machine was upgraded to Windows 10, now even bibisect repo shows the symptom. 
It's important though that you have to click on the slide background next to the playing video, so that highlight moves away to break the playback.

The problem still happens for me in current bibisect-7.2:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2fb274950e5207ca55f4f52325fb522bd44024e1
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

and nightly from yesterday:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9d8accf03984a64a4105826e55b221962628eb93
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-GB
Calc: CL
Comment 4 Timur 2021-03-17 12:03:14 UTC
Repro 7.2+ GDI and Skia in Windows somehow. 
I turned off/on Sidebar Properties. Video didn't disappear, but smaller video was playing above slide. 
Already a problem in Lo 5.3 where media control appears in Properties. 

In Skia I noticed video flickering when clicking on slide background. 
So not sure about regression, or we have two issues here. Surely needs to be kept here. So far I remove Skia from the title. 

In Linux there is no video, I guess anther bug.
Comment 5 Buovjaga 2021-08-28 14:29:03 UTC
(In reply to Timur from comment #4)
> In Linux there is no video, I guess anther bug.

Video works fine on Linux with gtk3. With kf5, one has to pause it once and then it starts working. With gen, it is just white blankness.

Arch Linux 64-bit
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 67879304f61252838a6b2e2549d7205b445776f8
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 27 August 2021