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#58771: 29.0.50; context submenu can not click when run emacs lucid build. Date: Wed, 26 Oct 2022 08:42:58 +0800 Message-ID: <87v8o71kkt.fsf@yahoo.com> References: <874jvssc8b.fsf@163.com> <87pmeg2vr5.fsf@yahoo.com> <87zgdkqp0u.fsf@163.com> <87bkq02o1f.fsf@yahoo.com> <87k04ohun2.fsf@rub.de> 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="33331"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Feng Shu , 58771@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 26 02:46:10 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 1onUYc-0008Xb-Lj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Oct 2022 02:46:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onUWa-0001CC-Mt; Tue, 25 Oct 2022 20:44:04 -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 1onUWZ-0001AS-Gs for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 20:44:03 -0400 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 1onUWZ-0002gl-9Q for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 20:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onUWX-0003Ua-Oi for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 20:44: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: Wed, 26 Oct 2022 00:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58771 X-GNU-PR-Package: emacs Original-Received: via spool by 58771-submit@debbugs.gnu.org id=B58771.166674499613361 (code B ref 58771); Wed, 26 Oct 2022 00:44:01 +0000 Original-Received: (at 58771) by debbugs.gnu.org; 26 Oct 2022 00:43:16 +0000 Original-Received: from localhost ([127.0.0.1]:52634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onUVo-0003TR-Eo for submit@debbugs.gnu.org; Tue, 25 Oct 2022 20:43:16 -0400 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:35040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onUVm-0003TC-1d for 58771@debbugs.gnu.org; Tue, 25 Oct 2022 20:43:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666744985; bh=wN9zSy5ucpas015WHDgDF313sx3LoswbzQHm+MT/Yls=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=YsnRUv/bZfHz0iOHAJJeMd7TM4TQ1Xe+ksZQIrH48QZvnlFw8xaGgtU8TIOe37341TC3sHIJ8rebyyxuCis/5oD6QzC/EljO+IqFgnfq5d6XqNXAyuEw1GPO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LgueOZlYUXStZq3znkzAq 82Py38M_G5.KsRR4ziD2bU.GgL4TJ9QInR0zzROGdAVmT2iqL.Y3GBQSeFH0XTCiSbavXva3flBX 22tNl1A.01DarBCaVQ.6H7uPOV5oMcUTrw.hBT9FLFo.nHL5QLmsXaF.G9ouhMNHvF4fo15OHZrM shbz7gnXpYxwJt4Vxf6EcsqIF0Nv1KdqxBDStmEE2p6m3lwhnnOxWqFfptPW4Vy8TeTxPokUk8s9 Iy0OrhpGnu5Ky8ybWduTm5rHLOJbeV2z1Zw8VsP0y0tX8LFm8bzdT1mRSt1e02iUFJdeV7SpldxQ sV0p5qmch.iL3zDRvjwcaiH_QcOYdqTr5KadfrrgyZOdydVHh6q5cx05n8QFfAprl3uGukT_fYmo vouYIq_NkybMetEN.7lU_4dMNEQFUrIw9X9Bvob2dEMfRF3NS6G9CSDR2KAa5A8NjsNJ0ytIMtYH p0WKmuJIKKKeKr2sYLMLpRJcGqWSaPDm.8tBUKUbVV X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Wed, 26 Oct 2022 00:43:05 +0000 Original-Received: by hermes--production-sg3-74fb94585-7j6k2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 39569e0dc83db9163202ab896b79a43a; Wed, 26 Oct 2022 00:43:03 +0000 (UTC) In-Reply-To: <87k04ohun2.fsf@rub.de> (Stephen Berman's message of "Tue, 25 Oct 2022 15:58:57 +0200") X-Mailer: WebService/1.1.20783 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246182 Archived-At: Stephen Berman writes: > I can reliably reproduce the bug, but for me it's a sympton of broader > buggy behavior with menus in the Lucid build, which I've observed since > I started regularly building with the Lucid toolkit some months ago > (after not doing so for many years previously, so I don't know how old > this behavior is). > > So while the items of a context menu (but not those of a submenu) can be > scrolled with the mouse, context menus are completely unresponsive to > keyboard events. In contrast, with menus from the menu bar (whether > open via mouse click for with the F10 key binding), I can both navigate > and select (also in submenus) with the keyboard but other than opening > and closing, the menu bar menus are completely unresponsive to the > mouse. Could you please try to find out what this call to XtGrabPointer in xlwmenu.c returns when you pop up a menu? #ifdef emacs x_catch_errors (display); #endif if (XtGrabPointer ((Widget)mw, False, (PointerMotionMask | PointerMotionHintMask | ButtonReleaseMask | ButtonPressMask), GrabModeAsync, GrabModeAsync, None, mw->menu.cursor_shape, event->time) == Success) <----------------- { if (true If you're going to be using a debugger, then please do the debugging remotely from a different machine. Otherwise, you will either lock up your X server or waste a lot of time when the bug simply vanishes once you try to debug it. Either way, we have to get this fixed before Emacs 29 is released, so please try to be fast here. Thanks a lot.