GNU bug report logs - #61719
29.1; pgtk focus problem with fcitx5 5.0.21 preedit

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 Wed, 22 Feb 2023 22:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to '29.1; pgtk focus problem with fcitx5 5.0.21 preedit' from '29.0.60; pgtk focus problem with Sway 1.7' Request was from Sean Whitton <spwhitton@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 61719) by debbugs.gnu.org; 23 Aug 2023 20:37:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 23 16:37:25 2023
Received: from localhost ([127.0.0.1]:35251 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qYubU-0001PM-RJ
	for submit <at> debbugs.gnu.org; Wed, 23 Aug 2023 16:37:25 -0400
Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:55397)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1qYubQ-0001P6-Bl
 for 61719 <at> debbugs.gnu.org; Wed, 23 Aug 2023 16:37:23 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.west.internal (Postfix) with ESMTP id 76D173200312;
 Wed, 23 Aug 2023 16:37:10 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Wed, 23 Aug 2023 16:37:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=fm3; t=1692823029; x=1692909429; bh=v2
 otockNkflYO8N94hHW8PEeZa4LMHIyoJbXwaBCHXE=; b=ak26R7mb9taoBlHxod
 EYlY7PhH9dBw4Nxcn8z2jHyx/venq2U57PF8ZbrBuWbGSQ9RdAxfuOMoLvQIjrxn
 iowYjUY5MPrQHFfMitIfVa73ixuOJjS33G/y4MwaZF3jW+GDOHtcfsRNnQe4ogPD
 tMud1uO4ers46sXS/ECrum0ixYsi5SBmMNbhoNYXWeu/yZ7agHHNId4IhOjNVELo
 qKWuthPcQ8F+ThwAxra0b5hMuKj864s3an0JNBcH4t8WvAO5d0SGgIBZnyOATkOT
 pCC5+4ZEE4Z3/urd6hCnxg+8p8yk22Ta5+0UY4BhymbHKoMC1uWDFK6GQSfEAxja
 6yeA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm1; t=1692823029; x=1692909429; bh=v2otockNkflYO
 8N94hHW8PEeZa4LMHIyoJbXwaBCHXE=; b=Cxe0SnRXMZwj/xNb6NQ8xoxr4zpWO
 nJgTxvFianaLQvo/bAcyQPBB3YTVAig4lS7h0IFTQcXE4+Jal5S+Rm/gYevL8SvT
 E5tGzCcCSK8aWt2G2bS93bV63zymB192CYvB/0e3bcblFRmEQWtVQfNvIaRyQHIJ
 5xSGIQTidl/f29wTgyTaF6eIRraWL+ZxS1rrP/LGVLodyw4A2cR7adzPx6f+vV6t
 Um9coomEJYkIj8KhiEXQ+AjWMLWH5JzqiJxHGpZFhshtvezi+z+nnKH0b61dlY0e
 EgPKi4/rQ44Of8ZVks1+uf9rzoAUEPxxiDG/EowkdBSSs9hH/L/+SujbA==
X-ME-Sender: <xms:9W3mZGdUtY44c56VEZTVbYfGyUspce8AqXXgpoY7TxcPcpVmfQq-0w>
 <xme:9W3mZAOW8xWq7Vd9UP1QnNWVDI3leuHe5VuD-CLBWDdkJWOCeJTcpTE2yTWY_ZTLQ
 BGfz_UG_XDkIWfgKA>
X-ME-Received: <xmr:9W3mZHjpoQ1Vzirmy-14KmxrswbfMWZG3_T6b_H7yfIlYayWCru68pP5o_7C8illwB4RBEAR7ouO48fJOiMkyN8XAv-25Ip2X_WY-kx9UyG7qCNmM1ZaKc_5uHCXqNHhr7lCKaSM>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvgedgudehtdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhffkfgfgggtsehttd
 dttddtredtnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhn
 sehsphifhhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnhepffeutedtfedvtd
 etvefgueefjefggedugfefuddtgeefteekheduvdefjeejieefnecuvehluhhsthgvrhfu
 ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfi
 hhihhtthhonhdrnhgrmhgv
X-ME-Proxy: <xmx:9W3mZD-kNdX2JGjS0uFnLQ2f4G8yB4G_pRscPVtdTMbaENpkuaRLkw>
 <xmx:9W3mZCtNv0G7eKSLs4hnQbNfPZMLJE_BU2KpeZEockmGP9jnxZaClQ>
 <xmx:9W3mZKEZU8x4RHT7FfXR_5iJqSYpFLUdJ8krGwjCLLmA_9y64WAw0Q>
 <xmx:9W3mZI29hcAUV5zm2JiEQq3aQVo3tVpLXdDJAAi5yrZ28qKEoKOkRw>
Feedback-ID: i23c04076:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 23 Aug 2023 16:37:09 -0400 (EDT)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id AB9F67E82AA; Wed, 23 Aug 2023 21:37:05 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Po Lu <luangruo@HIDDEN>, 61719 <at> debbugs.gnu.org
Subject: 29.1; pgtk focus problem with fcitx5 5.0.21 preedit
In-Reply-To: <87k0099wog.fsf@HIDDEN> (Sean Whitton's message
 of "Wed, 22 Feb 2023 15:12:31 -0700")
References: <87k0099wog.fsf@HIDDEN>
Date: Wed, 23 Aug 2023 21:37:05 +0100
Message-ID: <87o7ixfqby.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 61719
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 (-)

control: retitle -1 29.1; pgtk focus problem with fcitx5 5.0.21 preedit

Hello,

I have determined that the problem is not with Sway but with fcitx5.

Environment to reproduce:
- fcitx5 5.0.21 from Debian bookworm
- enable "Show preedit in application" in fcitx5-config-qt

i.e. the problem can be worked around by disabling showing the preedit.
And as I said previously, the problem does not occur with fcitx5 5.0.5.

