Re: Limited JavaScript functionality in MSW with wx.html2

Scott Talbert <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
On Fri, 31 Jan 2020, Dan Cutright wrote:

> I'm having trouble getting wx.html2 on MSW with IE backend to function
> properly.  I've posted this issue on wxWidgets/Phoenix
> (https://github.com/wxWidgets/Phoenix/issues/1319) back in August, but I've
> yet to get a reply.
> I'm using Bokeh to generate html files to be loaded into a wx.html2 object.
> Everything works fine on Mac and GTK, but MSW is missing some functionality
> (e.g., cannot drag the plot, draw a box to zoom, or toggle figure legend
> items).  There is a summary of some things I've tried in the linked GitHub
> issue above, involving Windows registry or adding "mark of the internet"...
> but no dice.  Below is a link to an example html file that works perfectly
> fine when loading with IE directly.
> 
> Has anyone else come across this issue?  Is there a work-around, or is this
> just a bug?
> 
> Does anyone know how to get a JS console readout from wx.html2?  Maybe
> there's something about the bokeh generated html file that Bokeh could help
> me with.

wxPython is (mostly) just a Python binding of the wxWidgets C++ library 
and wx.html2 is the Python binding for the wxWebView class of wxWidgets. 
As such, you may want to ask for help on the wxWidgets mailing lists as 
there may be more expertise there.

You could also try loading your page in the wxWidgets webview sample and 
see if it produces any errors there?

Additionally, I know there has been some recent work in wxWidgets on 
getting an Edge-based Webview backend supported.  I don't know the exact 
status of this, and it may take some time to get enabled in wxPython, but 
it may be a possibility down the road.

Scott

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/alpine.DEB.2.21.2001311642380.12317%40bear.techie.net.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.