From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 01 18:14:24 2022 Received: (at submit) by debbugs.gnu.org; 1 Jan 2022 23:14:24 +0000 Received: from localhost ([127.0.0.1]:59552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3nZw-00021i-08 for submit@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 ) id 1n3nZu-00021b-4B for submit@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 ) id 1n3nZt-0007j6-VG for bug-gnu-emacs@gnu.org; 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 ) id 1n3nZs-00050s-3H for bug-gnu-emacs@gnu.org; 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvkedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdttddttd ertdenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhp fihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeekffevgeeftedvteduhf etffeffeehheekjeefheeiffdvjeelleettdeuiedvieenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhith htohhnrdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; 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 To: bug-gnu-emacs@gnu.org 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@melete.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.25; envelope-from=spwhitton@spwhitton.name; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 10 19:10:35 2022 Received: (at control) by debbugs.gnu.org; 11 Jan 2022 00:10:35 +0000 Received: from localhost ([127.0.0.1]:53568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n74kE-0000Dr-WC for submit@debbugs.gnu.org; Mon, 10 Jan 2022 19:10:35 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:57079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n74kC-0000Db-Dm for control@debbugs.gnu.org; Mon, 10 Jan 2022 19:10:33 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id CA74E5C00DA for ; Mon, 10 Jan 2022 19:10:26 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 10 Jan 2022 19:10:26 -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=A9J/mckxQC9NM1+zF5rhRAiZsnjdGXFoXC0y+kjus0U=; b=1ifTunfL UNa9dCqfmbDWfy5LjldFtUN4XX2guauJXP0Y3s/3WQp3bILACBEqqlP+M+4ID7kz CN/2eNOlxft0A5N33VxemUXKLiECYv/9mUSu8dItOC6wJsD0Ayi235iTCkvlKG03 0T1LtRvSOzDK2OC8vGNQzVeSaJBVZw1XB55iXhVDEmsSjhOKb+hobem/fwpgZkiL pz9ZF0NnPfMDXyrPpytRnli13e4R8Kv3tuXy9G/jHkCrUHNARg4TrHXTikh/0R1S dwINRKQkd36XCU1u4tGeXrJv+OLBobwQLoem0fIXK+CIJuNX8aFDkPmBYzRf0dwO YiE263jjv7a/+g== 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=A9J/mckxQC9NM1+zF5rhRAiZsnjdG XFoXC0y+kjus0U=; b=J4WEMeGHxCH2D4cOy1Kly8kSpQQBwRLIhY1Jqvzd/WGES F9WcHvLL1lxqY8XWc2IdIxKcOCN8vedqA/P72WBOzLk25szwnZfJuf8vEjA7WzX5 oIpHBWJosujXrla0ILUl4wsEdQzS9yjaxmnWCITr+vUk1jl2Ch9qoFO0yOc/o6ff 7FHLqp3sbdOa9Q6Lr2EU1+3Rdd+71LqbITbcwd5pdo3Vlh/UDtOIRQe1XiYSv3SU 3dmWHptz+LJJSKOHHa+LvW4mbvzuJMYW6QUS+St2uvITN/r1Vyz1RMPuTvc8RA4Y H1V7eB2M5pD4FL8sGA2v3+/Y2XWSUarShpK3f2r5g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudehvddgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdttddttd ertdenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhp fihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeekffevgeeftedvteduhf etffeffeehheekjeefheeiffdvjeelleettdeuiedvieenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhith htohhnrdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 10 Jan 2022 19:10:26 -0500 (EST) Received: by melete.silentflame.com (Postfix, from userid 1000) id B810D7FA7A9; Mon, 10 Jan 2022 17:10:25 -0700 (MST) From: Sean Whitton To: control@debbugs.gnu.org Subject: retitle User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Mon, 10 Jan 2022 17:10:25 -0700 Message-ID: <87k0f7nnda.fsf@melete.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) retitle 52941 29.0.50; pgtk: characters typed into minibuffers inserted multiple times thanks -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 10 19:11:22 2022 Received: (at 52941) by debbugs.gnu.org; 11 Jan 2022 00:11:22 +0000 Received: from localhost ([127.0.0.1]:53575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n74l0-0000Fh-8H for submit@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 ) id 1n74ky-0000FP-2U for 52941@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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudehvddgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnhepleeggefgvdeijedvhfdugfegtefgkeekueeileejjeehudeg geefteeghfeuffeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: 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 To: 52941@debbugs.gnu.org Subject: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times In-Reply-To: <87k0fj9hh2.fsf@melete.silentflame.com> References: <87k0fj9hh2.fsf@melete.silentflame.com> 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@melete.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52941 Cc: Po Lu , Yuuki Harano , =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 11 04:44:38 2022 Received: (at 52941) by debbugs.gnu.org; 11 Jan 2022 09:44:38 +0000 Received: from localhost ([127.0.0.1]:54160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7Dhm-0003d0-4X for submit@debbugs.gnu.org; Tue, 11 Jan 2022 04:44:38 -0500 Received: from mail-ot1-f50.google.com ([209.85.210.50]:36654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7Dhk-0003cf-8K for 52941@debbugs.gnu.org; Tue, 11 Jan 2022 04:44:37 -0500 Received: by mail-ot1-f50.google.com with SMTP id s21-20020a05683004d500b0058f585672efso17977989otd.3 for <52941@debbugs.gnu.org>; Tue, 11 Jan 2022 01:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TkBMlERyQzaNuU/lvhB3vob5dm+DukD5X831iLPhaGY=; b=e6USto4C0+zz+DTm1YM3whe+gpgi/0HgesdvEIavKTQcl7CwM+K+m6fHF5qfYNs640 6DazOzqazmSWoczftqXjPRiXzjdYOKILKazPhuKzyWyFMNI4HfR5h/lcDafw12S4Spky KlzZpx+GNDqNc/CcAZxS3XbYtqkAHjOxnWwPhNOjovEikN2ySmFW9OMAgKn7gIFZ5YmQ RPGInFVpyI8AMGEr5NtO28jSzPdtnNf2s/0ky8NnH1J75Qs3Q+BC6azpZv09uLTbrElC QxHfPhazVoSHOYmqkIxngu0Ihqn9jFHLUDpp9+yMDsuL93Rz9uyxJFkSj1Er/bQSi5Yz w9wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TkBMlERyQzaNuU/lvhB3vob5dm+DukD5X831iLPhaGY=; b=2Tmwvd5wnJ2/Mz4dMOGewyuJVCoyEpt+9/4K/YWCrTa3k5KP0Nmvmu7QM2GHdEeVDS yUfqYfyDUcsDFXjh14QVi3x/FvYuO+Alds8Z5id2z97YZvu0w2TLxwz+JqaUoAWTX9eX QvPZWmPOtf71QR4DF9ItYWXenx7T8z01Cnh4dOI2pcD6Qh1JWlq64tIqzZafl/Su3Gyw /5eTdI8G+hJ4029Wg4SqNLwDlFlQm6P0KtziM9oppwOU39zWenB/STVwAAtZQYBRVtdf 5Mo3y2x9VITQP/seQjqzbROoC3G23tfArqEFD04i1IOISLKV5cr19/neX7jF0Fz79fUn JIBg== X-Gm-Message-State: AOAM530UrVVmCGLYt0MfxCUuQfT1aorCyFarkn9mF1vFyAuFuY7aa8jn EqMZI+qw44gEdhgNHTfwzr5zAZmHNw2mcsZkxy8= X-Google-Smtp-Source: ABdhPJyOIoUltpdH1Qmr5IhB/x5lHvtYFLNXj+EiDrmatOlhpFlic9l3mvpzK515at8TybPStBURuiNzICmM6UgbQIE= X-Received: by 2002:a05:6830:314b:: with SMTP id c11mr2813917ots.340.1641894269759; Tue, 11 Jan 2022 01:44:29 -0800 (PST) MIME-Version: 1.0 References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> In-Reply-To: <87ilurnnby.fsf@melete.silentflame.com> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Tue, 11 Jan 2022 09:44:18 +0000 Message-ID: Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times To: Sean Whitton Content-Type: multipart/alternative; boundary="000000000000b532fc05d54b4c7e" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52941 Cc: Po Lu , Yuuki Harano , 52941@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000b532fc05d54b4c7e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, Sean, that's very good investigation and I'll admit induces a "phew" on my part ;-) And yes, I'm pretty sure this will happen with icomplete-mode as well. Jo=C3=A3o On Tue, Jan 11, 2022 at 12:11 AM Sean Whitton wrote: > 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, the= n > > 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 proble= m > > does not occur consistently, I am not confident it does not occur with > > icomplete-mode. > > It occurred to me to try --with-x-toolkit=3Dlucid 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 > --=20 Jo=C3=A3o T=C3=A1vora --000000000000b532fc05d54b4c7e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, Sean, that's very good investigation and = I'll admit induces
a "phew" on my part ;-)