I don't know whether the bug is in our port or in fcitx5.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61719; Package emacs. Full text available.

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


Received: (at 61719) by debbugs.gnu.org; 2 Jul 2023 21:54:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 02 17:54:08 2023
Received: from localhost ([127.0.0.1]:32860 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qG51E-0002gi-Dz
	for submit <at> debbugs.gnu.org; Sun, 02 Jul 2023 17:54:08 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:51147)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1qG51A-0002g0-W5
 for 61719 <at> debbugs.gnu.org; Sun, 02 Jul 2023 17:54:06 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.west.internal (Postfix) with ESMTP id EF3B53200805;
 Sun,  2 Jul 2023 17:53:56 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Sun, 02 Jul 2023 17:53:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:cc:content-type:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm1; t=1688334836; x=
 1688421236; bh=nNB0BmOcdS4jgkw3gNZMzzL1VqAQnLsGsmKPiBj9TBQ=; b=e
 5ZxsLKSAlF5b5Jht19XfTj6xQ28jtPpZwZDRxbYUIex+z8iBa1hbUL79fEr1PBi6
 OVUOWbnJeJKxcMz4GfNKLw6IVnLKHRZ62ZPJY5CvNMTsJOEx2r3LnCtp2IYOO+JA
 r5feZBK82iPXzpU6dXmjb0qhszBG4miPDwwmX0lq98s90gWoO/YNfTkm3V85i8lB
 zFNT94ELfZ48hyFoW07+Spg0YNeg5tRwuzWNYXbuWuCaoVuFBT6hF2Yi5bBGB0Hu
 VUcXXlYXK2l++/TozPdtZndneDtbMOWAPHem6p7CxWrrYF0oBbhPSF6yn8L8UzXZ
 QQZsSOsavi3vBHXB1cByg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; t=1688334836; x=1688421236; bh=nNB0BmOcdS4jg
 kw3gNZMzzL1VqAQnLsGsmKPiBj9TBQ=; b=SA4mKL+i7QV3Pg/sIkBniWTnzCdr1
 zx2wIDrHQyG6U+7izoNm0KBNt9yR9nXk/6nu8VSrhk2XNHU3zCqarnv0zAozdcJY
 ECa3Lf+wNs16ppNt1iE20AdwfUMonlI84AZlrWIknaCn/10D3ZOXI4gQWM1pZakA
 e3DlFNt6vWqSvzAlE73F5CV6PfOiAD+eqiG1uu5BXGOogNuLEKhKi3lOyT/ThjoK
 4AC0CzCHvYkwo6fVFv4/2JzSw0vFVUU7NIsbRwGHl2XrSaJnvWqO0HD+zREba+nb
 FRSwhdgkq/kQTLGe9wi/V4XSaDxexH3uqcH/Ng0YliE3aGrbmn0+PWbAA==
X-ME-Sender: <xms:9PGhZKthIRHLZBh_puk7G_eT3ERObOg2Pdo6wSGtd9fGVoDiux3xCA>
 <xme:9PGhZPdTkOTZ1SRnZK0e9YxvhR7l2eTDpy9i-rEyOR2423Hvf0GXKmUnlLYlzQrUW
 _5SAwm61xcqvIDMFw>
X-ME-Received: <xmr:9PGhZFwC-I3W9fnTNfJS6eo9IxuUL-m9zunQe20rkqHfwmCRUetkoHL1iIUuWxjRmRlbI_HlO2jSy_Vh-biGB3AtWZrEMk_42DbtesuCMcLWMz_saoWYaH2o_2UbDu2NxHwzYa8>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddugddtfecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefujghffffkfgggtgesthdttd
 dttdertdenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhes
 shhpfihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpedtffdvffeuleeuvd
 etkedvveehgfehvdegvefghfevudekgeegleevgeejkeetkeenucevlhhushhtvghrufhi
 iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhh
 hithhtohhnrdhnrghmvg
X-ME-Proxy: <xmx:9PGhZFMVa37EOvuHYRzqrs_IfNs8Mz_ZLlyQtZV0Oqxx0jQEDH34BA>
 <xmx:9PGhZK9qiOdfAq8Y05UPvUqafIsHBx9sFNQyi_beh8VZSERxL2ifAA>
 <xmx:9PGhZNVCKcG_Zlczck2qlvVYmkkQyer_X5_nZgwwM_4RcUodnACUFA>
 <xmx:9PGhZPGOCPqltE0qW2K-GaPKQm8paUZ0CPdE3oTkjHbr1LSN0OxsFw>
Feedback-ID: i23c04076:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 2 Jul 2023 17:53:55 -0400 (EDT)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 795CA7E88F0; Sun,  2 Jul 2023 22:53:53 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#61719: 29.0.60; pgtk focus problem with Sway 1.7
In-Reply-To: <87ednxfcln.fsf@HIDDEN> (Sean Whitton's message
 of "Wed, 03 May 2023 12:18:12 -0700")
References: <87k0099wog.fsf@HIDDEN> <87fsawohax.fsf@HIDDEN>
 <87h6vb7jik.fsf@HIDDEN>
 <87wn466bwk.fsf@HIDDEN>
 <87ednxfcln.fsf@HIDDEN>
Date: Sun, 02 Jul 2023 22:53:53 +0100
Message-ID: <87sfa6ou8e.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 61719
Cc: 61719 <at> debbugs.gnu.org
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 Po,

On Wed 03 May 2023 at 12:18PM -07, Sean Whitton wrote:

> Hello Po,
>
> On Fri 24 Feb 2023 at 01:34PM -07, Sean Whitton wrote:
>
>> Alright, I have reproduced it again now, twice.  I am sending the logs
>> off-list just in case there are privacy implications; please do not
>> post.
>>
>> [...]
>
> Could I ask whether you've had any more thoughts on this bug?
>
> (Po sent me a patch off-list in response to my logs but it did not
> resolve the issue.)

