Version: unspecified (using KDE 4.4.4) OS: Linux Hello, Okular does not show any animation in a PDF file created by latex (at least). For example open any file with okular and adobe of the following site: http://www.texample.net/tikz/examples/tag/beamer/ I use 0.10.4 version but this happens with older versions too. Regards snvv Reproducible: Didn't try
Uses JS to do the animation we don't support JS, patches welcome.
Is this due to the lacking JS support of Okular or is the support missing in Poppler? Just stumbled upon the same Tikz animation examples and wondered what would be necessary to make Okular show them.
poppler will read and give you the JS. Now you have to do something with it. But basically if you are serious about doing this, you should look at it yourself, this is not a 15 minutes hack
(In reply to comment #1) > Uses JS to do the animation we don't support JS, patches welcome. Hi Albert, Just to clarify, what is the position of okular's devs with respect to implementing JS in okular? Are they in favour/against executing JS in Okular? Will they be happy if only enough JS is implemented to enable this feature? If so, it could be a nice GSoC project. Perhaps latex is doing animations wrong, and it should rather use some embedded player or something else that doesn't require JS (or the other way around, okular devs think that this is the correct solution and it just needs someone to implement it).
>>> Just to clarify, what is the position of okular's devs with respect to implementing JS in okular? >>> What part of "Patches welcome" was unclear?
(In reply to comment #4) > (In reply to comment #1) > > Uses JS to do the animation we don't support JS, patches welcome. > > Hi Albert, > Perhaps latex is doing animations wrong, and it should rather use some embedded > player or something else that doesn't require JS (or the other way around, > okular devs think that this is the correct solution and it just needs someone > to implement it). Hello Manuel, You may use impressive to play videos, music & animations and to do various other tasks too. We can, but it would be better to have all that in okular. Regards snvv
Given that the underlying issue is Okular's lack of JS support, I believe this bug is a duplicate of bug 177473. Also @Albert, saying that patches are welcome does not preclude the developers from having a position on an issue (#4), as I assume patches are always welcome, even if the developers are planning to fix something. ;)
Confirm and track by the JS meta-bug. Is a wishlist item though, not a bug.
I had a look at the LaTeX animate package and I think that there is not that much missing to get it working now that there is basic JS support. It seems that we need to implement the display property of JSField and the setInterval / clearInterval functions of JSApp.
*** Bug 408664 has been marked as a duplicate of this bug. ***
This is now fixed and should work with Poppler > 0.79 Link to merge request: https://invent.kde.org/kde/okular/merge_requests/10
This won't work with ConTeXt JS animated files, i.e. the found in http://dl.contextgarden.net/examples/euro-anim/
You need to open a new bug
Having a quick look at the javascript code which I got with pdinfo -js PDFNAME.pdf: https://pastebin.com/mDVysKah We support almost every thing in this PDF. The v.value = "ON"/"OFF" which is in Walk_Field/SetField when clicked is not supported. Everything else should be properly supported. I'll take a deeper look when I have the time, for now, follow Albert recommendation and open a new bug.