GNU bug report logs - #52941
29.0.50; pgtk: characters typed into minibuffers inserted multiple times

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Sean Whitton <spwhitton@HIDDEN>; dated Sat, 1 Jan 2022 23:15:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 52941 <at> debbugs.gnu.org:


Received: (at 52941) by debbugs.gnu.org; 11 Jan 2022 00:11:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 10 19:11:22 2022
Received: from localhost ([127.0.0.1]:53575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n74l0-0000Fh-8H
	for submit <at> debbugs.gnu.org; Mon, 10 Jan 2022 19:11:22 -0500
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44841)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1n74ky-0000FP-2U
 for 52941 <at> debbugs.gnu.org; Mon, 10 Jan 2022 19:11:20 -0500
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 0E4485C010D;
 Mon, 10 Jan 2022 19:11:15 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Mon, 10 Jan 2022 19:11:15 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm2; bh=LiY5XsN0sRkd7v7Lcc8urIqhdm
 pJGDYBHKgHKZ4W3y0=; b=2SXjT2Wh10iHGHs85p6mXaWzutlzSt2KlAGnC9x73H
 LtDjFjYOhAtfKvxfpfaCWWHT4bkgVe+N86FsR89fOip3OwLJBkePvroFyjbQ6gcL
 RufffSPAPjiHWw73rSUDZIb7HEnIBbiy8rpPos6PnOshrQhaHXNx4emUn1JLrJ0p
 fIcGv5rG5lxVMhqzrne5qmLmobZBp9gKdlAS3DgN2Q7OgQJC8xG2N4xxsmAzzDdM
 YyXS9oGuL/BXPYVF/6R/Q2NO7J1b+PWN6w3G2+gAYbzX+YliapTK1zAy1zt/TFGG
 45SqIIbS7bqrjlqct4YsA4kqPajrwcVGU4TGJ+5HJtDA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=LiY5Xs
 N0sRkd7v7Lcc8urIqhdmpJGDYBHKgHKZ4W3y0=; b=gZWdkMR5zJyTwXp1oqREKR
 NuDai4llC2qcZdBUQ+S8DsEZVU5da7b7b7NKxGTWrVzmfHoaLugjMJS2VaE6BMul
 shum+J7vUY3sP+zoP/hY+zWh6c1Xs0setlS3xThvsELtYRFn7EQI0pwXZNydqNRa
 xDop2nTzPObEzzTxoSAC4g4XSM3zJAc18T3D6eBY9AKvOkRFr35/T5GpVnnY8crZ
 HsvfY4TRpe9oh3pEjHMr2Aeu/d0K3FZXS/K6pH0bmgJGGqrKZoi4Q+WNyMfTLauf
 Q6pioI65W01sPB+rsYA1yYh/JX4CVGz0K1zJ2Gk4hUCfjMVvCnBvR+rov7XtIMdg
 ==
X-ME-Sender: <xms:IsvcYQXrJrV90O5EmBTQHHcdZD2Iagj8iWVJXfckMelG5iGBjlYODQ>
 <xme:IsvcYUmrSl8zkJzVOHmX-m_xom2PlbHgzqSoIXbXbK__XiuUgYubZOdY9XDbf_Jxa
 VQ5CRMjLrd99kaO-w>
X-ME-Received: <xmr:IsvcYUbcWtUxg18HTc7SqtQtGTxsuPGQwaywAaQ0xjKKkQCkBGboCwnufEhH0Up1gGSK68krOzg4xQZFyH1x0Ws_mgbz2CSB1cli7FfEthEPFjCaqQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudehvddgudejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufgjfhgffffkgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu
 hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne
 cuggftrfgrthhtvghrnhepleeggefgvdeijedvhfdugfegtefgkeekueeileejjeehudeg
 geefteeghfeuffeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv
X-ME-Proxy: <xmx:IsvcYfUZAoP1nWHTqS3llu43zI00Vp0awxarGW-ZmI2-HgmdRdsRRQ>
 <xmx:IsvcYanvVku8H30qC-EuErNdOnLI4QagP95a7l8NPHrbcEaBzO4b6w>
 <xmx:IsvcYUd9CC6kE24poxHgAXeP_tMPGj_LNQOWyeAWpYOWEtpUrkTGsA>
 <xmx:I8vcYfzoRgxBZxOo3-8beTgWbUCwGdr_rheAkKWaC4uTqPBXgxFV3w>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 10 Jan 2022 19:11:14 -0500 (EST)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 708147FA7AB; Mon, 10 Jan 2022 17:11:13 -0700 (MST)
