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#57320: 29.0.50; Lucid menus can't be operated with the mouse Date: Sun, 04 Sep 2022 08:20:23 +0300 Message-ID: <834jxnn2aw.fsf@gnu.org> References: <87r119f4bx.fsf@yahoo.com> <87mtbfwy94.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31503"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, monnier@iro.umontreal.ca, 57320@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 04 07:21:25 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 1oUi4T-00082m-Gl for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 07:21:25 +0200 Original-Received: from localhost ([::1]:57484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUi4S-00079C-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 01:21:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUi47-000792-54 for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 01:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUi46-0003rv-Sq for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 01:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUi46-0006qH-F8 for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 01:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Sep 2022 05:21:02 +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.166226885526267 (code B ref 57320); Sun, 04 Sep 2022 05:21:02 +0000 Original-Received: (at 57320) by debbugs.gnu.org; 4 Sep 2022 05:20:55 +0000 Original-Received: from localhost ([127.0.0.1]:43275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUi3z-0006pa-2a for submit@debbugs.gnu.org; Sun, 04 Sep 2022 01:20:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUi3w-0006pL-Nw for 57320@debbugs.gnu.org; Sun, 04 Sep 2022 01:20:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUi3r-0003qp-De; Sun, 04 Sep 2022 01:20:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Aguh8T1P40Epk8FHG9SQuaiGkUnTX+bNfhBh8EXtF24=; b=bcORKA7KTqdamockhWu3 EtEthwitlReMaUh8qpmlXBXiPDML6XlTBhdoyzt+MvChzElt1fta6HdGhpX4m4wjjKOtSbxeU76hK oGTYheFnHQn2ppgQMP3lHaIxFFvZySfamlSwg3efLKS2f7/8vFgb73lwjpE1jE/66QeLULPld/b0U hDyx887dsOuCJPe2KF+xwnX68tAjloay+oAgbwmg3ZQCLIs9UsLUwBVtgVPecFJEHgqdujT5PN5eX w4YlxwB2R2ffmcEFLxT94jXDCDl6AeoeNl8A5ITLeCuVlUMEHwyK0xG0rFwh65znVc6RbqTmaHXgJ u2peFEkOEZSFAQ==; Original-Received: from [87.69.77.57] (port=3146 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUi3q-0004QD-TS; Sun, 04 Sep 2022 01:20:47 -0400 In-Reply-To: <87mtbfwy94.fsf@gmail.com> (message from Visuwesh on Sun, 04 Sep 2022 10:07:43 +0530) 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:241463 Archived-At: > Cc: Stefan , 57320@debbugs.gnu.org > From: Visuwesh > Date: Sun, 04 Sep 2022 10:07:43 +0530 > > [திங்கள் ஆகஸ்ட் 22, 2022] Po Lu wrote: > > > 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. > > I wasn't sure how to make gdb tell me what XtGrabPointer returned but I > said `s' after the breakpoint hit and it jumped to line 2890 so I think > it means XtGrabPointer returned Success? Anyway, here's the *gud-emacs* > buffer, > > (gdb) run -Q > Starting program: /home/viz/lib/ports/emacs/src/emacs -Q > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > [New Thread 0x7ffff15fe640 (LWP 56454)] > [New Thread 0x7ffff0c6d640 (LWP 56455)] > [New Thread 0x7fffebfff640 (LWP 56456)] > > Thread 1 "emacs" hit Breakpoint 3, pop_up_menu (mw=0x55555617dfe0, event=0x7fffffffd5a0) at xlwmenu.c:2879 > 2879 if (XtGrabPointer ((Widget)mw, False, > (gdb) s > 2890 && lucid__menu_grab_keyboard > > > [ P.S. What is the right value way to do get what XtGrabPointer > returned? This is most probably suboptimal. ] One way is to step into XtGrabPointer, with either "step" or "stepi", and then type "finish". The "finish" command displays the value returned by the function in which you type the command. (You will need "stepi" if the library that implements XtGrabPointer has no symbols, in which case GDB will be unable to "step" into its functions.)