Is it possible to check and set wx.html2 to use WebKit on Windows? - webkit

Is it possible to do a combination of a check and a engine-switch on Windows for wx.html2 in wxPython 2.9.4.0 (development version)?
What I want to achieve is; to let the wx.html2 library use WebKit on Windows if Safari, Chrome or Opera (WebKit/Blink) is installed.
Does anyone have any experience with this and maybe how to achieve it? I also wonder where wx.html2 looks for the engine on each OS and how it asks to render it.
I tried using wx.webkit. But there are so many issues like; lack of documentation and the implementation of the object seems to break on different operating systems.

How does wxPython know to use Webkit? It doesn't, it's parent library, wxWidgets does a compile-time check. It assumes Webkit is installed if it's built on Mac or Linux, and assumes IE is installed if it's on Windows.
If you really want WebKit/Blink, then perhaps consider CEFPython, an embedded Chrome. There's an example at that link of a (very simple) wxPython application.

Related

Are there browsers for windows or linux that still using actual webkit engine version not blink engine?

Is there any browser for windows or linux that still using actual webkit engine version not blink engine?
This is a question that I also ask, periodically, so I can give an updated reply:
for Linux, there are several more-or-less platform-specific browsers that use webkit2-gtk (a more-or-less up-to-date WebKit2 implementation): notably Web/Epiphany and Midori. Both are rather simple/lightweight browsers.
for MS Windows, there is still the more full-fledged Maxthon 5 browser (or virus, according to some), but I have been unable to determine what WebKit version it really uses (based on its user agent string it might NOT be WebKit2). Some quick testing suggests it's a good alternative for slower hardware (many hybrid tablet PCs!) as WebKit is noticeably less resource-hungry than WebEngine (aka Chromium aka Blink). Note however that Maxthon 6 will become just another blink on the block (unless they decide to keep the dual-engine feature).
for Linux AND MS Windows (Qt-based, cross platform) there are Konqueror and Otter-Browser. The former is mostly focussed on its QtWebEngine backend, but the latter is indeed focussed on the "rebooted" QtWebKit (and aims to reimplement Opera 12; it provides installers for MS Windows).
The QtWebKit reboot is largely a 1-person effort at the moment that could probably stand a few more contributors, notably to merge a more recent WebKit version.
according to wikipedia, maxthon browser still uses webkit (You can switch engines in Maxthon though)
As of version 3, Maxthon supports two web browser engines: WebKit and
Trident
Wikipedia

How to test LOCALLY an rails application layout on IE7 and IE8 from an MacOSX?

So, I'm developing my rails applications on my mac, thro WEBrick at 0.0.0.0:3000 and I need to test how the layout are showing on PC running Windows with Internet Explorer 7 and IE8.
I have tried to test it thro Wine + Wine Bottler, but I can't access that point.
And now I'm thinking to install VirtualBox to give a try, but before doing this, it will be good to know from others if it will or not work for me in this case.
Any advice?
Thanks!
I use VirtualBox for interface testing. I've had no problems with it at all. I have an external drive with various disk images for firing up various versions of Windows and thus various versions of IE as well as Firefox and Chrome. Works a treat and no complaints.
We have used VirtualBox and a program called IETester:
http://www.my-debugbar.com/wiki/IETester/HomePage
It works well, even for IE6 although there are some very minor differences for IE6.
Makes it very quick to test in all versions of IE as you can have a tab for each.
Give it a go.

Direct3D app screws up XULRunner

I have an app using a render engine which can switch between D3D and OpenGL (on Windows at least!) We also use XULRunner for embedded web-browser functionality. XULRunner also appears to use D3D and when our engine is in D3D mode, XUL stops working - it just renders black the whole time.
"Use OpenGL" isn't the answer I'm looking for, so what can I do? We are using D3D9.
edit: Apparently GL support is immature, on non-Windows platforms no hardware acceleration is used by default. We've tried to disable it but either there is another bug, or we're not using the right flags. I can't find a good reference for them.
edit: Current release versions of XULRunner as used in FF 3.x don't support hardware acceleration. And yet still, the moment a D3D9 device is created, the Gecko render engine starts painting solid black.
An old question, but both these threads have answers:
DirectX Firefox Plugin rendering artifacts
Writing a plugin using NPAPI + D3D. It works on Firefox, but the browser blacks out. Why?

Multiplatform (Win, Mac, Linux) development environment to achieve native look-and-feel? (Just as Dropbox)

I've noticed that all betas for Dropbox are released simultaneously for Windows, Mac and Linux. How do they do that? Anyone knows which platform they're using? I'm aware that there are many native -very impressive, actually- functions in each of the platform clients, but they seem to release critical bug fixes efortlessly for all platforms.
So any idea of which GUI platform they're using?
The Linux version includes files such as wx._windows_.so, libwx_gtk2*.so, etc. (I haven't checked the others), so I suspect Dropbox uses wxWidgets.
Qt is a popular cross-platform application and GUI framework with native look-and-feel.
I don't know what Dropbox uses for all its supported platforms, but it looks like its linux client uses at least Gtk: Dropbox linux System Requirements.

Webkit browser & automation

Have anyone come across open source tools/framework for Webkit browser test automation?
There is (not tried) WebAii Automation Framework where the current Beta 2.0.0.1 has Safari 3 support added on windows (it's free but I don't think it's opensource).
If you want do it yourself:
On Apple you should be able to script it AppleScript or from
MAC OS X > 10.4: there is Automator
On Windows you might consider using P/Invoke and looking at the WinLauncher tool from WebKitTools
I haven't seen a framework to run the tests but if you're looking for input to test against there is Ian Hickson's adhoc and evil test suites in addition to the traditional acid tests.
Which WebKit? Selenium seems to have drivers for several WebKit-based browsers.
WebKit itself has a test suite, to be implemented by each platform, which the WebKit documentation calls DRT or DumpRenderTree (see also LayoutTestController).