emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Context Menu


From: Ergus
Subject: Re: New Context Menu
Date: Fri, 20 Aug 2021 14:26:05 +0200

On Fri, Aug 20, 2021 at 02:26:08PM +0300, Eli Zaretskii wrote:
From: Juri Linkov <juri@linkov.net>
Cc: spacibba@aol.com,  emacs-devel@gnu.org
Date: Fri, 20 Aug 2021 10:13:59 +0300

> I'm talking about the _behavior_, not about the bindings.  The
> behavior in the other cases is that releasing the mouse button doesn't
> pop down the menu in the other cases; with context menus, it does.
> That is sub-optimal UI, as users who don't expect that will see the
> menu flash momentarily and disappear, at least on TTY frames.  We
> should fix this so the context menus behave like the other drop-down
> menus we have.

I don't understand how the behavior of the context menu could be
different from the behavior of the old binding [C-down-mouse-3]
when both have the same implementation.

I cannot say I understand that in detail, either, but the fact is it
does.  Maybe it's translation from C-down-mouse-3 to C-mouse-3?

No. C-down-mouse-3 is a modified mouse event; emacs gets it but not the
equivalent up events (C-up-mouse-3 for example) but it gets somehow the
up-mouse-3 event.

For example:

Try C-down-mouse-3 then Release Control and after that release the mouse
button. You will see a similar issue.

Does it pop down for you if you click [C-down-mouse-3] that displays
the local/global menu?

No.  When I release the mouse button after clicking C-mouse-3, the
menu stays displayed until I select a menu item (or dismiss the menu
with the likes of C-g).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]