GTK4's Broadway HTML5 Backend Coming Back To Ubuntu, Debian

Written by Michael Larabel in GNOME on 22 August 2022 at 05:20 AM EDT. 7 Comments
GNOME --
For the past decade going back to the early GTK3 days there has been the "Broadway" back-end that allows for GTK interfaces to be rendered within HTML5 web browsers. Aside from demos and other toys, there hasn't been too much widespread use reported with this GTK HTML5 back-end and some distributions like Ubuntu and Debian haven't been shipping the Broadway support with the newer GTK4. However, that is changing now for Debian and with this autumn's release of Ubuntu 22.10.

Ubuntu 21.10 and 22.04 LTS didn't ship with the GTK4 Broadway back-end support while Ubuntu 21.04 did provide gtk4-broadwayd. Upstream in Debian they disabled it over the apparent lack of use. When GTK 4.4 was uploaded to the archive it was noted:
Disable Broadway (HTML) backend. It isn't clear whether this is used in practice. If we disable it now, enabling it later if requested will not be an ABI break, but if we enable it now, we have to keep it enabled indefinitely.

So who is actually using this GTK HTML5 back-end? It turns out there are a few users at least. Pidgin instant messaging app developers rely on the Broadway code for running their unit tests. Both the Cambalache and Deckard apps also make use of it.


Cambalache


Cambalache is a rapid application development (RAD) tool for GTK 3/4 with a MVC design and data model first approach. Deckard meanwhile is a web-based Glade runner.

The lack of GTK4 HTML5 Broadway support has been addressed upstream in Debian and also picked up for the upcoming Ubuntu 22.10. There had been this bug report going back to October of last year over the lack of Broadway support affecting Cambalache.

Any other interesting real-world uses of GTK Broadway out there? Let us know in the forums.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week