From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53062: 29.0.50; Inserting charger causes keyboard event Date: Fri, 14 Jan 2022 13:18:28 +0100 Message-ID: <87zgnyse7f.fsf@thornhill.no> References: <87iluw8ri2.fsf@thornhill.no> <838rvs6nyl.fsf@gnu.org> <87o84j479v.fsf@thornhill.no> <87k0f2spqu.fsf@gnus.org> <87bl0ehdau.fsf@yahoo.com> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38219"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 53062@debbugs.gnu.org To: Po Lu , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 13:21:21 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 1n8La4-0009kP-FR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 13:21:20 +0100 Original-Received: from localhost ([::1]:53110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8LZz-0007Ex-0P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 07:21:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8LYH-0005fv-T1 for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 07:19:40 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8LXq-0000K4-Jz for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 07:19:18 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8LXq-0001zL-FE for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 07:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jan 2022 12:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53062 X-GNU-PR-Package: emacs Original-Received: via spool by 53062-submit@debbugs.gnu.org id=B53062.16421627177603 (code B ref 53062); Fri, 14 Jan 2022 12:19:02 +0000 Original-Received: (at 53062) by debbugs.gnu.org; 14 Jan 2022 12:18:37 +0000 Original-Received: from localhost ([127.0.0.1]:35812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8LXR-0001yZ-C8 for submit@debbugs.gnu.org; Fri, 14 Jan 2022 07:18:37 -0500 Original-Received: from out2.migadu.com ([188.165.223.204]:63260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8LXL-0001yL-RX for 53062@debbugs.gnu.org; Fri, 14 Jan 2022 07:18:35 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1642162710; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=B77x3o0g8vE7gix5lfBvLwfzDyEG4SPTx1/SBLQ18zY=; b=XBTY2PNuqrG3xqIKsMtvzdVTGHs+XXvUg0ceIHES2zM4kC07N4TKtnTWMZP1S4x5oxnuOA ajKP0+Qmbk+ufWliejF/VsHjTZaTVfE848DetKKVULSkZEwmBIpedtgrF1LU4RP/e/efdu KMg6fK42YT+FkdHwi+2PxviCoL9/AfEmebn+CHMdkEfLmaKPNGy2lNqDfTAmU0LZ1VvpGa o7JPbAqqGxUjJRxrGaSCLKcHVdHABB954t1ALH4hdcAZq1CQ6nhfTqBzQycWO4DejFGQi0 q0kWEnP7cX3hjigwIlZexED1x2gn8DfrqLuOzzs6hpU+6Ajv0dixScQVQpXMDQ== In-Reply-To: <87bl0ehdau.fsf@yahoo.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: thornhill.no 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:224199 Archived-At: Po Lu writes: > Lars Ingebrigtsen writes: > >>> Actually, this only happens under ./configure --with-pgtk, not with >>> ./configure, so my guess is that that variant picks up something it >>> shouldn't > >> That's interesting. Perhaps Po Lu has some input on how to debug this >> strange issue; added to the CCs. > > Thanks for bringing this to my attention. > > Theodor, are you running under X or are you running under Wayland? > I'm running under X > Also, can you please run Emacs with the environment variable GDK_DEBUG > set to `events', unplug your charger, and show the GDK debug output? I tried to reproduce this again, but now I only get a message telling me it's not running under X when using --with-pgtk. clean configure works fine. I use exwm. I'll look into reproducing with the commit I reported the bug with. Side note: is it expected that exwm error when running --with-pgtk under X? The only difference in setup is that option set or not. Exwm is run with startx, so I assume we are in X. Theo