From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events Date: Fri, 27 Oct 2023 09:04:00 +0300 Message-ID: <835y2sfvov.fsf@gnu.org> References: <875y2szyz7.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8675"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, ami@fischman.org, 66765@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 27 08:04:53 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 1qwFxl-00023L-8o for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Oct 2023 08:04:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwFxU-0002cZ-5I; Fri, 27 Oct 2023 02:04:36 -0400 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 1qwFxP-0002bD-DJ for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 02:04:31 -0400 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 1qwFxP-0007UF-3Y for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 02:04:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwFxt-0003RX-Ve for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 02:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2023 06:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66765 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 66765-submit@debbugs.gnu.org id=B66765.169838667013188 (code B ref 66765); Fri, 27 Oct 2023 06:05:01 +0000 Original-Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 06:04:30 +0000 Original-Received: from localhost ([127.0.0.1]:34942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwFxO-0003Qd-8t for submit@debbugs.gnu.org; Fri, 27 Oct 2023 02:04:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwFxK-0003QN-GH for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 02:04:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwFwi-0007PH-Je; Fri, 27 Oct 2023 02:03:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ow2FMac8W3YqVMDqkncxYn4ajp8HXHwRwINxPzD4CjA=; b=X9m9W6Al+yBk lvjrF7+ro3QeFqIXKGq6GMwk5d1BJ2m4oqQYqg3AfM4a18/FsXFQkNXwBZKnORt8H86aLBfS/HUU5 7DSbHkaOJ09N9J7dqiULrneKmzOUrb+TiwbZjNuuMDTLfcQRUUn/o3zySoDhPZvWv+D41hbQGrwEX 3R/ZWep0mV8yk62sFS7FEY8W8e8GWT7nelrrnZbPtLzlPyitaCIK/mS6Ymaw/3y/jnyoQbHWFfJMs kwgv/Uci71tbn03TfoUO2uxR1xtmo1skEo082a4YZaZrTLnA69rBbTRD/oZK6xYMn1va7PaPqHkEd JnfxQsmNnY6QiNLL+sSn8w==; In-Reply-To: <875y2szyz7.fsf@yahoo.com> (bug-gnu-emacs@gnu.org) 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:273339 Archived-At: > Cc: 66765-done@debbugs.gnu.org > Date: Fri, 27 Oct 2023 08:32:44 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > When the X input extension is in use, both Emacs and the X server ignore > core events. It's also impossible to send extension events, so this > extension renders external event delivery effectively impossible. > > This isn't a bug we can fix, sorry; but the XTEST extension is capable > of simulating real key presses, so I suggest whatever tools send Emacs > events be rewritten to make use of that extension. > > The same issue can be observed in programs written to use version 3 or 4 > of the GTK toolkit. Can you please add something to etc/PROBLEMS about this issue? How widely is this mechanism used in the wild? If it is used widely enough, perhaps we should tell people not to build with XInput2 if they have vested interests in those methods? Also, maybe submitting bug reports to the respective developers would cause them to improve the situation?