From: Sean Whitton <spwhitton@HIDDEN>
To: 52941 <at> debbugs.gnu.org
Subject: 29.0.50; pgtk: characters typed into minibuffers inserted multiple
 times
In-Reply-To: <87k0fj9hh2.fsf@HIDDEN>
References: <87k0fj9hh2.fsf@HIDDEN>
User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50
 (x86_64-pc-linux-gnu)
Date: Mon, 10 Jan 2022 17:11:13 -0700
Message-ID: <87ilurnnby.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 52941
Cc: Po Lu <luangruo@HIDDEN>, Yuuki Harano <masm+emacs@HIDDEN>,
 =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

On Sat 01 Jan 2022 at 04:14PM -07, Sean Whitton wrote:

> If the system is under heavy load, and/or Emacs is compiled with debug
> options which substantially slow it down, and fido-mode is enabled, then
> typing quickly into the minibuffer can result in typed characters
> inserted more than once.  Here is how I can reproduce it:
>
>     emacs -Q
>     M-x fido-mode RET
>     C-h v
>
> and quickly try to type "font-weight-table".  This is what I get in the
> minibuffer:
>
>     font-weweweweweweweight-tatabe
>
> Although I made at least one typo (I didn't type the 'l'), I definitely
> did not type 'we' and 'ta' that many times.
>
> I haven't been able to reproduce with icomplete-mode, but as the problem
> does not occur consistently, I am not confident it does not occur with
> icomplete-mode.

It occurred to me to try --with-x-toolkit=lucid instead of --with-pgtk.
Sure enough, I cannot reproduce the bug.  So I think the problem is
something about how pgtk receives and processes keyboard input.

In summary: I can reproduce with pgtk running as a native Wayland
application, and I cannot reproduce with the Lucid build running under
Xwayland.  In both cases, swaywm.  I have retitled the bug.

Thanks.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52941; Package emacs. Full text available.
Changed bug title to '29.0.50; pgtk: characters typed into minibuffers inserted multiple times' from '29.0.50; fido-mode: characters typed into minibuffers inserted multiple times' Request was from Sean Whitton <spwhitton@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Jan 2022 23:14:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 01 18:14:24 2022
Received: from localhost ([127.0.0.1]:59552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n3nZw-00021i-08
	for submit <at> debbugs.gnu.org; Sat, 01 Jan 2022 18:14:24 -0500
Received: from lists.gnu.org ([209.51.188.17]:53150)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1n3nZu-00021b-4B
 for submit <at> debbugs.gnu.org; Sat, 01 Jan 2022 18:14:22 -0500
Received: from eggs.gnu.org ([209.51.188.92]:38596)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>)
 id 1n3nZt-0007j6-VG
 for bug-gnu-emacs@HIDDEN; Sat, 01 Jan 2022 18:14:22 -0500
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:55661)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>)
 id 1n3nZs-00050s-3H
 for bug-gnu-emacs@HIDDEN; Sat, 01 Jan 2022 18:14:21 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 3ADDD5C00C3
 for <bug-gnu-emacs@HIDDEN>; Sat,  1 Jan 2022 18:14:19 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Sat, 01 Jan 2022 18:14:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=from:to:subject:date:message-id:mime-version:content-type; s=
 fm2; bh=sUaGMKgMLbMy3fa+o/0PXkoPBncfOiBzYghFFl3MouA=; b=hcCyTz6a
 f7lTwlvzTVRx6Aer01QobY6Broqz0VAEML0Hu125D3INW2sSG3C9K2OMCSfWIZVC
 +UfQP48DnMbn5hrkzTDUzCd6gB4bNHsgiyqc820A/Zl6IYzk94eE7Wx3UmzU3A4C
 JYX2bdpJBXBCDnoq7XcruoLfGJb5hsSy7ELmHIVTU5AASPQf+mpPSEvyEDN4Vdda
 ddZJDRSRPMAZ52JBy8i2XpEFWDfTjFVL2Ub2w+cn+eBsPZ928p964tCMmr6GG9rp
 UPDK1YmjUi/hArqlm9kKc5imSTfJULJuG4IfrrezxQRz2FP0gfVwzyq7QbfZwfhg
 ySOyCDwQzzNVyw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm1; bh=sUaGMKgMLbMy3fa+o/0PXkoPBncfO
 iBzYghFFl3MouA=; b=OhFmzhMSBj9i+Vm6CA08hyu1RROhzBps/VdFdgXNlCLoS
 Eo4An0lJrwYrNUk75wzTzQacqpEq4q7MjozyMHZFfXYPoHLjAte4SHTsJvDJRhh7
 LAoZClgIRvxvfa1g2DI8qUqsYqB+Vi2nJ/KbsrucHPFInjzFWAhMolGEm8KcABac
 az45KS5pAofZtx15s6AeEAlKAZrbaf6BEqeC+Xu8Ro1oTVEgeIKGf7IrlmFR6qPd
 7gIhQb/t/NQFGWjhLX8mnmPjmvgpo75hPoDJsXR3uHQzGdviUeLbb3517EySWUCV
 wtp68U1HWIftZQx2xtMMX3POmFN+/9bToNgwF042g==
