From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#52941: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times Date: Fri, 14 Jan 2022 14:30:54 -0700 Message-ID: <87bl0ef1ip.fsf@melete.silentflame.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5692"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Yuuki Harano , 52941@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 22:32:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8UBH-0001H0-Qj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 22:32:20 +0100 Original-Received: from localhost ([::1]:59192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8UBG-0006mC-TG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 16:32:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8UB0-0006bj-Ly for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 16:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8UB0-0004Fs-74 for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 16:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8UB0-0006B4-5Q for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 16:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jan 2022 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52941 X-GNU-PR-Package: emacs Original-Received: via spool by 52941-submit@debbugs.gnu.org id=B52941.164219586823653 (code B ref 52941); Fri, 14 Jan 2022 21:32:02 +0000 Original-Received: (at 52941) by debbugs.gnu.org; 14 Jan 2022 21:31:08 +0000 Original-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 Original-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 Original-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) Original-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: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jan 2022 16:30:55 -0500 (EST) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id BEC027F8D74; Fri, 14 Jan 2022 14:30:54 -0700 (MST) In-Reply-To: <87zgnzgnfu.fsf@yahoo.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224236 Archived-At: 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