[PC-BSD Pbi-dev] Experimental process-per-tab browser created with Qt, XEmbed
dejamuse at yahoo.com
Thu Apr 23 16:50:59 PDT 2009
Now THIS would make a hell of a PBI and score a real coup over Ubuntu. Take up a collection, send him some bux and get him to do it exclusively for PCBSD. Probably not, but....
Experimental process-per-tab browser created with Qt, XEmbed
A KDE developer has used Qt to make a simple proof-of-concept web
browser that manages each tab in a separate process, just like Chrome.
This was achieved by using XEmbed and the D-Bus interprocess
By Ryan Paul |March 31, 2009 - Ars Technica
open source Chrome web browser manages each tab in a separate process
in order to improve the program's robustness and security. The
potential benefits and technical challenges of this experimental
approach have attracted the interest of software developers. Several
recent proof-of-concept projects have emerged to demonstrate how
similar effects can be achieved with various development toolkits.
developer Ivan Čukić has published a screenshot of a simple
process-per-tab demo that he made for Linux with the Qt framework. He
used XEmbed, an X Window System protocol that allows the contents of
any window to be embedded directly in the widget layout of another
program. Qt provides simple wrapper APIs that make XEmbed easier to
For rendering the HTML, he used Qt's QWebView widget.
In his proof-of-concept browser, each tab is a separate QWebView
instance in an external process that is integrated in the host window
via XEmbed. To control the individual tabs, he uses the D-Bus
interprocess communication mechanism. He says that the idea was
partially was inspired by Vladimir Kuznetsov's Embed Window plasmoid.
intends to make the source code for his Chrome-like browser hack
available after he has had an opportunity to clean it up. It's
obviously not intended to be used as a fully functional browser, but it
could serve as a useful example of how to implement similar
multi-process capabilities in other Qt applications.
Dynamics has implemented a similar (but more complete) Chrome-like
proof-of-concept browser called Stainless for Mac OS X. Stainless takes
the concept further with totally unique features like support for
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pbi-dev