I use the LaTeX 'multimedia' package to show movie files within my pdf presentations. The package has an option 'showcontrols', which should show & enable the movie player controls while playing the movie. This does work, but only during the first time the movie is played. Clicking on the movie again to play it a second time plays the movie, but the controls are not there.
I can make the controls reappear by either reloading the file, or by switching to presentation mode (or back).
Created attachment 82914 [details]
Example pdf file
Created attachment 82915 [details]
The movie played by the pdf
Created attachment 82916 [details]
The corresponding tex sources
Git commit 5955d97af740709afa50f2a74ba63faa513ccb15 by Albert Astals Cid.
Committed on 19/10/2013 at 17:05.
Pushed by aacid into branch 'KDE/4.11'.
Fix Movie player controls sometimes only show up at the first playing of the movie
M +1 -0 ui/videowidget.cpp
Thanks, Albert. Maybe it's too late in the day, but I don't actually see any difference with the patch. The bug is still there. Is that possible?
It's probably too late in the day.
I have recently updated my entire system to Debian testing, and recompiled poppler and okular (from git master) from scratch. That was earlier in the day :-) still I keep having the same problem as described originally. Albert, can you recommend something that I could do to help and debug this?
Only reason i can find is that you're not compiling or running it correctly. Add some code that crashes in VideoWidget::play, compile and run, and if it does not crash, it's because you're doing something wrong.
Some code that crashes:
int *a = 0; *a = 33;
I purged the system okular + libraries from my computer, just to be sure I am not secretly starting that one.
I cannot make okular crash by placing that line into VideoWidget::play, and not by putting it into the VideoWidget constructor, either. I can make it crash, however, when putting it into main(), or into Shell::fileOpen(). Does it make sense to try more places? Since I don't know KDE/QT programming I would need some help on what places to try.
Read the last bit of http://okular.kde.org/download.php
Oh stupid me.
I know what it says on that page, and I had followed those instructions. But on rechecking I remembered that I had a second old instance of okular compiled and forgotten a while ago in a temporary directory. And of course the relevant paths pointed to that one first...
Anyway, apologies, and many thanks for your time.
Just to confirm, the fix is working, right?
Yes, thank you.