Issue 69971 - interactive makros executed twice
Summary: interactive makros executed twice
Status: CLOSED DUPLICATE of issue 66981
Alias: None
Product: Impress
Classification: Application
Component: viewing (show other issues)
Version: OOo 2.0.3
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: christian.guenther
QA Contact: issues@graphics
URL:
Keywords: needmoreinfo, oooqa
: 70044 73202 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-09-29 10:08 UTC by jaywalker
Modified: 2007-03-02 10:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jaywalker 2006-09-29 10:08:18 UTC
In an impress presentation macro execution is assigned to an object, the macro 
is executed twice when started in full screen presentation. 
This also applies to the latest release candidate. 
I am using debian sarge with xorg packages from www.backports.org. 
 
Regards 
Heiner
Comment 1 wolframgarten 2006-09-29 12:42:47 UTC
Reassigned.
Comment 2 wolframgarten 2006-10-05 09:35:55 UTC
*** Issue 70044 has been marked as a duplicate of this issue. ***
Comment 3 ulutte 2006-10-05 09:51:39 UTC
Hi,

While looking for a way to play a video, I found this ugly trick :

I put the file "kshell" in /opt/openoffice.org-2.0/program/ containing the script:

#!/bin/sh
exec `echo $2 | cut -b 8-`

This will allow to launch directly the program without having to go through a
browser like konqueror or firefox.
So you can again use the "run program" interaction to start mplayer in impress.
For me, it is the only solution to start a video.

But even with this trick, the program is launched twice, as with a macro
intercation. I think the function launching an external program is the same and
is broken.

Please help solving this bug since it is the _only_ convenient way to play a
video under linux. So it is really _critical_ for many users and I have seen
many comments about that on the forums.

I'm voluntering to solve this, but I need at least a pointer to the file or the
directory where to look in since I am totally newby with oo programming and the
source is like a jungle for me.

THX
Comment 4 jaywalker 2006-10-05 10:11:09 UTC
Another temporary solution is this: 
 
Global cnt1 as Integer 
Sub startvideo 
	if cnt1=0 then 
                
shell("/usr/bin/mplayer",10,"-fs /home/markert/sync/videos/mirrorbot/eve_motor.avi",true) 
		cnt1 = 1 
	else 
		cnt1 = 0 
	end if 
End Sub 
 
Not very nice, but lets the video play only once in slide show mode. If 
something fails or OOo decides to work correctly, one simply has to click a 
second time to actually launch the video. 
It doesn't work with a static cnt1 variable (why?). 
 
Regards 
Heiner 
 
Comment 5 christian.guenther 2007-01-15 17:09:05 UTC
*** Issue 73202 has been marked as a duplicate of this issue. ***
Comment 6 Rainer Bielefeld 2007-02-03 08:06:35 UTC
@jaywalker 
Please attach a small sample file.
Comment 7 christian.guenther 2007-02-12 13:24:25 UTC
I can't reproduce the bug.
could you attach the macro to reproduce the bug?
Comment 8 christian.guenther 2007-03-02 10:29:39 UTC
Reopen the issue
Comment 9 christian.guenther 2007-03-02 10:30:57 UTC
In my mind this issue is duplicate to issue 66981

*** This issue has been marked as a duplicate of 66981 ***
Comment 10 christian.guenther 2007-03-02 10:31:31 UTC
I close the issue as duplicate.