ZhenxingWu / pywebkitgtk

Automatically exported from code.google.com/p/pywebkitgtk
Other
0 stars 0 forks source link

Support SMIL animation #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open the browser demo
2. Navigate to: http://live.echo-flow.com/svg/scrolling-colors.svg
3.

What is the expected output? What do you see instead?

The colours should scroll horizontally from left to right. Instead, they are 
static.

The following output is provided on the command-line:

** (browser.py:3731): DEBUG: NP_Initialize
** (browser.py:3731): DEBUG: NP_Initialize succeeded
** (browser.py:3731): DEBUG: NP_Initialize
** (browser.py:3731): DEBUG: NP_Initialize succeeded
** (browser.py:3731): DEBUG: NP_Initialize
** (browser.py:3731): DEBUG: NP_Initialize succeeded
** (browser.py:3731): DEBUG: NP_Initialize
** (browser.py:3731): DEBUG: NP_Initialize succeeded
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1)
OpenJDK Client VM (build 16.0-b13, mixed mode, sharing)

It's also not clear to me why it's starting the JVM.

What version of the product are you using? On what operating system?

Ubuntu 10.04 with libwebkit-1.0-2 and python-webkit 1.1.7-1 from apt.

Please provide any additional information below.

I'm not sure if this issue is due to the python webkit bindings, or my misuse 
of the webkit API (perhaps I need to explicitly turn on SMIL when instantiating 
the renderer), or due to constraints in the Ubuntu version of libwebkit 
(perhaps it is an old version, or the version in apt has not been compiled with 
support for SMIL). Any insight into this would be appreciated.

Original issue reported on code.google.com by otakuj...@gmail.com on 11 Oct 2010 at 1:24

GoogleCodeExporter commented 8 years ago
I think you're using an old version - WebKitGtk (stable) is currently at 1.2.5 
http://webkitgtk.org/?page=download. PyWebKitGtk (stable) is 1.8. 

I just tried the URL you mentioned in your report and it loads fine in the 
latest WebKitGtk and PyWebKitGtk. 

Please try the stable versions first. If that doesn't work, I guess you need to 
ping the Ubuntu maintainers to update their packages.

No action required from pywebkitgtk's side here.

Cheers,
Jan

Original comment by jmalo...@gmail.com on 22 Oct 2010 at 11:47