[From nobody Mon Sep 21 17:19:05 2026
Received: (at submit) by bugs.debian.org; 6 Sep 2026 07:36:48 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,FOURLA,FVGT_m_MULTI_ODD,HAS_PACKAGE,SPF_HELO_NONE,
 SPF_PASS autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 48; hammy, 150; neutral, 248; spammy,
 0. spammytokens: hammytokens:0.000-+--H*Ad:N*Bug,
 0.000-+--HTo:N*Debian, 0.000-+--forky, 0.000-+--HTo:N*System,
 0.000-+--HTo:N*Bug
Return-path: &lt;agx@sigxcpu.org&gt;
Received: from honk.sigxcpu.org ([24.134.29.49]:39274)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;agx@sigxcpu.org&gt;) id 1x37Qj-002QoK-2T
 for submit@bugs.debian.org; Sun, 06 Sep 2026 07:36:48 +0000
Received: from localhost (localhost [127.0.0.1])
 by honk.sigxcpu.org (Postfix) with ESMTP id B4007FB03
 for &lt;submit@bugs.debian.org&gt;; Sun, 06 Sep 2026 09:36:41 +0200 (CEST)
Received: from honk.sigxcpu.org ([127.0.0.1])
 by localhost (honk.sigxcpu.org [127.0.0.1]) (amavis, port 10024) with ESMTP
 id CPzAODCYGKW6 for &lt;submit@bugs.debian.org&gt;;
 Sun,  6 Sep 2026 09:36:40 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sigxcpu.org; s=2024;
 t=1788680200; bh=uIJizIVgN4wwDIs9LnuL/BYBet78PXsH9Cy0ezO1hNw=;
 h=Date:From:To:Subject:From;
 b=VXzHAV/svi/tX5Tq6zpb9fPhtUxQEbRZIhsTfgOYRwWxUDEFNQ3oVKnLPd6pS4Sth
 UqKqWZn3Vgiz6crhBV3KR0DsQ30Pmwf5zGPH1Ms2golN0VCnPJskx1LdtDfehFfCJ+
 Rhk9E2NPAc+h9dTPyU1awJiuE0JKGcHkshuoHjrXDOBV1YddK9GXGyJr6n1wSGD0jf
 uEazSebYHbkcOv1LGBceFXT+GmC3T6Tc/GGmoDw8yJn/CvF5oaXaJuU1F1u2ZdotPI
 QOllILzS7OqbSC2QcpibE9H3N5oM6Ovf2e23gIAnMQXxmd0L++u1Qgdprz1cOcyfJi
 O0rHZ5E9at09Q==
Date: Sun, 6 Sep 2026 09:36:38 +0200
From: Guido =?iso-8859-1?Q?G=FCnther?= &lt;agx@sigxcpu.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: OSK unfolds way too often as gtk4 sends too many text_input.enable()
 events
Message-ID: &lt;ap0YBhzAT2FBlPYN@quark2.heme.sigxcpu.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
Delivered-To: submit@bugs.debian.org

Package: libgtk-4-1
Version: 4.23.4+ds-4
Severity: grave
Tags: upstream

gtk 4.23.1 (and later) sends zwp_text_input_v3#57.enable() enable events
not only when focusing input fields (like GtkEntry) but also when
e.g. touching in the demo selection in gtk4-demo (and many other
places):

[3397846.921] {Default Queue}  -&gt; zwp_text_input_v3#57.enable()
[3397846.965] {Default Queue}  -&gt; zwp_text_input_v3#57.set_surrounding_text(&quot;&quot;, 0, 0)
[3397846.979] {Default Queue}  -&gt; zwp_text_input_v3#57.set_text_change_cause(1)
[3397847.111] {Default Queue}  -&gt; zwp_text_input_v3#57.set_content_type(0, 0)
[3397847.146] {Default Queue}  -&gt; zwp_text_input_v3#57.set_cursor_rectangle(0, 0, 0, 0)

