I already posted an issue regarding some bugs when handling videos within ODP documents in version 4.1 on Ubuntu 14.04. https://bugs.documentfoundation.org/show_bug.cgi?id=116345
After upgrading to version 126.96.36.199 (Ubuntu 18.04), not only this bug persists but it looks like we had some regressions making video integration fully unusable for real case uses.
Steps to Reproduce:
1. Open a new Impress document
2. Drag-and-drop a video file
3. Resize the video. Bug A: the screen flickers between the normal document and a full screen screenshot of the window
4. Resize it so that the video is only a part of the slide
5. Start presentation (F5). Bug B: video is made full screen, which is already abnormal, but also deforms the image if video hasn't the same ratio as original image
6. Connect an external monitor and start presenting (F5). Bug C: 25% of the video of the audience's screen is hidden by a white area
+. In a specific ODP of mine (~225MB in size), some video causes more important bugs:
* Scrolling over the list of slides crashes Impress (gdbtrace.log enclosed)
* In presentation mode, reaching this slides causes a black screen and Impress hanging.
I can provide this ODP in private.
Full screen video, flickering, ganging or full crash depending the case
Keep the video file in the format chosen within the editor, and no crash
User Profile Reset: No
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Created attachment 142192 [details]
gdbtrace.log file generated when viewing a slide embedding a video (only happens on a specific ODP document)
Tried with the Big Buck Bunny mp4 from bug 116345. No problems for me. The only thing I did not test was the external monitor.
Arch Linux 64-bit
Build ID: 0d2c5e0838906101e1fdea93b4a0c422690e331c
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4;
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 15th 2018
Same with gtk3 backend.
Thank you for reporting the bug. To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Created attachment 144357 [details]
[SCREENSHOT1] Juxtaposed screens: editing, audience and speaker.
Created attachment 144358 [details]
[ODP 1] The ODP file generated by Libreoffice 188.8.131.52 used for the SCREENSHOT 1
@Xisco Faulí I've done all tests in safe mode or normal mode, there's no change, so I'm switching back to UNCONFIRMED.
I've just tried to reproduced the bugs. Behavior differs according to the video file I'm using:
CASE 1. BY CREATING A NEW IMPRESS FILE: a single slide embedding a video squeezed to a small size and some text. Result in presentation mode : The video on the audience's screen is full-screened, the video on the speaker's screen does not appear, while it looked good on the editing view. See enclosed files: SCREENSHOT 1 and ODP 1.
CASE 2. BY OPENING MY OLD ODP PRESENTATION (The same initial file for which I created this ticket): That's a full crash. Additionally to the enclosed gdbtrace.log I am adding the terminal output:
(soffice:3146): GLib-GObject-WARNING **: 00:01:14.677: ../../../../gobject/gsignal.c:3492: signal name 'selection_changed' is invalid for instance '0x55d8eec6b6d0' of type 'OOoAtkObjCompTxt'
Fatal exception: Signal 11
I'm having the same problem in Linux Mint 19.1 (derived from Ubuntu 18.04).
Rescaling the frame where the video is embedded in results in flickering of the screen (switches for an instance to full-screen).
In presentation-mode the full screen is being used. Even worse, when presenting with a beamer, a full-screen is used and at the same time it is displayed full screen on the computer-screen. In this way the notes, the preview and the buttons on the computer-screen can no longer be used. The presentation hangs most of the time.
I reverted to the classical work around by using a reference-url to the local video, embedded in an image, such that vlc gets opened on top the presentation when clicking on the image.
Bernard, yoan: to check that this is not an Ubuntu-specific problem, you could try with an appimage of 6.1 or 6.2: https://libreoffice.soluzioniopen.com/
Setting to NEW for now anyway.
Tested with 184.108.40.206alphao+ in LinuxMint 19.1. Seems ok, although I haven't tested the case with an external screen. Now the video starts playing in the allocated fragment.
It looks that more people have this issue : https://ask.libreoffice.org/en/question/157815/impress-6-in-ubuntu-1804-video-playback-only-as-full-screen/
Anyhow, I will avoid the embedding of videos and use the interaction "open document" in stead, as then vlc opens and I can stop or go back some frames. I need to stop the video sometimes in order to show the audience a detail which is often overlooked.
It is funny that when one embeds a video, that then some control-buttons are available during the editing-modus (you almost don't need them while editing), where as in the presentation-modus you can't control the video at all.
Hmm, then the problem should be reported to Ubuntu https://bugs.launchpad.net/ubuntu/+source/libreoffice
Created attachment 144436 [details]
[SCREENSHOT2] Juxtaposed screens: audience & speaker with 220.127.116.11.alpha0
Video of the speaker's screen is still moved from its original place during presentation.
My own tests with LibreOfficeDev-18.104.22.168.alpha0_2018-08-23-x86_64.AppImage and my guilty files:
* Bug of the video being forced fullscreen: FIXED
* Bug of the video getting deformed: FIXED
* Bug of the video disappearing on the speaker's screen: NOT FIXED, see (1)
* Bug of the full crash: NOT FIXED, see (2)
The remaining 3 bugs with 22.214.171.124alpha0:
(1). Video on speaker's screen is present, but location has moved, see SCREENSHOT2 (video position of the audience's screen is correct)
(2). Still receiving SIGSEGV while playing my original file, I've proceeded with crashreport uploading:
(3). Endless zoom when bottom of the video is below the page is still happening. But there's a dedicated report for this: https://bugs.documentfoundation.org/show_bug.cgi?id=116345
Tested on Linux Mint 19.1
LO : Version: 126.96.36.199.alpha0+
Build ID: 58f2e4690b57f0fa7a95be3a023d54d8967f5529
CPU threads: 2; OS: Linux 4.15; UI render: default; VCL: gtk2;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-08-23_23:45:59
1. Resizing video works ok (no more flickering to full screen)
2. Video is shown on the laptop-screen in the right frame (so not full-screen), but NOT on the presentation-screen (a dark frame is shown, sometimes a white one). However if one steps back to the previous slide and then return to the slide of interest, the video is shown well. One can repeat this sequence, by closing LO and starting the presentation all over again.
Yoan: please create a new report for the crash (one issue per report).
Setting back to NEW, even though Yoan says "speaker's screen" and Bernard says "presentation screen".
As both of you are probably running X window sessions, it would be interesting, if you tried with a Wayland session. Who knows, maybe the problem does not appear under Wayland?