unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan <monnier@iro.umontreal.ca>
Cc: 57320@debbugs.gnu.org
Subject: bug#57320: 29.0.50; Lucid menus can't be operated with the mouse
Date: Mon, 22 Aug 2022 09:35:14 +0800	[thread overview]
Message-ID: <87r119f4bx.fsf@yahoo.com> (raw)
In-Reply-To: <jwvmtbx3bez.fsf@pastel.mail-host-address-is-not-set> (Stefan's message of "Sun, 21 Aug 2022 10:43:00 -0400")

Stefan <monnier@iro.umontreal.ca> 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.





  parent reply	other threads:[~2022-08-22  1:35 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 [this message]
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
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=87r119f4bx.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --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).