I hope you won't mind me pinging you again about this.  Have you had any
more thoughts?

Anyone who tries to use pgtk on the newly released Debian bookworm is
going to run into this, so it is probably worth getting it into Emacs 29.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61719; Package emacs. Full text available.

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


Received: (at 61719) by debbugs.gnu.org; 3 May 2023 19:18:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 03 15:18:26 2023
Received: from localhost ([127.0.0.1]:47745 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1puHze-0000N7-AU
	for submit <at> debbugs.gnu.org; Wed, 03 May 2023 15:18:26 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:41965)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1puHzY-0000Mp-KD
 for 61719 <at> debbugs.gnu.org; Wed, 03 May 2023 15:18:24 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.west.internal (Postfix) with ESMTP id 8A07B3200BF8;
 Wed,  3 May 2023 15:18:14 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Wed, 03 May 2023 15:18:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:cc:content-type:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm2; t=1683141494; x=
 1683227894; bh=S/ptN74k1ZBkuvu0axUf8MWqkhCMM2M9hmV8yFQIzbE=; b=J
 hxz3M/pKrvgsF4hIY6BtM8mhfzDP8X97oxIDa4oMQNP45p+UgmnnB8QVbCYydlYF
 Gq6wLFO5uf9pgrOhZhuoKekhvi2xUR3NGtdxmBLMIMUNmuUNnMrAvSDkeG2x7pHP
 eTiYYc1NkE6vuajnr0brsfYNYD4d7EUW6CHSTrZ2MzT9xZ7sM+HiUXjG31EKcPbs
 wHA0VRMzueGkVBST8t+OBqqYRX4Tl7VoALceJOTCNqVon5Z6zs98XpHWE4JfmQfY
 ODiwA2kKSxoSCgmVJl6E7FPPp0dZ+bt2KhO5lJqJJYmHGKgZux94djPJhFlAjflG
 dDMtZ2nX/M+cS7sdhRK1Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; t=1683141494; x=1683227894; bh=S/ptN74k1ZBku
 vu0axUf8MWqkhCMM2M9hmV8yFQIzbE=; b=JHHqR9TX3n2ImCfqMHThQb/qCdzgk
 EjzLikvBdYzyWMymCav3Q0refkgcAty+Qyt0zxXJ3m6T3VTQlQG4x9qWldCAvg5q
 oO1m6LvTZyOlsKopmnLAXAzoy7z5g3FimkTdjBjRAJVHckSzEzdvXqTHL4/3lLAu
 6CgeoWUStd7PTg54xoVJwblPXiAhak9ayAn/6lOtRj+m+LU53YZH1hBeEinQAgu6
 bJQbqlitUlaSLGV9+wJLkA75yDA/PGZKOkegfvHnWyGE5PScq7sKcZmeNFIT8VJg
 dUIg7Q4WbYj6X3L/y+mq2DpHyAMpgNDQgzNidASAvafBOqs7UaFQ0wLBw==
X-ME-Sender: <xms:dbNSZF9pmM4ATr8hYmUZFz-BQomw80qZ5zZzi5qhvWH7A984Y0JQzQ>
 <xme:dbNSZJtTGrPdEIZ20OtBkVTmPmwrwfBAJSBk69dLulPsuUcomTyTifLJx6t6WZrnH
 ZjkQhKJrZXOiHWC3Q>
X-ME-Received: <xmr:dbNSZDAzl11ATVC5jdQ1dgNQTftstcMxRcf9Mwh2nedjnSe7GXkllMl34w7B72YWPW9zuiJBAcckLsh9-lIigRGFBrpTUBhXKaxPsQl7qw0ISpUOBg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvkedgudefvdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefujghffffkfgggtgesth
 dttddttdertdenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthho
 nhesshhpfihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpedtffdvffeule
 euvdetkedvveehgfehvdegvefghfevudekgeegleevgeejkeetkeenucevlhhushhtvghr
 ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsph
 ifhhhithhtohhnrdhnrghmvg
X-ME-Proxy: <xmx:dbNSZJdXgcaNFkB0ST_O99sZdsskaRh7GSZfeQPXsscDVto95EIG3A>
 <xmx:dbNSZKO5O6cI4Z9SFuGVsegF79QqDg69ZmPX8bFGf5uhHx8uHcr6Ng>
 <xmx:dbNSZLkYYdrkgaohvZF4JTpPnMYjsDe82FqhIWVyzzE4f8blRsDqJg>
 <xmx:drNSZEWGhVcO3yaQZ6hQP215KIdC1enCThD1yyH4atyqBB9iNexJ4w>
