From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52941: 29.0.50; pgtk: characters typed into minibuffers inserted multiple times Date: Fri, 14 Jan 2022 08:39:49 +0800 Message-ID: <87zgnzgnfu.fsf@yahoo.com> References: <87k0fj9hh2.fsf@melete.silentflame.com> <87ilurnnby.fsf@melete.silentflame.com> <87czkymv2p.fsf@yahoo.com> <87tue7bmid.fsf@melete.silentflame.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34592"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Yuuki Harano , 52941@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 01:42:05 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 1n8AfM-0008re-K3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 01:42:04 +0100 Original-Received: from localhost ([::1]:41140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8AfJ-0001ny-U0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jan 2022 19:42:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8AeO-0001lp-EI for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2022 19:41:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8AeN-0007Ch-Hc for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2022 19:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8AeM-0002zE-Cf for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2022 19:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jan 2022 00:41: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.164212080911387 (code B ref 52941); Fri, 14 Jan 2022 00:41:02 +0000 Original-Received: (at 52941) by debbugs.gnu.org; 14 Jan 2022 00:40:09 +0000 Original-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 Original-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=GmkAlhdr2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jkvyuQXsjieL4AICx5KU.ghF6Bcx38h4wFKClAwUE2AkZvFDa6nI8tRz_TKzMEg7yxIY Yg6jWpHPKzNtXVhsNG34bwlmCqYObDPcHwGwZTHiwE473NJmUqrozZ9t7UEX3zL2uqMchIZCwDa2 xGMRPhFDs_SXf1nWCC2pAEzrjEgCu_eNAiWXfBuPHn6OQZRf3xhnnyAjutvdv9uiot1oXa8CiTmu ylFvdP6w9EmlljujnXSDe86hw_08h8TaP6xbN3i2Bx2GwEaxpjPCAw0TBt7VN5_zG9fkyQdG.azi NRNRZ6nTLTfQ6jTdj6dMCazqaHkF2b0Dv1006HeBwVRMlmdmZkYIFa6qPjIfjP6FUQUo5oxEflqz 3eZ3wsuoTcAIq51QZ3XFLwpkUaTeEUknYTXHChmBwse9OAyStCYV_ipQeL1lQtznZljCP5lfS726 iX4SJaOUNgJDhmsKGO9gwvF2kQQf.5J8SambBRQcmqczikQrybFL6qLIfgTeOrcCddglwUsJu1C7 yDRjCu64mGDTQUKkpjJR4pv1Z8KVD5UmOXlpRCTP6QEwR7fx7YQ5vN8j0ErM7yJs3BapKsKW2.NP onrYhicGcu4kEFB_SN6CEongw4gLQks.RrCRgw8pXX X-Sonic-MF: Original-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 Original-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) In-Reply-To: <87tue7bmid.fsf@melete.silentflame.com> (Sean Whitton's message of "Thu, 13 Jan 2022 09:58:50 -0700") X-Mailer: WebService/1.1.19594 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:224148 Archived-At: 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.