X-ME-Sender: <xms:S-DQYTCd63ptBaUiD7jzeQBQkUbYWrhDtARPGrIWshZy_96z3Nv2vw>
 <xme:S-DQYZgpwdUS-Yq3SSm-c6ubuhVg9gEEnbtvC5o2ff83fAHOy37lGsdiRvVO9oVXa
 HwviQa5vyI3mAiSpA>
X-ME-Received: <xmr:S-DQYemdHa78T-8e5gyuDEmOaecuXfEgtcq8lsrlhSXtrSy6dVEWxMB7-MKc6PChx1S1GbUf8iMZ_k5H3cxpf6yr05YI_jmQXQxODkGuNujqeQB_xw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvkedgtdekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdttddttd
 ertdenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhp
 fihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeekffevgeeftedvteduhf
 etffeffeehheekjeefheeiffdvjeelleettdeuiedvieenucevlhhushhtvghrufhiiigv
 pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhith
 htohhnrdhnrghmvg
X-ME-Proxy: <xmx:S-DQYVz-KqRk99KoJFNdhsaLG0g83UoSxBQLii1qrBTq2NbfM6yN7A>
 <xmx:S-DQYYS56Aed1Th5XwXDU63k0urkOl31ME1bofvGYgo4JHn836SHIQ>
 <xmx:S-DQYYYxWnNU7IvAfzHGMlSRH2g9mg1npKriV24NdU4jAgyCIjiMxg>
 <xmx:S-DQYXP3d2EYYB4X2bdatZRcz0I5Mu8BHrqTK-rpOex-dzPLDa6aPg>
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Sat, 1 Jan 2022 18:14:18 -0500 (EST)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 194577F83E1; Sat,  1 Jan 2022 16:14:18 -0700 (MST)
From: Sean Whitton <spwhitton@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; fido-mode: characters typed into minibuffers inserted
 multiple times
User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50
 (x86_64-pc-linux-gnu)
Date: Sat, 01 Jan 2022 16:14:17 -0700
Message-ID: <87k0fj9hh2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.25;
 envelope-from=spwhitton@HIDDEN; helo=out1-smtp.messagingengine.com
X-Spam_score_int: -8
X-Spam_score: -0.9
X-Spam_bar: /
X-Spam_report: (-0.9 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.7 (--)

Hello,

If the system is under heavy load, and/or Emacs is compiled with debug
options which substantially slow it down, and fido-mode is enabled, then
typing quickly into the minibuffer can result in typed characters
inserted more than once.  Here is how I can reproduce it:

    emacs -Q
    M-x fido-mode RET
    C-h v

and quickly try to type "font-weight-table".  This is what I get in the
minibuffer:

    font-weweweweweweweight-tatabe

Although I made at least one typo (I didn't type the 'l'), I definitely
did not type 'we' and 'ta' that many times.

I haven't been able to reproduce with icomplete-mode, but as the problem
does not occur consistently, I am not confident it does not occur with
icomplete-mode.

-- 
Sean Whitton




Acknowledgement sent to Sean Whitton <spwhitton@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#52941; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 11 Jan 2022 00:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.