Bug 85859 - .uno:InsertSound and .uno:InsertVideo show a grey box
Summary: .uno:InsertSound and .uno:InsertVideo show a grey box
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 14:18 UTC by Yousuf Philips (jay) (retired)
Modified: 2016-01-26 10:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (101.03 KB, image/png)
2014-11-04 14:18 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-11-04 14:18:09 UTC
Created attachment 108891 [details]
screenshot

In Calc, if you go to Insert > Object > Audio or Insert > Object > Video, this doesnt work and simply puts a gray box on the sheet. Tested this on 3.3.0 (this gave an transparent box with a Generic error dialog), 4.2.6, 4.3 daily and master.

Version: 4.4.0.0.alpha1+
Build ID: ad6d94009cf8ea526eb70bf1a07e5c6a21320f83
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-11-04_00:14:41
Comment 1 raal 2014-11-05 08:10:44 UTC
I can confirm with LO 4.3.2, Win7. Error message : generic error OLE
Comment 2 Julien Nabet 2014-11-05 22:07:45 UTC
On pc Debian x86-64 with master sources updated yesterday, I don't reproduce this.
I get each time the dialog box to select a file.
Comment 3 Yousuf Philips (jay) (retired) 2014-11-06 01:38:07 UTC
(In reply to Julien Nabet from comment #2)
> On pc Debian x86-64 with master sources updated yesterday, I don't reproduce
> this.
> I get each time the dialog box to select a file.

And what do you get after you select a file and click to insert it?
Comment 4 Julien Nabet 2014-11-06 20:22:51 UTC
On pc Debian x86-64 with master sources updated today + insert mp3, I could reproduce the problem.

I noticed these console logs:
warn:legacy.osl:5303:1:comphelper/source/container/embeddedobjectcontainer.cxx:396: A freshly create object should be running always!

warn:comphelper.container:5303:1:comphelper/source/container/embeddedobjectcontainer.cxx:292: Unknown object!
warn:legacy.tools:5303:1:svtools/source/misc/embedhlp.cxx:571: Can't retrieve current graphic!
warn:comphelper.container:5303:1:comphelper/source/container/embeddedobjectcontainer.cxx:292: Unknown object!
warn:comphelper.container:5303:1:comphelper/source/container/embeddedobjectcontainer.cxx:292: Unknown object!
warn:embeddedobj:5303:1:sfx2/source/view/ipclient.cxx:979: SfxInPlaceClient::DoVerb: exception caught: 
warn:legacy.osl:5303:1:tools/source/rc/resmgr.cxx:701: file:///home/julien/compile-libreoffice/libreoffice/instdir/program/../program/resource/ofafr.res
Class: 272, Id: 32001. Cannot load resource! 
Resource Stack

warn:svtools.misc:5303:1:svtools/source/misc/ehdl.cxx:423: ErrorContext cannot find the resource
warn:comphelper.container:5303:1:comphelper/source/container/embeddedobjectcontainer.cxx:292: Unknown object!
warn:comphelper.container:5303:1:comphelper/source/container/embeddedobjectcontainer.cxx:292: Unknown object!
Comment 5 QA Administrators 2015-12-20 16:11:25 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.4 or later)
   https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 

1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 

3. Leave a comment with your results. 

4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 

4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-12-20
Comment 6 Maxim Monastirsky 2016-01-25 14:55:01 UTC
.uno:InsertSound and .uno:InsertVideo don't exist anymore in master (since 41dde8319cbbdc4a8224d348a3969d34841845ed).
Comment 7 Yousuf Philips (jay) (retired) 2016-01-26 10:43:28 UTC
Hi Maxim,

Eliminating the code part of the UNO commands is fine, but it would be useful to retain the UNO commands and have them point to the code for .uno:InsertAVMedia, but modified to accept only audio or only video files.