unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Stefan <monnier@iro.umontreal.ca>, 57320@debbugs.gnu.org
Subject: bug#57320: 29.0.50; Lucid menus can't be operated with the mouse
Date: Sun, 04 Sep 2022 11:24:05 +0530	[thread overview]
Message-ID: <87fsh7wupu.fsf@gmail.com> (raw)
In-Reply-To: <87sfl7d7lj.fsf@yahoo.com> (Po Lu's message of "Sun, 04 Sep 2022 13:36:08 +0800")

[ஞாயிறு செப்டம்பர் 04, 2022] Po Lu wrote:

> Visuwesh <visuweshm@gmail.com> writes:
>
>> 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,
>
> Thanks, but if it does return Success, continue execution of Emacs; you
> might be surprised to discover that the menu works normally when you try
> to debug it.

The menus work just fine now.  Only thing that changed from when I wrote
the initial message confirming the reproduction was a 'make bootstrap'
when I updated my local checkout to 1d1158397bce41466078e384eed2d1e214e206de.
I also seem to recall this issue fixing itself when I did a
`make boostrap' at some point before.
I'm not sure if it is useful but this is what stepi and finish says,

    (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 85683)]
    [New Thread 0x7ffff0c6d640 (LWP 85684)]
    [New Thread 0x7fffebfff640 (LWP 85685)]

    Thread 1 "emacs" hit Breakpoint 3, pop_up_menu (mw=0x5555564253d0, event=0x7fffffffd5a0) at xlwmenu.c:2879
    2879	  if (XtGrabPointer ((Widget)mw, False,
    (gdb) stepi
    0x0000555555979490	2879	  if (XtGrabPointer ((Widget)mw, False,
    (gdb) finish
    Run till exit from #0  0x0000555555979490 in pop_up_menu (mw=0x5555564253d0, event=0x7fffffffd5a0) at xlwmenu.c:2879
    Start (w=0x5555564253d0, ev=0x7fffffffd5a0, params=0x0, num_params=0x7fffffffd3ec) at xlwmenu.c:2523
    2523	}
    (gdb) finish
    Run till exit from #0  Start (w=0x5555564253d0, ev=0x7fffffffd5a0, params=0x0, num_params=0x7fffffffd3ec) at xlwmenu.c:2523
    0x00007ffff7ad2fc7 in XtCallActionProc () from /lib/x86_64-linux-gnu/libXt.so.6






  reply	other threads:[~2022-09-04  5:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-21 14:43 bug#57320: 29.0.50; Lucid menus can't be operated with the mouse Stefan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-21 15:00 ` Lars Ingebrigtsen
2022-08-21 15:08   ` Visuwesh
2022-08-21 15:11     ` Lars Ingebrigtsen
2022-08-22  1:35 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-30  7:23   ` Visuwesh
2022-08-30 10:07     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-30 14:08       ` Visuwesh
2022-08-31  1:33         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-31  8:22           ` Visuwesh
2022-08-31 11:17             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-31 14:19               ` Visuwesh
2022-09-04  4:37   ` Visuwesh
2022-09-04  5:20     ` Eli Zaretskii
2022-09-04  5:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-04  5:54       ` Visuwesh [this message]
2022-09-04  6:09         ` Eli Zaretskii
2022-09-04  6:43           ` Visuwesh
2022-09-04  8:34             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-04  8:41               ` Visuwesh
2022-09-06  9:44         ` Jean Louis
2022-09-06  8:33   ` Jean Louis
2022-09-06 10:23     ` Visuwesh
2022-09-06  8:22 ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsh7wupu.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=57320@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).