From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nick OBrien via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69246: 30.0.50; persistent key input delay after using vc commands in pgtk Date: Wed, 21 Feb 2024 16:09:09 +0000 Message-ID: References: <86ttm5r3ud.fsf@gnu.org> <86msrxr2l0.fsf@gnu.org> <86a5nxqgio.fsf@gnu.org> <86ttm2m1ls.fsf@gnu.org> <87zfvu6kyz.fsf@yahoo.com> Reply-To: Nick OBrien Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11945"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 69246@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 21 17:11:56 2024 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 1rcpCM-0002n2-J1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Feb 2024 17:11:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcpCG-0005fV-82; Wed, 21 Feb 2024 11:11:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcpC8-0005UV-P0 for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 11:11:42 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rcpC7-0002Ck-G5 for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 11:11:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rcpCT-0008Ej-Rf for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 11:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nick OBrien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Feb 2024 16:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69246 X-GNU-PR-Package: emacs Original-Received: via spool by 69246-submit@debbugs.gnu.org id=B69246.170853190931635 (code B ref 69246); Wed, 21 Feb 2024 16:12:01 +0000 Original-Received: (at 69246) by debbugs.gnu.org; 21 Feb 2024 16:11:49 +0000 Original-Received: from localhost ([127.0.0.1]:51384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcpCH-0008EB-Am for submit@debbugs.gnu.org; Wed, 21 Feb 2024 11:11:49 -0500 Original-Received: from mail-41104.protonmail.ch ([185.70.41.104]:23975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcpBR-0008Bd-Sd for 69246@debbugs.gnu.org; Wed, 21 Feb 2024 11:10:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1708531778; x=1708790978; bh=CPI7Vh22s7jh/7NRmcr/U8jOOsuMB8e0hlCAtm5bCxM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=bFJSSiF98VyJ41w1w5Q0ZQLP4iQNuHICpkGaMRkkG5AbyMu1ktL8nvg20F7L+E5V/ 89IqkwisRo3gyZJIJgOIZXEaDKxExKFHhzmWlFfRzy82PnqAK8lDBuWg+u/hGVVAPY 4iOpxvH7NidtXI8UNNHY8bwi6iUNEk4LY5qutLHpjC4CY7PBCvCG+l5t0NmB8y1JfA SbQq8ZhkAWl5Djx3aQed2bhwgxTVew9g2YLLt2JxLdj1thiYyrP05L8baM9ti5wB2I KFtGjFXZ8a7NpfgjO5wzMbBa6NybomgtNd3cq3lywhUE/HjIUGBqMUBcDQczOcQ0Pr w8E/Bl8VT6TDg== In-Reply-To: <87zfvu6kyz.fsf@yahoo.com> Feedback-ID: 53815645:user:proton X-Mailman-Approved-At: Wed, 21 Feb 2024 11:11:48 -0500 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280400 Archived-At: On Wednesday, February 21st, 2024 at 6:41 AM, Eli Zaretskii = wrote: > > Date: Wed, 21 Feb 2024 02:19:11 +0000 > > From: Nick OBrien nick4f42@proton.me > > Cc: 69246@debbugs.gnu.org > >=20 > > In other words, if I press and release a key at the same time, the lag = isn't > > noticeable. I only see the lag when I press a key and don't release it.= When a > > key is held down and auto-repeating, I don't notice a drastic speed dif= ference > > with or without the lag. The appearing characters just look choppier wh= en the > > lag is occurring. > >=20 > > I realize this is an awkward bug to explain and reproduce, thanks for b= earing > > with me. More suggestions on how to narrow down the cause would be appr= eciated. >=20 >=20 > Isn't it expected that the key only appears when it's released? Po > Lu, any comments to this strange issue? I would think it's expected for the key to appear after pressing the key, n= ot releasing it. On Wednesday, February 21st, 2024 at 6:49 AM, Po Lu wr= ote: > Do other GTK 3 programs exhibit this lengthening of the intervals > between generated repeat keypresses? What if the environment variable > GTK_IM_MODULE is set to `none'? >=20 > TIA. Running "GTK_IM_MODULE=3Dnone emacs -Q" and following the steps in the orig= inal bug report, the lag appears to be fixed. I reproduced it three times, and e= ach time there was no lag. For reference, I tried again with GTK_IM_MODULE=3Dfc= itx (how it was in the original bug report) and 4/4 times I experienced the lag= . I haven't ever experienced this sort of lag in Firefox or signal-desktop, t= wo gtk3 apps I regularly use. And just to clarify, the lag doesn't seem to len= gthen the interval between generated repeat key-presses. The repeated key-presses= just seem /choppier/, as if the frame-rate is lower. The lag is most obvious whe= n holding down a key and releasing after a single key appears. I'll try using my normal config with GTK_IM_MODULE=3Dnone and see if I expe= rience the lag in everyday use. Thanks