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#61719: 29.0.60; pgtk focus problem with Sway 1.7 Date: Thu, 23 Feb 2023 21:52:03 -0700 Message-ID: <87h6vb7jik.fsf@melete.silentflame.com> References: <87k0099wog.fsf@melete.silentflame.com> <87fsawohax.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="38356"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61719@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 24 05:53:27 2023 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 1pVQ5F-0009j5-At for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Feb 2023 05:53:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVQ4u-0003xy-P2; Thu, 23 Feb 2023 23:53:04 -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 1pVQ4s-0003ux-QV for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 23:53:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVQ4s-0002N6-Gx for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 23:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVQ4r-0007Ud-Uz for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 23:53:01 -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, 24 Feb 2023 04:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61719 X-GNU-PR-Package: emacs Original-Received: via spool by 61719-submit@debbugs.gnu.org id=B61719.167721433328734 (code B ref 61719); Fri, 24 Feb 2023 04:53:01 +0000 Original-Received: (at 61719) by debbugs.gnu.org; 24 Feb 2023 04:52:13 +0000 Original-Received: from localhost ([127.0.0.1]:35805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVQ45-0007TN-7L for submit@debbugs.gnu.org; Thu, 23 Feb 2023 23:52:13 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVQ42-0007T5-PA for 61719@debbugs.gnu.org; Thu, 23 Feb 2023 23:52:11 -0500 Original-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) Original-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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekvddgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufgjfhffkfgfgggtsehttd dttddtredtnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhn sehsphifhhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnheptdffvdffueelue dvteekvdevhefghedvgeevgffhvedukeeggeelveegjeekteeknecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfi hhihhtthhonhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Feb 2023 23:52:05 -0500 (EST) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id B1CCC7EC763; Thu, 23 Feb 2023 21:52:03 -0700 (MST) In-Reply-To: <87fsawohax.fsf@yahoo.com> (Po Lu's message of "Thu, 23 Feb 2023 17:35:34 +0800") 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:256543 Archived-At: Hello, On Thu 23 Feb 2023 at 05:35PM +08, Po Lu wrote: > Sean Whitton writes: > >> X-debbugs-cc: luangruo@yahoo.com >> >> 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