Bug 132793

Summary: Impress: add control to play audio from slides
Product: LibreOffice Reporter: negdacham
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: buzea.bogdan, heiko.tietze, notinteresting
Priority: low    
Version: 3.3.0 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=72792
https://bugs.documentfoundation.org/show_bug.cgi?id=151394
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 101522    
Attachments: PPTX file with audio saved by Powerpoint 16.16.21 (200413)
Video of Powerpoint playing embedded sound in PPTX file
Screen video of LO not playing Powerpoint audio

Description negdacham 2020-05-06 23:56:35 UTC
Description:
I receive slides with audio whose extension is pptx. However, when opening the slide in trying to play the audio, instead of a button with the option to play the audio, an object appears with a video icon, that is, a simple image and nothing else.

Steps to Reproduce:
1.Get a slide made with PowerPoint (pptx) that contains a recorded audio.
2.Try to open the audio with LibreOffice Impress

Actual Results:
Sorry, I don't know. This error is simple.

Expected Results:
Sorry, I don't know. Thank you for you time. I will be great if we can reproduce audios from PowerPoint in LibreOffice.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 Andrew Watson 2020-05-11 20:09:46 UTC
Created attachment 160701 [details]
PPTX file with audio saved by Powerpoint 16.16.21 (200413)

Audio test Powerpoint file - audio plays in Powerpoint, but not in LO Impress.
Comment 2 Andrew Watson 2020-05-11 20:15:26 UTC
Created attachment 160702 [details]
Video of Powerpoint playing embedded sound in PPTX file
Comment 3 Andrew Watson 2020-05-11 20:19:38 UTC
Confirmed with:

Version: 6.4.3.2
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 4; OS: Mac OS X 10.11.6; UI render: default; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded

-- AND --

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

See attached sample PPTX file that Impress doesn't seem to be able to play, and MP4 movies of Powerpoint 16.16.21 running under Mac OS 10.11.6 playing the embedded sound in this PPTX file.

Setting status to NEW, adjusted Earliest Version.
Comment 4 Andrew Watson 2020-07-08 08:58:52 UTC Comment hidden (obsolete)
Comment 5 Timur 2020-10-05 14:02:28 UTC
I don't repro this, I can play sound in Win with LO 6.4 and LO 7.1+ both in presentation and from slide, using play control in sidebar.
Please explain, what's exact bug for you. Looks like enhancement request to have control on the media, not using sidebar. 
While MSO video is clear, I don't get that media control in MSO 2016.
Comment 6 Timur 2020-10-06 06:58:23 UTC
(In reply to Timur from comment #5)
> While MSO video is clear, I don't get that media control in MSO 2016.
OK, I could finally. 

I change the title to enhancement. 
Question for UX is: should we add media control on right-click like in MSO or add Preview in existing right-click menu or it's enough to have play control in sidebar.
Comment 7 Heiko Tietze 2020-10-06 07:57:18 UTC
(In reply to Timur from comment #6)
> Question for UX is: should we add media control on right-click like in MSO
> or add Preview in existing right-click menu or it's enough to have play
> control in sidebar.

Powerpoint has a floating widget popping up on hover; guess the expectation is either this or to start playback on click (and show a tooltip on hover). We also need a configuration whether to autoplay (as today) or not (the sidebar has room for this). Last but not least, the icon is quite ugly.

Workaround is to add an image/shape/button and assign an interaction on click with a link to the audio file.
Comment 8 Andrew Watson 2020-10-06 10:13:28 UTC
Created attachment 166116 [details]
Screen video of LO not playing Powerpoint audio

There seems to be no way of getting the Powerpoint audio to play under LO runnin on the Mac.
Comment 9 Andrew Watson 2020-10-06 10:18:34 UTC Comment hidden (no-value)
Comment 10 Timur 2020-10-08 06:45:35 UTC Comment hidden (obsolete)
Comment 11 Andrew Watson 2020-10-08 07:50:24 UTC
(In reply to Timur from comment #10)
> Andrew, what you are doing is hijacking of general enhancement request with
> specific Mac issue. For that you can search other bugs and, if not found,
> open a new one, marking Mac OS. Best is to look for Max users here and CC
> them asking to test.

"Hijacking" is a very loaded word. Please use it with care!

The OP's summary (later overwritten) was "With LibreOffice Impress I can't play audio from slides made with PowerPoint". The OPs' expected results say "I will be great if we can reproduce audios from PowerPoint in LibreOffice" (I suspect "I" was meant to be "It" :-).

That's the bug I was confirming is present on LO under MacOS.

An enhancement request for better audio controls on all Impress files is valid and helpful. However, the OP was reporting inability to play audio on imported PowerPoint files, not asking for a more convenient way to play audio that can already be played.