This leads to the OSK unfolding on each enable (in e.g. Phosh) making
the apps mostly unusable.

The text-input protocol bound is still version 1 though:
[3566470.552] {Default Queue} wl_registry#2.global(25, &quot;zwp_text_input_manager_v3&quot;, 1)
This does not happen in older GTK4 versions like 4.22.4

As this makes using any GTK4 app on touch systems mostly impossible to
use, I picked a severe severity to keep it out of testing for the moment
(please adjust as appropriate). I hope to get around to look into a fix
soon.

Upstream reference:

https://gitlab.gnome.org/GNOME/gtk/-/work_items/8349

Cheers,
 -- Guido


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 7.1.3+deb14-amd64 (SMP w/22 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgtk-4-1 depends on:
ii  adwaita-icon-theme              50.0-2
ii  hicolor-icon-theme              0.18-2
ii  libc6                           2.43-3
ii  libcairo-gobject2               1.18.4-3+b1
ii  libcairo-script-interpreter2    1.18.4-3+b1
ii  libcairo2                       1.18.4-3+b1
ii  libcloudproviders0              0.4.0-2+b1
ii  libcolord2                      1.4.8-2
ii  libcups2t64                     2.4.18-1
ii  libepoxy0                       1.5.10-2+b2
ii  libfontconfig1                  2.17.1-5
ii  libfribidi0                     1.0.16-5+b1
ii  libgdk-pixbuf-2.0-0             2.44.7+dfsg-1
ii  libgles2                        1.7.0-3+b1
ii  libglib2.0-0t64                 2.89.3-4
ii  libgraphene-1.0-0               1.10.8-5+b2
ii  libgstreamer-gl1.0-0            1.28.5-1
ii  libgstreamer-plugins-bad1.0-0   1.28.5-2
ii  libgstreamer-plugins-base1.0-0  1.28.5-1
ii  libgstreamer1.0-0               1.28.4-2
ii  libgtk-4-common                 4.23.2+ds-1
ii  libharfbuzz-subset0             12.3.2-2+b2
ii  libharfbuzz0b                   12.3.2-2+b2
ii  libjpeg62-turbo                 1:3.1.3-4
ii  libpango-1.0-0                  1.58.0-1
ii  libpangocairo-1.0-0             1.58.0-1
ii  libpangoft2-1.0-0               1.58.0-1
ii  libpng16-16t64                  1.6.58-1
ii  libtiff6                        4.7.2-1
ii  libvulkan1                      1.4.341.0-1
ii  libwayland-client0              1.26.0-1
ii  libwayland-egl1                 1.26.0-1
ii  libx11-6                        2:1.8.13-1
ii  libxcursor1                     1:1.2.3-1+b2
ii  libxdamage1                     1:1.1.7-1+b1
ii  libxext6                        2:1.3.4-1+b4
ii  libxfixes3                      1:6.0.0-2+b5
ii  libxi6                          2:1.8.2-2+b1
ii  libxinerama1                    2:1.1.4-3+b5
ii  libxkbcommon0                   1.13.1-1
ii  libxrandr2                      2:1.5.4-1+b4
ii  shared-mime-info                2.4-5+b3

Versions of packages libgtk-4-1 recommends:
ii  ibus-gtk4        1.5.34-1
ii  iso-codes        4.20.1-1
ii  libgtk-4-bin     4.22.4+ds-1
ii  librsvg2-common  2.62.1+dfsg-1

Versions of packages libgtk-4-1 suggests:
ii  gvfs  1.60.0-2

Versions of packages libgtk-4-1 is related to:
pn  fcitx5-frontend-gtk4  &lt;none&gt;
ii  ibus-gtk4             1.5.34-1
pn  libgtk-nocsd0         &lt;none&gt;
pn  scim-gtk-immodule     &lt;none&gt;

-- no debconf information
]