Feedback-ID: i23c04076:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 3 May 2023 15:18:13 -0400 (EDT)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 5C64D7E7D4A; Wed,  3 May 2023 12:18:12 -0700 (MST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#61719: 29.0.60; pgtk focus problem with Sway 1.7
In-Reply-To: <87wn466bwk.fsf@HIDDEN> (Sean Whitton's message
 of "Fri, 24 Feb 2023 13:34:03 -0700")
References: <87k0099wog.fsf@HIDDEN> <87fsawohax.fsf@HIDDEN>
 <87h6vb7jik.fsf@HIDDEN>
 <87wn466bwk.fsf@HIDDEN>
Date: Wed, 03 May 2023 12:18:12 -0700
Message-ID: <87ednxfcln.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 61719
Cc: 61719 <at> debbugs.gnu.org
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 Po,

On Fri 24 Feb 2023 at 01:34PM -07, Sean Whitton wrote:

> Alright, I have reproduced it again now, twice.  I am sending the logs
> off-list just in case there are privacy implications; please do not
> post.
>
> [...]

Could I ask whether you've had any more thoughts on this bug?

(Po sent me a patch off-list in response to my logs but it did not
resolve the issue.)

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61719; Package emacs. Full text available.

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


Received: (at 61719) by debbugs.gnu.org; 24 Feb 2023 20:34:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 24 15:34:12 2023
Received: from localhost ([127.0.0.1]:38337 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pVelg-0000xu-Ar
	for submit <at> debbugs.gnu.org; Fri, 24 Feb 2023 15:34:12 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59893)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1pVele-0000xi-GZ
 for 61719 <at> debbugs.gnu.org; Fri, 24 Feb 2023 15:34:11 -0500
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 48E445C009D;
 Fri, 24 Feb 2023 15:34:05 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Fri, 24 Feb 2023 15:34:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to; s=fm3; t=1677270845; x=1677357245; bh=x/fdH9HT8Q
 QeIaciIWOdPLfB0dmi67FWyVG1CIElIoM=; b=VD9byA0kVg76KtP/rMMtaeYYUN
 Zcke0S/9D0nzFnqUIIZ0T1GcVJCNU8b3cj2z2HQnhDE04i4LebNgEGd3lQHmMnh4
 y2IiRxf7TZNqMOLqiKEEXM4VsVaK7qt5qtPpDVLiw5mGJwknu6Kvz1Pi3HPS4oiU
 3LRIeUhLQq+Zb5U0NfbmS/nzWyCeiej9CB5wnEXMQYvzAJDoNpvHIyqj2LNVRFr+
 05OqrQMBTrGTJSegMlzsJues3bMV/ZRQnE2rrCAjEnKo933BcMzpV5FHCVLpb5rz
 k9oI7AO/JtIs9G0/qb6HWBVXKhQcUCQbDDblPLDtGcpNvy5VFACWAfORRwIQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm1; t=1677270845; x=1677357245; bh=x/fdH9HT8QQeIaciIWOdPLfB0dmi
 67FWyVG1CIElIoM=; b=FkLvPDjKioyKCJhBwS0NWuyiu4qZ3vWe5j81h+3mmlEa
 AicSlmXaUQtnEm/qSRox0fV5FPB0naQEBUPqKEskXaw7XWx9QbgNsnlBJsXUvGA7
 5lAiLiYeeuknrxE253+VQB7CrqwZxgYjqBQKKPe5n42mWDW4BkKVzfEqM8ya2t6l
 IfFUbUcBoLHlySqXBH0aWqTsutTCFcJCEofYDq+54z+tGy/Aclb4bofc6oFssVX4
 ZV6jUy2HYWX8yCD7lrba/4mr106Nd3+Sypf7oZdsPihwXct0vQwST0MazsbayGGE
 KuF0PfeFjokZT6jO/kI0meTkQIDRX7rrLr/UityH8g==
X-ME-Sender: <xms:PR_5YxcozKCP_RGpI8CEPxtkSbd0yi0E_bn875BS3CQ9MPKA-PBp6w>
 <xme:PR_5Y_PXGxLH61sxCDlarnjx0zLUYwMPv3LjIY4kOZh-Y8K7g_DYenbgea7eHeiKm
 HifmfmPTU5PHThjFw>
X-ME-Received: <xmr:PR_5Y6icQ38BJBG6aG48gtRW6GHHFczddbTRratthlk8xzljmw9rfF-AIrpij3WgozrHy63v2z2zlRC09ngt90G4RFI9x3ncRuX68lrDHVRAQp5Utw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekfedgudeffecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhffkfgfgggtsehttd
 dttddtredtnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhn
 sehsphifhhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnhepffeutedtfedvtd
 etvefgueefjefggedugfefuddtgeefteekheduvdefjeejieefnecuvehluhhsthgvrhfu
 ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfi
 hhihhtthhonhdrnhgrmhgv
X-ME-Proxy: <xmx:PR_5Y68PTE62JVb7U7xfRDCUnaNIblu3kEkAKetC0S8g13VwaukcgQ>
 <xmx:PR_5Y9urESDhrDtd56SIzNQkg6M9HIdNEHY-C2jkhfDBTEQxDOTPQA>
 <xmx:PR_5Y5GKt2D7JtG1HLBxKy-mHzf73k09-XDCeVZz569UZQsDZNsS3g>
 <xmx:PR_5Y72mmIqoa9cHHoo9VTJKCndvriRGlhc8_LvD39wdfqjgrj6kbQ>
Feedback-ID: i23c04076:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 24 Feb 2023 15:34:04 -0500 (EST)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 6CCCC7EC9E8; Fri, 24 Feb 2023 13:34:03 -0700 (MST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Po Lu <luangruo@HIDDEN>, 61719 <at> debbugs.gnu.org
Subject: Re: bug#61719: 29.0.60; pgtk focus problem with Sway 1.7
In-Reply-To: <87h6vb7jik.fsf@HIDDEN> (Sean Whitton's message
 of "Thu, 23 Feb 2023 21:52:03 -0700")
References: <87k0099wog.fsf@HIDDEN> <87fsawohax.fsf@HIDDEN>
 <87h6vb7jik.fsf@HIDDEN>
Date: Fri, 24 Feb 2023 13:34:03 -0700
Message-ID: <87wn466bwk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 61719
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 Thu 23 Feb 2023 at 09:52PM -07, Sean Whitton wrote:

> On Thu 23 Feb 2023 at 05:35PM +08, Po Lu wrote:
>
>> Would you please run Emacs with ``WAYLAND_DEBUG=client'' and show the
>> print out around the time you create the new frame?
>>
>> The output will be very verbose, but please send the entirety, and not
>> just what you think to be the problem.  Thanks.
>
> Hmm.  I just restarted Sway and now I can't reproduce it, but before I
> restarted it, I could reproduce it reliably.
>
> I will keep trying every few hours and see.

Alright, I have reproduced it again now, twice.  I am sending the logs
off-list just in case there are privacy implications; please do not post.

wayland_debug:

1. WAYLAND_DEBUG=client emacs -Q --fg-daemon=foo 2>tmp/wayland_debug &
2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
3. Close both of the frames.
4. emacsclient -sfoo -nc
5. In this frame, C-x C-f worked, unlike in my initial report, but
   self-insert chars didn't appear until I'd typed the key many times.
   The self-insert chars don't appear in the terminal emulator that's
   the previously selected window.
6. M-x kill-emacs
7. Repeated steps 4--6.  Same result.

wayland_debug2:

1. WAYLAND_DEBUG=client emacs -Q --fg-daemon=foo 2>tmp/wayland_debug2 &
2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
3. Close both of the frames.
4. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
5. Try to type into second frame.
   In this case, C-x C-f didn't appear to work in the second frame.
   When I tried to type it, the mode line changed to mode-line-inactive.
   The other frame seems to have a "Find file:" prompt.
   After a few seconds this prompt also appeared in the second frame.
6. M-x kill-emacs

Let me know if you want me to try some other variation.

Thanks!

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61719; Package emacs. Full text available.

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


Received: (at 61719) by debbugs.gnu.org; 24 Feb 2023 04:52:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 23 23:52:13 2023
Received: from localhost ([127.0.0.1]:35805 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pVQ45-0007TN-7L
	for submit <at> debbugs.gnu.org; Thu, 23 Feb 2023 23:52:13 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50841)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1pVQ42-0007T5-PA
 for 61719 <at> debbugs.gnu.org; Thu, 23 Feb 2023 23:52:11 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id 95CC05C00CB;
 Thu, 23 Feb 2023 23:52:05 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute3.internal (MEProxy); Thu, 23 Feb 2023 23:52:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:cc:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=fm3; t=1677214325; x=1677300725; bh=yF
 wXHM2A3+vx6GC2dV2EPNssa9gh+LCUSqUHbletJWI=; b=Y7bogE5HMwvucUJp2P
 QJ4CRwKN2zNVG8FYPxu6fGT2n37SjHlcViJfCGR/gwoMmhzoHHA6u5hVXUbEbsMK
 vKngXgtjjxq4uWYBUgEAo7bqmrICEOL2wiHTfiQ5Kfj/fnyQSmp6bwGnHco/0UUq
 el5qLwNRkjTe9EIL5DBqhU12Mq8U+ei/durb0elpMUNmczV2V0Z7eXbualvTKTNi
 kqjcx/7RgDKj4Ac4FrRUPQrFVS9o5WzMN+Rt7qSk8wwzk3I+c7vjWLP16JI2hdc4
 q6j0eJoXwLcgglEJAYefFR6LsOerF95cNVOG0W28fk+cB+ksw4YwkblI5Xfzz/Rh
 ZGVg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm1; t=1677214325; x=1677300725; bh=yFwXHM2A3+vx6GC2dV2EPNssa9gh
 +LCUSqUHbletJWI=; b=g5MwS9ODi9vIu/ColLFPMxTqzKdHAMx7C2ytBUC2Aij3
 fzV0VVeVJy9VRpHQqoznfD7Ymg1bxKrV62XWnb4fMdSeraqAKVtc3/MPTJtuYdmX
 +TYgUTllRSHP5B6sYRTKE3MgURV5Ctoy3NDhJ2Oc/0HV7JX5vLlDaZh9vG7UEZdI
 y37E+tgk0N9rrAIKSIkkt270oCfMeVcq2VdGMmuVy27t0bphI5sR0HGoMD8O8YEr
 t2pnGOpGJfoJQrJYrnWlIZyOh8NfqbbKNGju+6GVaSiXkyZNNPIcGJ9zMfGo9aCQ
 UICUFm80KwcSQ92f/qzUTxWrclBrwj7bEPmILtBhUw==
X-ME-Sender: <xms:dUL4Yx5lSjZAqnbSGD6T-hldn0VUnC18KE-45thDVWA8c2q9K17P7g>
 <xme:dUL4Y-4dJHhtHh_O9MCwkbJJQe133-nNlYUgWXEfiakCUITAWSUvzyJcF8VZWs9Rs
 FmWmvm3QsiPE-hL6g>
X-ME-Received: <xmr:dUL4Y4fqDI2AzMCiw5yVTNKt2bkYfT2UXZOwOscmiWNKqrRgBFBc7B3tAgGA-_rZ1zBU1xafhdsZ33PIifTQd3R4wo5bOFnCX8vSPPe7YmfKkK-Ohw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekvddgjeefucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufgjfhffkfgfgggtsehttd
 dttddtredtnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhn
 sehsphifhhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnheptdffvdffueelue
 dvteekvdevhefghedvgeevgffhvedukeeggeelveegjeekteeknecuvehluhhsthgvrhfu
 ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfi
 hhihhtthhonhdrnhgrmhgv
X-ME-Proxy: <xmx:dUL4Y6KRjDTrHxi8vRRFc0zlrvP49D-cqui9JAbKz4_V0kS-71l-yQ>
 <xmx:dUL4Y1JSTaQbq76SJAAVVOmYSuE7zRXULzfiySzpy8xGz2R3LFoJaA>
 <xmx:dUL4YzxVYO1SkX9Ed4G1eemIbQTG8hecN3869U9o2OqV5xPjKl6wQg>
 <xmx:dUL4Y3wxJBv2bTcHssA-2lTfbLXEXNcEpsijZs7IS50YxznAtqQM4g>
Feedback-ID: i23c04076:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 23 Feb 2023 23:52:05 -0500 (EST)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id B1CCC7EC763; Thu, 23 Feb 2023 21:52:03 -0700 (MST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#61719: 29.0.60; pgtk focus problem with Sway 1.7
In-Reply-To: <87fsawohax.fsf@HIDDEN> (Po Lu's message of "Thu, 23 Feb 2023
 17:35:34 +0800")
References: <87k0099wog.fsf@HIDDEN> <87fsawohax.fsf@HIDDEN>
Date: Thu, 23 Feb 2023 21:52:03 -0700
Message-ID: <87h6vb7jik.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 61719
Cc: 61719 <at> debbugs.gnu.org
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 Thu 23 Feb 2023 at 05:35PM +08, Po Lu wrote:

> Sean Whitton <spwhitton@HIDDEN> writes:
>
>> X-debbugs-cc: luangruo@HIDDEN
>>
>> I just upgraded a workstation Debian bullseye->bookworm, which involved
>> an upgrade of the Sway Wayland compositor from 1.5 to 1.7.  This appears
>> to have uncovered a bug in the pgtk build.
>>
>> 1. emacs -Q --bg-daemon=foo
>> 2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
>>
>> After the second frame has opened, it seems that the first still has
>> keyboard focus for typing unmodified self-insert chars, but if you type
>> C-x, then neither of the frames receives the keypress.
>>
>> I tried 'firefox -new-window; sleep 5; firefox -new-window', which is
>> also Wayland-native GTK, for comparison.  The bug does not appear there.
>
> Would you please run Emacs with ``WAYLAND_DEBUG=client'' and show the
> print out around the time you create the new frame?
>
> The output will be very verbose, but please send the entirety, and not
> just what you think to be the problem.  Thanks.

Hmm.  I just restarted Sway and now I can't reproduce it, but before I
restarted it, I could reproduce it reliably.

I will keep trying every few hours and see.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61719; Package emacs. Full text available.

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


Received: (at 61719) by debbugs.gnu.org; 23 Feb 2023 09:36:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 23 04:36:08 2023
Received: from localhost ([127.0.0.1]:32969 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pV81I-00027h-0c
	for submit <at> debbugs.gnu.org; Thu, 23 Feb 2023 04:36:08 -0500
Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:37244)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1pV81B-00026y-VE
 for 61719 <at> debbugs.gnu.org; Thu, 23 Feb 2023 04:36:06 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1677144955; bh=uJ6aRAnh99UvQeC47uVHPiaX9ahmPodAEqmOewt24i0=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=S1znC/kyC9r6KPSgf3OAhMh2dYbVtJYx9zWdwPl6GC0NBiIbS/bDRR3gJFZ1Zh22K9p0dzieoC7MPVjSJ4iwM1h5KVAFTBujrWOTV9CzceH4cXfhFGGv7erT877xFBW+JlixyJC7dUuOMIzsdohRA+U/ZkS1xydHnQQn9BzvdMx8Ul87xrwZ3CBGWCgMRSa+le7FKUNWRlxf2K8o2udo8fjVeQgTvXnvGS49rxpsuaBd0+3tCvLVbWY7rCzkhaiTLYOXUObx5UhZfJdGH9UEkgOeNUI3+u3WIXNch8m1iGK2sBZJl/mODCGXZ66h9K1AGC6WF0SSG6meBxV9kdHLjQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1677144955; bh=9Vmd+eC0vsSo4P0ExaFj+jsk9CV1/Sz0iqZsrCWINsN=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=N/cY61zuYtVNOnRZ2m5naM9mcYAxdauyQp0bG1Rz7Yo0utUgw1dHXdbFTT04zM3I1RWhK6ZWOcO9cjJUE5P8nrdgQCE1Jqq7R56fuCs4hcxNGu+eCd79QcxuuIG00t8ZKrjVu8CYl0hHBJ05SSaNJwEkOSMoSV0QvolzurQJgrb2O9DO205Rj2/qBrgJM1XtEUOlHApQWgG8AXdUHqVlIxMblNbZvc4IHBkUhgLedoAF0U3NmuqYAXjTDSWUmqUF0vHzEXUev3whPbspFguP3+KyW6P7nSZidEFnSf/mAKzb4lA0vWk/+o+tnCSPuN1NMxryexjrfQ6DhoRw9B30PQ==
X-YMail-OSG: u297iX8VM1nmyddGROJWCzcWRYjhdqbMraiPInlCTfxOuJiIRHJxyeOFcm7QETH
 G6ypNY2v3QAJiw_mk2UKY3IBmLNFzvZpZYghRnEGX7BdBscgGkdQk8mZniYnhgt6eH6LGIRtXblw
 BUiVukehwQ0gMELh75wiNEizrV.Mv9VTCUyZRRjlLVlVYosFM.z94pYn9zqwPff1hkVLAKQD7QSB
 lLOPSZ5JiV1kmWrK.dMZqtDPASgu9vpFqZWuuOC597wWQCI.gbYSCNTEmeeNGJDRFvmkbwcc2.z3
 h6_QIdbef_LY_p2sabeobddagakJ1.2Zu6sLaq.NIi5FPCMSw0l9PHG.9r.NyNiG_p1fe.GfFpXh
 E2m4fPOFKlPGjx7U9G_zpsu0jyRj74xyqFwiybREQuEOpVZ.GZ8_qwLAakklJkPsLL611HL88slb
 EraSLptmW7Z1M347.0KYmeP9xeXYu__Zi1tPOqACfSmpQwOGn9CQhXpSixPypXeEx4C2Bpf_VI5o
 m2RVwC7ieYooMso9iK2rkiTflWE9ogFSaXJMzo6QGIWxWvUapTusjCMOk0QYsaWXqoD8bz6LqnyE
 vK.UUYjc1PVhuWejP3FaY7jsy0r3K5YBnP_AjAhFeFfFojESEbIMCeCsdSJdc4WBiqD6n7u2VJ33
 TYcaxzXv2q5Rm9Wtp6xY6VVD4B._zcXJXI2TCjmSnsogzcO4a.fk2seT38TB77g9RYYx.D9ohpdm
 WFsjmMvWWs083wYxHjzfBxLH4GpBTMzOGHAUq2eQcbF2mkjCapoIfqjGvfHFTdC.BoYJNRNT7yph
 mF_LSgRdbH4Rc1f4AXFfboaRWzW0MBFLiEr7B8bAKqUysru6hfX.0BABWx8I3LWYGNWKAnEDB6ug
 3pbhSvMmxIwhqfekFNKuxX2cOAR7a6XxD4PH9O.HA_jReHJzyrrYxXv4vpVTayY56XgFSz1b8RlC
 q9jd8Nl9SbHbsJeOFLwKrkd.mR6JVhSxdh1po643UyLcUUnmYnb4Rw96tyeU_2HHcf_D0pgwokWq
 ON_PWADn2ll1PIOA7u9VdeB.ElEZb_Ksr43ZU352lhirKlxMILOE0frFivDvmE08PgGc9s1AbclG
 94LtsCL8TW1KXhaJuo0nnSqANxuifymcANc6wVvO13NBAehdCmplXazwG7zTwKauJ1yt5t2m0p6t
 btDwRFWUUY7402Gq82_5cDo.j_x0X_WgOIuwNZGPUo4pK8cVqbxEBVQYf6.Q3dVZDQihe1MepIhZ
 m0mS0FpJHUfjuJYzFFzgrJMrrmodlhMqnKFd7bzEVbkPAFfpjIictLLJ9VJEMKHdgBLHDQlY84D2
 vngw6i_XSAmM6rzfwyEmckBiH1ANB3ULpxcvL_3EZhv_46wB12MfNldnuZAcfliX2OeetGj9E9d0
 llSLkJp2zZ45V0Agz2bVueIt1qA6OJiLXmDwgr0oypdkYbqGU3toO5dPtMQRpoJ5p8yf4T5bZQi8
 QBxLQ6ZIB1uXiaUDFdmLxUcRnR56tL39TLQ5tkiJfG.opA1p6Mo.F.iq86dUj7C494pBJhbYuC3I
 hjn5B6FysPwEJXTO8f3Z1UCkqC0eSQNLipSOxvIUsovTYmQ_rZAIEPmbUwlhHHPHqxcsUVmVE.bv
 RqWHMS17DrcAYqLnlqlAwoJTcTbuabTNGvZgog42VTvyzXgjQUb2xmf.QCCDNvAWXhdKKZhAol8z
 zMsbAKkNg.079GeB6i8CZjGdh1x_waPMx1pB2_ykLbdjBMYzV7I0AVIZgW0SVboTBeeKv4wRWwEY
 yPXgfZybhfFTzSpDbgkv4y5z_Ae24apYfm0.ANVmttNFsPDlp1EyPI2e57qXv5v39Z.rOTZhx6.h
 Tx1hAeWs_c8akOJsF3txk9xSMoxfM.yMg56phcLTFQZfcCR2qdT8ZJr505aGJVB2MwN8T2LNrR1E
 gZUYAwdMcoFOiG7jkYJS0OCbKpXA5S.qYTaLGnLxRelaTDiVWltFzN63xnOOXwnKUCzV_4QTr3ht
 nOy9G4MjK55RbBx7x.EgZIRaB6b3ixuChDE3MO0MLBfL5sN7JLAbpxj7ONGPg2kM90.ttvZ9h0AY
 iqVLT_r598r9XwNRg0tBX.IygWhJAP0PQIlQchP7vnvIg4qVWAbnikklpwcKddp2t4vmbxgFEpqF
 K0g8bLdXiBtSpnPgmmad4r6iXyW8ewnyqA_wgS12901S1qOBYiamCKzQLT9atTwveEJZeFpJTjZ7
 6T9gNfYe3tOHjed3u8WbwM0IO.tMpgOkvZFrnqo66QqCFFr6GC1ey_T3gALEo7EcXOthL_Ok-
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 23 Feb 2023 09:35:55 +0000
Received: by hermes--production-sg3-9fc5746c8-z4gft (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID ec3bf283ce53df4dfe77a340b86e40df; 
 Thu, 23 Feb 2023 09:35:50 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
Subject: Re: bug#61719: 29.0.60; pgtk focus problem with Sway 1.7
In-Reply-To: <87k0099wog.fsf@HIDDEN> (Sean Whitton's message
 of "Wed, 22 Feb 2023 15:12:31 -0700")
References: <87k0099wog.fsf@HIDDEN>
Date: Thu, 23 Feb 2023 17:35:34 +0800
Message-ID: <87fsawohax.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21183
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 967
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 61719
Cc: 61719 <at> debbugs.gnu.org
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.0 (-)

Sean Whitton <spwhitton@HIDDEN> writes:

> X-debbugs-cc: luangruo@HIDDEN
>
> I just upgraded a workstation Debian bullseye->bookworm, which involved
> an upgrade of the Sway Wayland compositor from 1.5 to 1.7.  This appears
> to have uncovered a bug in the pgtk build.
>
> 1. emacs -Q --bg-daemon=foo
> 2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
>
> After the second frame has opened, it seems that the first still has
> keyboard focus for typing unmodified self-insert chars, but if you type
> C-x, then neither of the frames receives the keypress.
>
> I tried 'firefox -new-window; sleep 5; firefox -new-window', which is
> also Wayland-native GTK, for comparison.  The bug does not appear there.

Would you please run Emacs with ``WAYLAND_DEBUG=client'' and show the
print out around the time you create the new frame?

The output will be very verbose, but please send the entirety, and not
just what you think to be the problem.  Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61719; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 22 Feb 2023 22:12:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 22 17:12:45 2023
Received: from localhost ([127.0.0.1]:60589 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pUxLx-0000If-7o
	for submit <at> debbugs.gnu.org; Wed, 22 Feb 2023 17:12:45 -0500
Received: from lists.gnu.org ([209.51.188.17]:47092)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1pUxLq-0000IO-2w
 for submit <at> debbugs.gnu.org; Wed, 22 Feb 2023 17:12:42 -0500
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 <spwhitton@HIDDEN>)
 id 1pUxLp-00086p-TB
 for bug-gnu-emacs@HIDDEN; Wed, 22 Feb 2023 17:12:37 -0500
Received: from wout2-smtp.messagingengine.com ([64.147.123.25])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>)
 id 1pUxLo-0002vj-4C
 for bug-gnu-emacs@HIDDEN; Wed, 22 Feb 2023 17:12:37 -0500
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.west.internal (Postfix) with ESMTP id 930163200939
 for <bug-gnu-emacs@HIDDEN>; Wed, 22 Feb 2023 17:12:33 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Wed, 22 Feb 2023 17:12:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:content-type:date:date:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=
 1677103953; x=1677190353; bh=5BPGrGE43GesUn53eqeM0zf6ifs+Juh8iFr
 wRgdvzj0=; b=oZpUNCWLykQO8aNob4kyzU3eCZkOt3+bBHrC1fmse0WLlqUcvfL
 P3yc3zvqml1q38d+P1SqPRwmPRQ3Rpo97DM529xso0fi9rDET5aXLSbyfBhO32+/
 mXsmD4hLSMVE8DjEQbhj9A3tbehVyK+MJ1TPOfMzzclvb/CHYFIFF1epDmFloVA8
 97pPUmdWp6VCM3SUL52gO9453CyOGyiZkTotTowvunbFmT9Iec+rg4k97gpG5ISk
 khL+5H7caDJk6J3Jg9bf+WaqXE5qNArPqGXeHd4c2f+1ugZ8yuSp4m5eiEEQCStE
 bM341HPkNaeKpyXm0nubD2SKBvDs4HcBFCQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:message-id:mime-version
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1677103953; x=
 1677190353; bh=5BPGrGE43GesUn53eqeM0zf6ifs+Juh8iFrwRgdvzj0=; b=L
 2RiFCQzPcJSU0pB4giEo//EWgWnYnlfyugnzKM5HcqMyg+DWssGsu0Y0BnM4q/+8
 HH+roOJwVqsUEkpYIaZhJYNENsE79wz+qKG72d9F0is5U5cDjdGPaZyWkzdculQ6
 OFJr+QXHceVpH/Z+6nycAm8Dy5kP4r52G9wTetm0xRt8NMTznnUde4fSyL0tnPAI
 G4FMD3M5BTDZzA//z144WAIdZ0GE/DxSz8uXuUpHDeSoe9cnytS2UGLVF5d3LLH4
 G9T94U2+LiFo0RPsUWeajF75Wt4/JWLpjnY6kVYlFOho6MP1Bx26eq3qTXlT0Hit
 8RbEbrfji6l0S9j49dufQ==
X-ME-Sender: <xms:UZP2Y4deRDFUWKaYYGFFfiaCS5Pw6CF1bpG6N_ZbTkcnFs8CYggLQg>
 <xme:UZP2Y6Olc-VUNtTMh9As1jl2N9S2QZDeBYtAiW__D0P7fQcHNlubG92hCCPdDXfSR
 utc9j8R48hbproO5Q>
X-ME-Received: <xmr:UZP2Y5hQspxClo3yJ-s9bZD1yFLiIzV5my8Rq0GdVTRnThjHmWH_nQq0ieDeUAURPPDLD_4jW-SCOrA9pruQTy7BtGzTfWaI_-hTO_vqs0280AKW2A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejledgudehhecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgfgggtsehttddttd
 dtredtnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhnsehs
 phifhhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnhepfffgheeggffgheeuvd
 ethfekuddtgffgtdeukeegkedttefftdeghfdvgfdtjeelnecuvehluhhsthgvrhfuihii
 vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfihhih
 htthhonhdrnhgrmhgv
X-ME-Proxy: <xmx:UZP2Y99MWE0H_6hZxM5AUF74Z_k1k3cY4AO8Da70p_7t-DJJzp7LyA>
 <xmx:UZP2Y0vZgL8Wh1q5QMNYsH1rZU2Po_D_5V0UnHqwvrFkfp4MqyIkfA>
 <xmx:UZP2Y0GDICkXEJ3pnx1sAneBFpi4w5WGKbeju5FZZOvVOnfRR1RF6Q>
 <xmx:UZP2Y97JGwUihsgU5TeB906_INJHV9raMB9n7Pihgmm6oK5JpT3nmA>
Feedback-ID: i23c04076:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Wed, 22 Feb 2023 17:12:32 -0500 (EST)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id B1E9F7EC31F; Wed, 22 Feb 2023 15:12:31 -0700 (MST)
From: Sean Whitton <spwhitton@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.60; pgtk focus problem with Sway 1.7
Date: Wed, 22 Feb 2023 15:12:31 -0700
Message-ID: <87k0099wog.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=64.147.123.25;
 envelope-from=spwhitton@HIDDEN; helo=wout2-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, 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_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
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.6 (--)

X-debbugs-cc: luangruo@HIDDEN

I just upgraded a workstation Debian bullseye->bookworm, which involved
an upgrade of the Sway Wayland compositor from 1.5 to 1.7.  This appears
to have uncovered a bug in the pgtk build.

1. emacs -Q --bg-daemon=foo
2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc

After the second frame has opened, it seems that the first still has
keyboard focus for typing unmodified self-insert chars, but if you type
C-x, then neither of the frames receives the keypress.

I tried 'firefox -new-window; sleep 5; firefox -new-window', which is
also Wayland-native GTK, for comparison.  The bug does not appear there.

-- 
Sean Whitton




Acknowledgement sent to Sean Whitton <spwhitton@HIDDEN>:
New bug report received and forwarded. Copy sent to luangruo@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to luangruo@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#61719; 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: Wed, 23 Aug 2023 20:45:02 UTC

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