From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57320: 29.0.50; Lucid menus can't be operated with the mouse Date: Mon, 22 Aug 2022 09:35:14 +0800 Message-ID: <87r119f4bx.fsf@yahoo.com> References: Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9300"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 57320@debbugs.gnu.org To: Stefan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 22 03:36:11 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 1oPwMN-0002E7-9R for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 03:36:11 +0200 Original-Received: from localhost ([::1]:58990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPwML-0001Uq-Le for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 21:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPwME-0001Ue-8O for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 21:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPwMD-0002Aw-W7 for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 21:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPwMD-0007YA-JQ for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 21:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Aug 2022 01:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57320 X-GNU-PR-Package: emacs Original-Received: via spool by 57320-submit@debbugs.gnu.org id=B57320.166113213228981 (code B ref 57320); Mon, 22 Aug 2022 01:36:01 +0000 Original-Received: (at 57320) by debbugs.gnu.org; 22 Aug 2022 01:35:32 +0000 Original-Received: from localhost ([127.0.0.1]:37203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPwLj-0007XL-Q1 for submit@debbugs.gnu.org; Sun, 21 Aug 2022 21:35:32 -0400 Original-Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:42362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPwLg-0007X3-7S for 57320@debbugs.gnu.org; Sun, 21 Aug 2022 21:35:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661132122; bh=8Cg1jzF9PL7yhUS2+cKAIpaeMirDwu6KvGa7O7NQ9j4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=uLJuMNhRe00kXftdE+Q7wU6PXyfdMoeq5rZZvctTx0GNEspj8xpYKs5LKatDr3D3jlL/rpxn69uXAkW5I4SAfQ/onbdKiK9M/9txDJvLRUJ8occGHHEwulU0v/RNrLzH6tL+adKgBU0GiLc/vFwgKDxat8frDKmozcUhVBhKtohjKwjuNl+eGTINFv/jPApErUN1mtBTVYN/AcePP880xopdwbroC86lMxRBMTGyn/T0ZXJnne6SMlALlmTKAG0xYyUc00vX4FOsczVoGuPFqPiJomdHv9vZhleFqE+/L/DauX8A6j+gDLnoW4W9r//bDc4cP+8STt8XJo9nZF0Vnw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661132122; bh=zOD5EKYIl8AI7LPvb9ZmdZZExK3A/jVmoS4AQvw0n/v=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=AL8+mcDy+NqNiYgeRlTqEMg4F9W0Pr2HAnLDSln4JIWMHA4AxdHwAKg/mdf15EnT1kd95xI0MAHR6iegAE+PmmQEz5/xqron969kJjDcEWumUMKzH1m42r7axfJ1GEnuIFMVf8+0MZ+gyIxu4hI5dPmuHfwzf7ixQIRfe1MUpKnr2PP1GL8kyA7FpHKoE+QnSxf0vF5ehiOr5bWw4O3clk+1aARBzuKuUnl3AYFiEF54cg0DOvT54ysAZdeI50blfPyiy+s0JrFkgiPxjasbdt7MUdoJ5FLI9eZ/Fl4KK9wEwNyAdPgq9CzUoDB5iX4b6kcOVO/jdedMji11bwWK4w== X-YMail-OSG: oRtNHNIVM1kz.ZRyqYYFt9sfTMotG_I32hQST.l8VV0yEK_iVY5KFBjSzUqsQRN 5SeGR632mkPO13HwtcEfk2HtPtBrmw9hNdsMr69zfSsckNPxW3GGZyyfJGHG1CBVkBpOB6pwbp1F 7RbpqO_djfkLrDJCQ_hemfVONyRmjeP2uUag0LY9oqTg4XRMwvCgN3iTvwo9PMzv.KBb1DFjVD2o jJjUjEkW43SpR2L5.0iSc5rdXdFT3XiPN_Mc7AAzKdmVexYHT3qb2JfXuWK13tK6o2kK3V4.8aEQ .CJogR8oVZ_Aw2K1LZmuhuRXjWaUOy0JofE_HDsFF1sn7AEQ0AjSphLqewCx9LWR8388sX3hjGEw k54rGWAcJzVgAnGzBBCVmoOGyOWdvKVtRa7PRltZBK_4b4RYj0UOd0mZW4xCu21aZzrcki4X320H P8FlWE1GiXyAO8tgPZashkz598UOT_JTxIiESPvPF5t8WDOC.J7mfI_KRB8VbqxTto8mwkn.tFs6 KBCUO8.OGDR.zqzXkb0osdfooTqrqHNJN2p4E_DjvJYpJbfYe12U3ozwzlABzNabWte526Eb_dpf lkqR7WoAzM7IODGM46sDt50vvBTdXWSeWb3PlLNYxz4AtIQmEeb4aZe39Lv1zID9PxOr2c4F27u0 HqBb0adsp6uijpYOMp_pUdsvXuvX67wBrNL8mr0JrUmQaJTk6OlxtmpBFWAU4A5x8z147C9Z_Uli 2_Fn0NB3Ue3qwewN012rMHC5dv9rhg13LP_2lcNR.2qsamHjR_KfX5ullo9Z2TNEJM3lGizKHx5X 938p58ljF6fgvXd9F7ucmJTWEzF4mBquQZk6mbq7TT X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Mon, 22 Aug 2022 01:35:22 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-jq7xs (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 14d60c417417e2364ea18a55f48f1785; Mon, 22 Aug 2022 01:35:18 +0000 (UTC) In-Reply-To: (Stefan's message of "Sun, 21 Aug 2022 10:43:00 -0400") X-Mailer: WebService/1.1.20560 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:240372 Archived-At: Stefan writes: > Menus stopped working recently when operated with the mouse. > What works: > > - I can click on the menu bar, and that brings down the corresponding > menu. > - I can use the arrow keys and the RET key to move in the menus and > select a particular entry. > - I can move the mouse to select another menu. > > What doesn't: > > - The menu entries are not highlighted as I move the mouse over > them, and submenus don't popup as I move the mouse over them. > - If I mouse-click on an entry in a menu, the menu is not removed and > the corresponding command is not run. Instead I get my window > manager's "root menu" (i.e. the menu I get when I click in the > background) popup on top of the Lucid menu. > Same happens if I click on a menu entry which is a submenu. > > The behavior is basically the same for popup menus, except that in popup > menus the submenus do popup as I move the mouse over them and if I click > on an entry which is a submenu the menu is popped down. I don't see this problem here with or without cairo, but as with all bugs related to grabs this is inherently difficult to reproduce. Please put a breakpoint on line 2879 of xlwmenu.c and tell me what XtGrabPointer returns. Make sure to do this from another machine, since grabbing will not work if you switch windows or click anywhere else.