Bug 153469 - LibreOffice Impress user interface will stop responding when opening a presentation slide containing a video clip.
Summary: LibreOffice Impress user interface will stop responding when opening a presen...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Wayland GTK3
  Show dependency treegraph
 
Reported: 2023-02-08 13:50 UTC by toadron
Modified: 2023-04-08 09:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (7.69 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-04-08 09:46 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description toadron 2023-02-08 13:50:07 UTC
Description:
Info:

Distro: Arch Linux x86_64 [core,extra,community,multilib]
LibreOffice: fresh 7.5.0-1
Tested DE: Gnome on Wayland, Sway (wlroots)

Description:

I made a presentation on the Windows version of LibreOffice 7.5.0 and inserted a video clip on one of the sheets. Then I downloaded a copy of the presentation to my Linux PC and noticed that I could not edit the slide on which the video clip was placed.

After selecting the desired slide in the navigation bar, an additional external window appears on the screen with a preview of my video clip, and the user interface stops responding. Any clicks and attempts to close the external window with the video preview does not help to continue working, as a result of which you have to restart the program and bypass the slide with the video clip side.

Steps to Reproduce:
1. Use Wayland environment with VCL GTK3 and open the presentation (https://docs.google.com/presentation/d/1uCjDS7STyYTAg-etdTDowYTbFrkGt_Z0/edit?usp=share_link&ouid=100521930268567148347&rtpof=true&sd=true), where there is one of the slides with a video clip.
2. Go to slide 13, where the video clip is embedded

Actual Results:
An additional window will open in which a preview of the video clip will be displayed and UI stop responding.

Expected Results:
I should continue to be able to edit the presentation


Reproducible: Always


User Profile Reset: Yes

Additional Info:
VCL GTK3 on Wayland is affected by the problem. There is no problem on VLC GTK4 or VLC GTK 3 on Xorg.
Comment 1 Oliver Grimm 2023-02-23 07:56:24 UTC
Works fine here with no problems (Debian testing, LO 7.5.1.1, X11, tested on both Gnome and  KDE). Can someone else check for wayland, please?
Comment 2 Oliver Grimm 2023-02-23 07:57:32 UTC
ah, didn't see the "additional info" with regards to wayland. Sorry, please just ignore my comment above ...
Comment 3 Buovjaga 2023-04-08 09:45:52 UTC
For me, it does not yet hang when changing to the slide in edit mode, but when I start the slideshow with Shift-F5 and click, it does not advance. If I Alt-Tab the focus back to the main Impress window, it hangs. It does not happen with kf5.

With a debug build I see this in the console:

warn:avmedia.gstreamer:17058:17195:avmedia/source/gstreamer/gstplayer.cxx:448: error: 'Application did not provide a wayland display handle' debug: '../gstreamer/subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c(1009): gst_wayland_sink_set_window_handle (): /GstPlayBin:playbin1/GstPlaySink:playsink/GstBin:vbin/GstWaylandSink:video-output:
waylandsink cannot use an externally-supplied surface without an externally-supplied display handle. Consider providing a display handle from your application with GstContext'
warn:legacy.tools:17058:17058:svx/source/form/fmshimp.cxx:1795: only to be used in alive mode

Arch Linux + Wayland
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 79e60bb93f69370f23010adb078b5a5de5a1e7b2
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 4 Buovjaga 2023-04-08 09:46:11 UTC
Created attachment 186542 [details]
Example file