Re: Limited JavaScript functionality in MSW with wx.html2
Dan Cutright <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Thank for your quick reply Scott! I've noticed the Edge-based webview as well, but looked like it was a bit more involved to get it working. And since I'll also need to run this through PyInstaller, I was hoping to avoid it if possible since that might open up another can of worms. I'll be sure to give the webview sample a shot and follow-up on wxWidgets mailing list. On Friday, January 31, 2020 at 3:51:13 PM UTC-6, Scott Talbert wrote: > > 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/ed3d413f-5747-47d7-bb77-587b3e657623%40googlegroups.com.