<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gtk on WhyNotHugo (雨果)</title><link>https://whynothugo.nl/tags/gtk/</link><description>Recent content in Gtk on WhyNotHugo (雨果)</description><generator>Hugo</generator><language>en</language><managingEditor>hugo@whynothugo.nl (Hugo Osvaldo Barrera)</managingEditor><webMaster>hugo@whynothugo.nl (Hugo Osvaldo Barrera)</webMaster><lastBuildDate>Mon, 22 Jun 2026 00:35:55 +0200</lastBuildDate><atom:link href="https://whynothugo.nl/tags/gtk/posts.xml" rel="self" type="application/rss+xml"/><item><title>Input methods in GTK4 apps on Wayland</title><link>https://whynothugo.nl/journal/2026/06/22/input-methods-in-gtk4-apps-on-wayland/</link><pubDate>Mon, 22 Jun 2026 00:10:05 +0200</pubDate><author>hugo@whynothugo.nl (Hugo Osvaldo Barrera)</author><guid>https://whynothugo.nl/journal/2026/06/22/input-methods-in-gtk4-apps-on-wayland/</guid><description>&lt;p&gt;When trying to type using an input method on GTK4 it simply doesn&amp;rsquo;t work. The
same input methods work on GTK3, Qt5, Qt6, and a variety of other applications
which don&amp;rsquo;t use any of these toolkits. GTK4 is the sole outlier.&lt;/p&gt;
&lt;p&gt;Running with &lt;code&gt;WAYLAND_DEBUG=1&lt;/code&gt; reveals that GTK4 applications don&amp;rsquo;t even try to
bind to the &lt;code&gt;zwp_text_input_manager_v3&lt;/code&gt; global. A peek through GTK4&amp;rsquo;s code
indicates that the default input method backend is &lt;code&gt;simple&lt;/code&gt;, which is really a
pseudo-backend which means &amp;ldquo;don&amp;rsquo;t use any input method&amp;rdquo;.&lt;/p&gt;</description></item></channel></rss>