Apache OpenOffice (AOO) Bugzilla – Issue 52264
interaction 'run program' is defect
Last modified: 2017-05-20 11:08:39 UTC
Assigning the interaction 'run program' to an object is defect. Explanation: 1. insert object 2. assign interaction: 'run a program' 3. point to a (bash-)script 4. clicking object _should_ start interaction, meaning: execute script Defect: standard web browser is opened displaying the script as text file Because this method is often used to start displaying movies in a presentation with an external program and it is a basic functionality, I raised the prority. Regards, blind
Reassigned.
Set to new and change the target.
I can reproduce te bug. The bahaviour of the browser depends on the settings of the browser. Please have a look.
I just wanted to let you know that I still have this problem with OOo-2.0.2.
This is a serious problem for me. I used this feature frequently in OO1.X. It seems that it should be very, very easy to fix it.
This is the only convenient way to launch a video under linux. When you are under KDE, it is "konqueror myscript.sh" that is launched which popups a stupid confirmation dialog preventing to use it in a live presentation. Please do something to revert to the 1.4 series behavior. THX
I can't believe that this bug is still not fixed in 2.4.0...
retarget
This bug is indeed still not fixed in 2.4.0 but its behavior is degenerating with time. Now it is impossible to launch a program. When using strace to debug, it seems that when you try to launch a program, say "/home/me/my_program" the interaction function invocation becomes "/home/me/file:///home/me/my_program" which yields obviously an error. Seems that this has been implemented without testing. This feature is still critical to launch a video since with the default function it is still impossible to finely tune the video behavior like playing the video when clicking on it or doing auto-repeat.
3.1 contains a new feature to start/pause/stop movies as part of the custom animation sequence
I understand the demand to create presentations that execute programs. The question is, how to implement it that it does not have a security impact on other users. Nobody wants to open a 'funny' presentation with a screen sized image that executes "c:\windows\format c:\" without a warning. But a warning all the time would prevent the ability to script background audio/video. cl->fl: do you have an opinion on this?
FL->CL: OOo provides security settings for macros. (see Tools-Options-OpenOffice.org-Security-Marco Security). Is it possible to use those security settings for actions in Impress also? I guess we would need a new message box in Impress launched everytime an action tries to start something outside of Impress. What do you think?
Using the macro security settings or a dialog each time the document is opened is a very workable approach.
I investigated a little more into this issue to find out what other options I have than using SID_OPENDOC. I tried osl_executeProcess which at least under windows didn't start any applications either. I asked hro and he said the better way to go would be to use the service SystemShellExecute. Then I found out that SID_OPENDOC implementation in sfx2 already uses this service. And it executes scripts and executables under windows but not under linux. This is both inconsistent and a security issue of some sort but it seems to be a more general issue and not only impress related. cl->mba: I think the framework team is better suited to handle this one, please dispatch at your leisure...
Reset assigne to the default "issues@openoffice.apache.org".