Gtk+ HTML backend update

The last few days I spent fixing up some more details in the new HTML5 gdk backend. Not everything is supported yet (keyboard input in particular is very weak), but much more things work now. Even thought the backend is not of production quality it is now good enough that I think its interesting for a larger audience to play around with. So, today I merged the branch into the Gtk+ master branch (i.e. what will be Gtk+ 3.2).

The new multi-backends setup in Gtk+ 3.0 makes this much easier to test. All you have to do is build Gtk+ with –enable-x11-backend –enable-broadway-backend.This will give you a normal X11-based Gtk+ where you can enable the broadway backend at runtime by setting the GDK_BACKEND enviroment variable.

The backend only supports firefox 4 atm, and Mozilla disabled websockets by default, so you have to enable enable websockets for any input to work. However when this is done you can test any app by running:

GDK_BACKEND=broadway your-application&

I recorded a small screencast to show this stuff: (webm source file here)

Note that the recording is using a local connection, it will be slower over the network depending on the network bandwidth.

60 Responses to “Gtk+ HTML backend update”

  1. tomaszf says:

    Great work! One of very few things lately I would call impressive. Thanks for wow moment I experienced after I launched gnome-calculator in my browser :)

    Few remarks:
    Currently one client only? Are there chances to improve responsiveness? It’s now worse than rdp/nxserver.

  2. Thomas says:

    Great work !!!

  3. […] Gtk+ HTML backend update ” Alexander Larsson ( […]

  4. […] más información visita el artículo de Alexander Larsson Etiquetas: 3.2, GTK+, HTML5, […]

  5. DaVince says:

    Very nice. Looking forward to it. I was kinda hoping you were going to have it work with more browsers at this point, but it’ll get there in due time.

    To answer your question from two blog posts ago:
    I would install the software that isn’t available in Windows on my little server netbook, then access them through this remotely. No need to run an entire VNC server (and hopefully this is more responsive)!

    I might offer some of those tools available to others too, for example, for collaborative editing.

  6. […] With Gnome 3.0 being released I had some time to spend on the broadway Gtk+ backend. […]

  7. […] GNOME и мантейнер таких проектов, как Nautilus, Gnome-vfs и Dia, сообщил о том, что GDK-бэкенд (GIMP Drawing Kit), позволяющий […]

  8. ivan says:

    do you have in plan create a web server for these app?