And yes, I'm pretty sure this will happen with icomple= te-mode as
well.

Jo=C3=A3o
<= /div>

On Tue, Jan 11, 2022 at 12:11 AM Sean Whitton <spwhitton@spwhitton.name> wrote:
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, th= en
> typing quickly into the minibuffer can result in typed characters
> inserted more than once.=C2=A0 Here is how I can reproduce it:
>
>=C2=A0 =C2=A0 =C2=A0emacs -Q
>=C2=A0 =C2=A0 =C2=A0M-x fido-mode RET
>=C2=A0 =C2=A0 =C2=A0C-h v
>
> and quickly try to type "font-weight-table".=C2=A0 This is w= hat I get in the
> minibuffer:
>
>=C2=A0 =C2=A0 =C2=A0font-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 p= roblem
> does not occur consistently, I am not confident it does not occur with=
> icomplete-mode.

It occurred to me to try --with-x-toolkit=3Dlucid instead of --with-pgtk. Sure enough, I cannot reproduce the bug.=C2=A0 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.=C2=A0 In both cases, swaywm.=C2=A0 I have retitled the bug.

Thanks.

--
Sean Whitton


--
Jo=C3=A3o T=C3=A1vora
--000000000000b532fc05d54b4c7e-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 11 05:21:53 2022 Received: (at 52941) by debbugs.gnu.org; 11 Jan 2022 10:21:53 +0000 Received: from localhost ([127.0.0.1]:54241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7EHp-0004h8-J1 for submit@debbugs.gnu.org; Tue, 11 Jan 2022 05:21:53 -0500 Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:46113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7EHl-0004go-BF for 52941@debbugs.gnu.org; Tue, 11 Jan 2022 05:21:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641896503; bh=1uqeQxYtciR89A82qS9rxVGLFgcv7e2iD6YeMMbbZxE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=HAGutKce9syYVgzE9XSmplFSp2DrmvKaRQA7kRbo/pAeZ0RN8IcXQQ74cvBVrlQw+Lh2WXCRlhe8hY2QyVVdQoPuTK04ItuGAzqh5xswXeJ/g6/95O0XHpsX+u2h6FI1ZOyONcTierIE8Jyq6gRefJdy8g1aLNlPOYKzaCDzEpaNytWszCYmxA7p1UQl9cVLo0Ty1TmPLpbJKAvo6MkG9sVIO2J0R8MF6mRv3qVbWcNdrCNGH9m5+1PsjP6a/z3pklvkr9C2hZjfCERPOEF7wvoqFSzPaGTf/WiGaB99OzUHM/fzmfiz3nSwiIEhL24LREB3gXj9RVyrq8CgMrDmmA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641896503; bh=562mBz4xb4faxFVHv9IWAq36ZE1lqtm+LlaE0oinEEu=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=RLCD2uoFwttkj5K4X1hYB9+Tv2EmiEAX6iEW+uvAF70siZYQDVZZFNaqnjxqaOO3CUTkn0yhXDRjSEIAXKK5EQEH3YBQZEq1NtIkGi34uLt+h9b764A1OsG8ZHTvXkjZk1BXL5ZSILVwBOqHy8TPawXMb0UzEJrPraZanAE6+DSFqF2Nyzwt92yBTgvXEmKQP4CxzFxjcWW52SqGuQFQArAmC21uxKW+a5DjX7cv4j/T3J2/gWwmOdbOQuLvv5+gnr2/hw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ZT0toI0O1D4.fte5YKXoe1jFHW2yeYAN5AkooTvuqh30cgKutMlmQ9fKWa8lHC5oWRT 7wceCaKNSZ3e0wtpyYSf21AEnLPL66xZ0bOZVQIvDvZxMaAU3YA2Rtsem5rtAMscE1_E4AYGKi9d CNb04JbQDNuxBAY2oAH9CnFxdyaq9wUr48z8qYXMFO4Z2by9xHJFca_uEJf7SaaRUsnhwz.iiq.l ENy2Rr0por7jCCcB.zFYGqJBxdOXCGyTiGcfAu3_ST98tcfPc88qWglw2_g-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Tue, 11 Jan 2022 10:21:43 +0000 Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID da7773c29e7d1dbf00153b2780fa3749; Tue, 11 Jan 2022 10:21:39 +0000 (UTC) From: Po Lu To: Sean Whitton Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> Date: Tue, 11 Jan 2022 18:21:34 +0800 In-Reply-To: <87ilurnnby.fsf@melete.silentflame.com> (Sean Whitton's message of "Mon, 10 Jan 2022 17:11:13 -0700") Message-ID: <87czkymv2p.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19551 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 764 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52941 Cc: Yuuki Harano , 52941@debbugs.gnu.org, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sean Whitton writes: > 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. You forgot to test the following combinations: --with-x-toolkit=gtk3, x-gtk-use-native-input set to nil --with-x-toolkit=gtk3, x-gtk-use-native-input set to t --with-pgtk, GDK_BACKEND=x11 Could you please try all three setups and see which of those the problem exists in? Thanks in advance. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 11:59:01 2022 Received: (at 52941) by debbugs.gnu.org; 13 Jan 2022 16:59:01 +0000 Received: from localhost ([127.0.0.1]:34389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n83RF-0001Wx-DU for submit@debbugs.gnu.org; Thu, 13 Jan 2022 11:59:01 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:35839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n83RD-0001WZ-EG for 52941@debbugs.gnu.org; Thu, 13 Jan 2022 11:59:00 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id E2042320209A; Thu, 13 Jan 2022 11:58:52 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 13 Jan 2022 11:58:53 -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=iFpYHYOZs3Y+3oE9y10N/aWDSo mwEtmfPZmyV7R+mdM=; b=ceel1WHq7XvgvnsbtN48p5SG4AF5HrCd7MbucqHKJT 1muBCdHHm1v+ras6LZT8b08uROp4WkWvv+O5SLnlHR/hiZNRA80j7nYh3CUQzLBL z8rqWcAdIvHctDUwnX1+udwruBVAWI3Eug2vijpbK92EwdgO/DiybYma4bCQ6Kse X8kHA3CfoLnbNpLjMM5BYlOzizTm0w2GwSMeNJgLhx8pkpb8GKGOLzSD+Qrai/su 7c/4Aua19r7tMPd4ftxSUJCFvum8KXWO+231lTb8vO3kgqPkSL4yb/OWXom4fDOW I+dfyWU6UJbt2sSL4I922xbgk9oBL5lNgEP6+6snXyJQ== 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=iFpYHY OZs3Y+3oE9y10N/aWDSomwEtmfPZmyV7R+mdM=; b=HrhAsljP5JLNu/cN906KhI RjcqWTSH5J2FzoyjYTMxUd8jwcKsCjmPMuhbT5zsjmqyF+SXHLczzIkHE9KUuzTX Ep1j6AocFBCPA/8TLahKcArg78pdlacUDjXBYoo0dqOPYahR7PbZU+ZQW/NGbFkg OFBba9JQ5udcccvm/3FqL3o2+uwQcK8pwPLrtu2hrYdHpth5J5lnmucFWDBwg7iC r4W77yHoGbpsH6T1NLtvjoDvwL8K45im0QYqWG3IfKXzcQlnUMpfTFGyeCYbX5Vr PDM9AohXaFNEW16LCcyedR3E66WgYYcaG6O5pDDnUZuUAQgH6oBJuYYHipfcvvyQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtdefgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesthdttddttdertdenucfhrhhomhepufgvrghnucgh hhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqeenuc ggtffrrghtthgvrhhnpeelgeeggfdvieejvdfhudfggeetgfekkeeuieeljeejhedugeeg feetgefhueffkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jan 2022 11:58:51 -0500 (EST) Received: by melete.silentflame.com (Postfix, from userid 1000) id 8BB9C7F7AF0; Thu, 13 Jan 2022 09:58:50 -0700 (MST) From: Sean Whitton To: Po Lu Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times In-Reply-To: <87czkymv2p.fsf@yahoo.com> References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> <87czkymv2p.fsf@yahoo.com> User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Thu, 13 Jan 2022 09:58:50 -0700 Message-ID: <87tue7bmid.fsf@melete.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52941 Cc: Yuuki Harano , 52941@debbugs.gnu.org, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello Po, On Tue 11 Jan 2022 at 06:21PM +08, Po Lu wrote: > Sean Whitton writes: > >> 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. > > You forgot to test the following combinations: > > --with-x-toolkit=gtk3, x-gtk-use-native-input set to nil > --with-x-toolkit=gtk3, x-gtk-use-native-input set to t Cannot reproduce. I did try both, but I can't find any mention of x-gtk-use-native-input in the Emacs source code -- is it possible you meant a similarly-named variable? > --with-pgtk, GDK_BACKEND=x11 Can reproduce, but it happens less often, i.e., you have to load up the system further and type faster to reproduce :) -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 19:40:09 2022 Received: (at 52941) by debbugs.gnu.org; 14 Jan 2022 00:40:09 +0000 Received: from localhost ([127.0.0.1]:34900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8AdU-0002xa-VO for submit@debbugs.gnu.org; Thu, 13 Jan 2022 19:40:09 -0500 Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:43195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8AdS-0002wz-2T for 52941@debbugs.gnu.org; Thu, 13 Jan 2022 19:40:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642120799; bh=QM5qdJc8mciJnSdcjnT0MfRIgCT6ucS1SihVoXsM5Hk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=GmkAlhdr2ru7aM9t/4Ss+rVxXqf1rOwh/l2NOY/FklDRx0NOgzO2JgpdbYdOj+ehGE9uIERN20Y9AyhFe317IYN1UPwQN4WljksfDQyn6VTs/9xm8DY+7EwyVcMi9mPeDx8yQo1fxEw3EVqXROGwg1QO2K/Nlulv0ME/8RmYvSR0VeKYLAVdMqP34lqxUin/Q3x7xx6JFo8unvaxFdrXTtqrI+bu3XCC0KBAr8+2WRGmyMXkWJWhamKQgpuS2IGSK1NW8KOMCX23fWhgluAmiYxopJ76EBOCE3zfFLATK76Phey1AgyTP+mU8Uj0tz057Irkq+Exyn4vNoeZR/5E7Q== X-SONIC-DKIM-SIGN: v=1; a=r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 UTaR38u8QiFxxWzp.Y4.cjgTdDK8qClYh8LQhHLpxl8ZYTllnEzWCBvmiTfoNa7LnjROsJ6Xt_b. dM5JHF_EAoDTvn0bO8fljB.988Q8pDraKndpx6J1AlJASofNZ6k0f15jJnJ6W_ZgP9pIfL9RjEES bpjeV_P41ACWNCa5ZkBy2oMe1_bYK5TuIOEE.QvXvSF_c8kuHOLTatB2YFO_rP4u7jE3qOtiFH2W ak.oBecvc61hsr00yCXx.4Ck7hXpe3J19LGrqY06Y1uFFNiW2u5GREizJEtwDZIqvuENZiVogTTl vpon6.undBSYFmAaxfDeS0.4iMcnYayZjy3QgrJiuYNKZE4dRqb3NLwToOayAPDmpwOqPRM9e4vv .BNCoS6Cm5sGeobr.5Q9O3P1BhIQDMtLo3toD3Jn7decjIiP0vIWGKMOYNR6qAVx6NMgvO085Bbu WwXoTGoFetJunK2spIm8i977DwWr1y0BpCqZXeHNbIMqtuEEyZlaPpIFeyXFKn8xdIl2RjN4pc6A bU3YKynqwLqxJpiRpZSbHPM2JDZbMWT6v8nrV8.fiZU00gFwJs.HNGapqJvJWHmRh5qwlusHPe9t K604ywgKZtwRAdudZHZy8WpMmK9FCxtjdAMm81EkY5Yfo3JeGGnk- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Fri, 14 Jan 2022 00:39:59 +0000 Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8e9986d98b1f49c341829d1b869888d2; Fri, 14 Jan 2022 00:39:54 +0000 (UTC) From: Po Lu To: Sean Whitton Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> <87czkymv2p.fsf@yahoo.com> <87tue7bmid.fsf@melete.silentflame.com> Date: Fri, 14 Jan 2022 08:39:49 +0800 In-Reply-To: <87tue7bmid.fsf@melete.silentflame.com> (Sean Whitton's message of "Thu, 13 Jan 2022 09:58:50 -0700") Message-ID: <87zgnzgnfu.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19594 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1234 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52941 Cc: Yuuki Harano , 52941@debbugs.gnu.org, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sean Whitton writes: > Hello Po, > > On Tue 11 Jan 2022 at 06:21PM +08, Po Lu wrote: > >> Sean Whitton writes: >> >>> 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. >> >> You forgot to test the following combinations: >> >> --with-x-toolkit=gtk3, x-gtk-use-native-input set to nil >> --with-x-toolkit=gtk3, x-gtk-use-native-input set to t > > Cannot reproduce. I did try both, but I can't find any mention of > x-gtk-use-native-input in the Emacs source code -- is it possible you > meant a similarly-named variable? It's a relatively new feature, you should update from master and test again. > Can reproduce, but it happens less often, i.e., you have to load up the > system further and type faster to reproduce :) Thanks, I will look into this, but please also update and test native input. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 14 16:31:08 2022 Received: (at 52941) by debbugs.gnu.org; 14 Jan 2022 21:31:08 +0000 Received: from localhost ([127.0.0.1]:38428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8UA7-00069R-Og for submit@debbugs.gnu.org; Fri, 14 Jan 2022 16:31:08 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:58755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8UA2-00068k-PV for 52941@debbugs.gnu.org; Fri, 14 Jan 2022 16:31:06 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 541F75C0183; Fri, 14 Jan 2022 16:30:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 14 Jan 2022 16:30:56 -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=mzDk0Sqdlkf5kjrcM8TiU09tnh seArTnTv6Uro4bA6M=; b=GLbJnPid0nMfDfucBD7YWYhxAP6CHeW2R652jzG1dc TuXTYT5Z1/3u07EPvE17yTgBhTIcVt49BsB4vVzJ7sgQnNLb1hdSfxsJ5uZ5v7Ze +fz+tBj0K8+JYVOqgP3f7K4mglq4Js9oLDCQK9c2u9VuD9pxGHoHZKS4ARdsi7Df Hq85VeY9/h+24vtCAlAsO/bZgRMcXybLT0cAsTLY0jpV0I94yzZk1jK9nxYgZmF8 Lqhz1eT3jNjXL0Tr4PMCJpBYQEiCIxXRSFm33yw1xarKug2cnfiJg19KHdzEj+ZF XdesAnc4uJxV7EqclVK5LfNHT3Qm7SYHb1n1ecLFrcfA== 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=mzDk0S qdlkf5kjrcM8TiU09tnhseArTnTv6Uro4bA6M=; b=C5HHOGpdF01x4ACN3hSWr3 6iS37jo+7aRkIAB36pSRGPAs4YBUw0wgYZ15Rt7yJKu+8dFr56FcTgP7vVJT2Imw rUMqvnuTPXOg2hhuiVSmR29A7ifCKsyX5SDyOFjecf1zzWv8AepuKyWpSv3+j/Zv 2zWxzOVev8KkcQaX7PXks5HG2keDtD4MxSRlADeOZcufz8be0jod5fWYHt1bBHkv IIF9CodQlmcP7fTBpw1ilI9O4CGiIl7OJ7yfiLHF/Qhy6bn+No/q29IO136laFlA hd6g8Lia7WGScd0B6ezpkNxkNo6yNiwMbkp+qtw4XeYemsDdhvbDdk4l8aETt5yg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtdehgdduhedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnhepleeggefgvdeijedvhfdugfegtefgkeekueeileejjeehudeg geefteeghfeuffeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jan 2022 16:30:55 -0500 (EST) Received: by melete.silentflame.com (Postfix, from userid 1000) id BEC027F8D74; Fri, 14 Jan 2022 14:30:54 -0700 (MST) From: Sean Whitton To: Po Lu Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times In-Reply-To: <87zgnzgnfu.fsf@yahoo.com> References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> <87czkymv2p.fsf@yahoo.com> <87tue7bmid.fsf@melete.silentflame.com> <87zgnzgnfu.fsf@yahoo.com> User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Fri, 14 Jan 2022 14:30:54 -0700 Message-ID: <87bl0ef1ip.fsf@melete.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52941 Cc: Yuuki Harano , 52941@debbugs.gnu.org, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, On Fri 14 Jan 2022 at 08:39AM +08, Po Lu wrote: > Sean Whitton writes: > >> Hello Po, >> >> On Tue 11 Jan 2022 at 06:21PM +08, Po Lu wrote: >> >>> Sean Whitton writes: >>> >>>> 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. >>> >>> You forgot to test the following combinations: >>> >>> --with-x-toolkit=gtk3, x-gtk-use-native-input set to nil >>> --with-x-toolkit=gtk3, x-gtk-use-native-input set to t >> >> Cannot reproduce. I did try both, but I can't find any mention of >> x-gtk-use-native-input in the Emacs source code -- is it possible you >> meant a similarly-named variable? > > It's a relatively new feature, you should update from master and test > again. Ah, sorry. Now done. Cannot reproduce in either case. In the latter case I had to kill fcitx5 before I could type into Emacs. So I thought I'd also test pgtk with and without GDK_BACKEND=x11 without fcitx5 running. I could reproduce in both cases. -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 14 19:49:22 2022 Received: (at 52941) by debbugs.gnu.org; 15 Jan 2022 00:49:22 +0000 Received: from localhost ([127.0.0.1]:38595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8XFy-0005Sz-IM for submit@debbugs.gnu.org; Fri, 14 Jan 2022 19:49:22 -0500 Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:35186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8XFw-0005Sk-Vz for 52941@debbugs.gnu.org; Fri, 14 Jan 2022 19:49:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642207755; bh=jySgpq8LUnra/YIJrEpz4jLnaWVcI/OMJSWFh4Mx+kA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=RNx01V00wq0TyyHvxhmgYmQG13aKGUo7NqVYUCiZMDjwUDe9HYI9hjoyxSEM8rN3HDmTFnhzfoKunjcw8nS1lxj+OjtV0KFgy6/iu4YzU+gNid9wfhTQTGoD3lpEbd5Td98bXXD+65l5CYDoC80VyrXfY1ESA+ra5dMDzp7D4QGIqjR5SMBOjciwDiSjPVA+CmsT9wJzerdJXenKbPB4xznZUEUUDLDHiaAxkWtNeltXbuC1kmYkdeVa3aZJk11bq9Xe6WvvGEgfOVh6eS+AkOuwepZJWvB7h+6g8E8kesxyzMwwvMAdAHXPJpJwFien5TImKUUCparRKBjGlKlWKg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642207755; bh=Vsh6DLQibmSzh1eEaTuLkyFB5k3EFzt7AfjzHQ02G3r=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=qpHbJqawN6ZqrCAvBnkZJlIWB39VGPPK8fjWGfJUlBHEp9amHL6sCYAIfBlj1atUHc2l0LFTuaqbkaaThTKshXM7WYrQfMHaaoasZSMro+qQj3gRcL4nSqGYH1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FSrJtEFdq9p5LBwzsZ1PiDWSLLqklqHQw PtbLRqtNC7qwtBkBRL0HbKnA7M0m9nUHZAH.IOlPxoWI_ztZcSwsK_bt.of6VUhJi._oQrJbnmqD rRK9554c6e2.HjmS7CJA_mT.kD2QL1CVd71c0Rn4efh_M3_Qk33NQlAbyIrRakQAE2obzaeU673G k3nKMklVZaIgokjjmC9hHso9IOX8QriFeyOu3FatXfpZY2G4vxdgsOc101gGyO97GrWZbIgH2Kbm oKZ1oSsWU.okPCMaNw3f54aVpOlBj4i8nCEj.dvCuPSiIHvoy_ei50KRwBsZjz.IElXAD0rmvC0c BJgZ0e6QzDM3A4c04ojR2LDKkArDlDH0VO4Lc1LdJYXO5aRQrBvx. X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Sat, 15 Jan 2022 00:49:15 +0000 Received: by kubenode509.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3eceb27697edfd0dd6044f0de022a36e; Sat, 15 Jan 2022 00:49:09 +0000 (UTC) From: Po Lu To: Sean Whitton Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> <87czkymv2p.fsf@yahoo.com> <87tue7bmid.fsf@melete.silentflame.com> <87zgnzgnfu.fsf@yahoo.com> <87bl0ef1ip.fsf@melete.silentflame.com> Date: Sat, 15 Jan 2022 08:49:05 +0800 In-Reply-To: <87bl0ef1ip.fsf@melete.silentflame.com> (Sean Whitton's message of "Fri, 14 Jan 2022 14:30:54 -0700") Message-ID: <87ee59258e.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19594 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 331 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52941 Cc: Yuuki Harano , 52941@debbugs.gnu.org, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sean Whitton writes: > Ah, sorry. Now done. Cannot reproduce in either case. > > In the latter case I had to kill fcitx5 before I could type into Emacs. > So I thought I'd also test pgtk with and without GDK_BACKEND=x11 without > fcitx5 running. I could reproduce in both cases. Thanks for testing. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 15 10:08:33 2022 Received: (at 52941) by debbugs.gnu.org; 15 Jan 2022 15:08:33 +0000 Received: from localhost ([127.0.0.1]:41489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8kfQ-0004SG-Qw for submit@debbugs.gnu.org; Sat, 15 Jan 2022 10:08:32 -0500 Received: from shiro.masm11.me ([150.95.182.25]:50472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8kfM-0004Rt-Er for 52941@debbugs.gnu.org; Sat, 15 Jan 2022 10:08:31 -0500 Received: from luna.pink.masm11.me (i153-144-34-242.s41.a033.ap.plala.or.jp [153.144.34.242]) by shiro.masm11.me (Postfix) with ESMTPA id 3E17CC00CB; Sun, 16 Jan 2022 00:08:23 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=masm11.me; s=202002; t=1642259303; bh=xN3+K+wmIDx0uLMHXt79m/3E1L6psIUDp5O36VJpFn4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=eGubw0mSR50E1bu0m8ivQQbz+xI76EO1d7211kjyVn+lRHAWhn/H6mB4C53rH7L1G MRo06fUEzIbEDsWSmhNZUsAhMia/SWqyGWJPSPPGta1/4f2iTDblVWYPkSPlZuGjY9 rVo54KesdPODUNkkpimqGWZ8iwJWc53LL4cK9oH4= Date: Sun, 16 Jan 2022 00:08:12 +0900 Message-ID: <87tue5qboj.wl-masm+emacs@masm11.me> From: Yuuki Harano To: Sean Whitton Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times In-Reply-To: <87ilurnnby.fsf@melete.silentflame.com> References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: multipart/mixed; boundary="Multipart_Sun_Jan_16_00:08:11_2022-1" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52941 Cc: Po Lu , 52941@debbugs.gnu.org, =?ISO-8859-1?Q?Jo=E3o_T=E1vora?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Multipart_Sun_Jan_16_00:08:11_2022-1 Content-Type: text/plain; charset=US-ASCII On Tue, 11 Jan 2022 09:11:13 +0900, 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. Thanks for the report. Please try the attached patch, which should solve the issue. -- Yuuki Harano --Multipart_Sun_Jan_16_00:08:11_2022-1 Content-Type: application/octet-stream; type=patch; name="events-processed-twice.diff" Content-Disposition: attachment; filename="events-processed-twice.diff" Content-Transfer-Encoding: 7bit diff --git a/src/pgtkterm.c b/src/pgtkterm.c index 0155ae991d..5be9af7160 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c @@ -153,10 +153,24 @@ evq_enqueue (union buffered_input_event *ev) evq_flush (struct input_event *hold_quit) { struct event_queue_t *evq = &event_q; - int i, n = evq->nr; - for (i = 0; i < n; i++) - kbd_buffer_store_buffered_event (&evq->q[i], hold_quit); - evq->nr = 0; + int n = 0; + + while (evq->nr > 0) + { + /* kbd_buffer_store_buffered_event may do longjmp, so + we need to shift event queue first and pass the event + to kbd_buffer_store_buffered_event so that events in + queue are not processed twice. Bug#52941 */ + union buffered_input_event ev = evq->q[0]; + int i; + for (i = 1; i < evq->nr; i++) + evq->q[i - 1] = evq->q[i]; + evq->nr--; + + kbd_buffer_store_buffered_event (&ev, hold_quit); + n++; + } + return n; } --Multipart_Sun_Jan_16_00:08:11_2022-1-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 15 16:10:32 2022 Received: (at 52941) by debbugs.gnu.org; 15 Jan 2022 21:10:32 +0000 Received: from localhost ([127.0.0.1]:42053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8qJj-0004Ld-Vi for submit@debbugs.gnu.org; Sat, 15 Jan 2022 16:10:32 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8qJe-0004LK-FC for 52941@debbugs.gnu.org; Sat, 15 Jan 2022 16:10:30 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 32BE65C00CD; Sat, 15 Jan 2022 16:10:20 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 15 Jan 2022 16:10:20 -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=/b72WtY9DKnDTQutXZ/QMtEi5K G/9khjiPglg+7fp3I=; b=CXS5cq7ZsiunQnnllIGUNk9+N04GkbKZzmA82gLTU+ j/nCuz+99RUzPxZznBbnjpV9kDEUgDHmy1kp+el89bpIoaBuJ4pS2dKg5fNazEnU qGbGzNsNG7JqarRYR0qWhQTaniAnXvjSRwYjatEgczLcP1lGVYVKgp2HgLIQ4x7U mCmJ6l31UjtOKrnr3FPSSGwdQKNpjptKfnxmirDvfAQcH4Pjy54JZj8OgLjfYYxB UQjXGPubwUKjvB97pY1kic4uR+tLlWq7mIMalVtxZ+p4Tbybyd9ZaMegXARSKKEZ 7Uri8qPqBQhNXz4pViYzm191c54ML/VYbgajhHWzBOtw== 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=/b72Wt Y9DKnDTQutXZ/QMtEi5KG/9khjiPglg+7fp3I=; b=NxVaBUhTYpmHbws31KJSmH M/ZG9Nn0MAEZN75+ekUy8G9YikXkKNLc2Kl35Ex9uEEDJaGla09eVOvg+6SXR2WX 3QJQUB1z70bY+2MYgjJRD64b2auDbp+VSUQDB7QVNaamwbAXtUSMGQj7EQ8OA52G WiDRrsrXO9JC4vQR9HjrF6rdNXum29TDFEbWBw+QuSISMf2Kkg50Nn0wOAkUuhSa 5bjGATEjVA2hJCTW4NxCCHIWHn2WWegJEdtpqpN0/sTDHNxLk3NlQLUntuKsPY5L rI+97bhaaQSfD6MUU4NSFWPUqRL8g9j6PhrAVu+/mZO/znF7MLDjNOVufcvrKpFw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtdejgddugeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnhepleeggefgvdeijedvhfdugfegtefgkeekueeileejjeehudeg geefteeghfeuffeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 15 Jan 2022 16:10:19 -0500 (EST) Received: by melete.silentflame.com (Postfix, from userid 1000) id 599DE7E0218; Sat, 15 Jan 2022 14:10:18 -0700 (MST) From: Sean Whitton To: Yuuki Harano Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times In-Reply-To: <87tue5qboj.wl-masm+emacs@masm11.me> References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> <87tue5qboj.wl-masm+emacs@masm11.me> User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Sat, 15 Jan 2022 14:10:17 -0700 Message-ID: <87k0f0bt8m.fsf@melete.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52941 Cc: Po Lu , 52941@debbugs.gnu.org, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, On Sun 16 Jan 2022 at 12:08AM +09, Yuuki Harano wrote: > On Tue, 11 Jan 2022 09:11:13 +0900, > 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. > > Thanks for the report. > Please try the attached patch, which should solve the issue. Looks like it does -- thanks! -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 16 03:45:11 2022 Received: (at 52941-done) by debbugs.gnu.org; 16 Jan 2022 08:45:12 +0000 Received: from localhost ([127.0.0.1]:42429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n919z-0008Gg-Nw for submit@debbugs.gnu.org; Sun, 16 Jan 2022 03:45:11 -0500 Received: from shiro.masm11.me ([150.95.182.25]:50474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n919x-0008GT-Av for 52941-done@debbugs.gnu.org; Sun, 16 Jan 2022 03:45:10 -0500 Received: from luna.pink.masm11.me (i153-144-34-242.s41.a033.ap.plala.or.jp [153.144.34.242]) by shiro.masm11.me (Postfix) with ESMTPA id E94CDC00CB; Sun, 16 Jan 2022 17:45:05 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=masm11.me; s=202002; t=1642322706; bh=2ffyL57xiHaGdfc2BuuRemWhna5jEiM5NviZALEAT6Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=hk3i5lYewIPYa5w84KD+5LRmaemod/VQVOOsn87p/oEp6dKcFBiPAhprqSI2Jmt1H DAIysCvqFyvVFduxKJhyVVcIqZIq5w94uxbwzqfYTXrggD5HGFzkgqChIY0j/gDrHK EsTdpc34qWpk/iQc4INaOdLzJXV4TXMH4jYNsCRQ= Date: Sun, 16 Jan 2022 17:45:02 +0900 Message-ID: <87r198xe5t.wl-masm+emacs@masm11.me> From: Yuuki Harano To: Sean Whitton Subject: Re: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times In-Reply-To: <87k0f0bt8m.fsf@melete.silentflame.com> References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> <87tue5qboj.wl-masm+emacs@masm11.me> <87k0f0bt8m.fsf@melete.silentflame.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52941-done Cc: Po Lu , 52941-done@debbugs.gnu.org, =?ISO-8859-1?Q?Jo=E3o_T=E1vora?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, 16 Jan 2022 06:10:17 +0900, Sean Whitton wrote: > > Please try the attached patch, which should solve the issue. > > Looks like it does -- thanks! Applied. Thanks for the confirmation. -- Yuuki Harano From unknown Sat Jun 21 05:15:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Feb 2022 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator