-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'CUT' not work in context menu #10571
Comments
@shuyaqian I am not able to reproduce this issue on the current |
I believe it's a similar issue to #10540. Basically, it goes back to #9830: that PR introduced conditions under which what was formerly not a context menu got to be rendered as a context menu. That means that commands that formerly didn't receive the default Anchor argument associated with context menus are now receiving it, and since command handlers receive There are a few options:
I think the last is actually the correct move: it isn't really a context menu, and it shouldn't behave like one. That would fix all affected handlers without our having to identify them one by one. I think the utilities in |
With a bit of checking, this turns out not to have to do with the context menu anchor issue at all, but with a failure of the menu-opening machinery of the new compact menu widget to restore focus to the previous context when the user makes a selection. Then, since the context is not the text input, the cut command has no effect. |
Bug Description:
Steps to Reproduce:
cut
not workAdditional Information
The text was updated successfully, but these errors were encountered: