Skip to content
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

"Quick Menu" should be hidden in a text field when I type #710

Open
simonbcn opened this issue Jun 9, 2024 · 8 comments
Open

"Quick Menu" should be hidden in a text field when I type #710

simonbcn opened this issue Jun 9, 2024 · 8 comments

Comments

@simonbcn
Copy link

simonbcn commented Jun 9, 2024

Google Chrome 
Context Search v1.46.26

Quick Menu enabled in text fields. The context menu should disappear if I type text or move the cursor (with the mouse or with the keyboard) but it does not always work, example:

Grabacion.de.pantalla.2024-06-09.a.las.17.56.22.mov
@ssborbis
Copy link
Owner

ssborbis commented Jun 9, 2024

I assume you're using the Auto method of launching the quick menu?

@ssborbis
Copy link
Owner

ssborbis commented Jun 9, 2024

You're right that arrow keys do not close the menu. I'll check on that.

Can you confirm this option is unchecked in your settings?
image

@simonbcn
Copy link
Author

simonbcn commented Jun 9, 2024

@ssborbis
Copy link
Owner

ssborbis commented Jul 7, 2024

I think I found the issue. If you're in a position to do so, you could try the latest code in the master branch

@simonbcn
Copy link
Author

simonbcn commented Jul 8, 2024

It works if I type but not if I move the cursor with the arrow keys.

@ssborbis
Copy link
Owner

ssborbis commented Jul 8, 2024

Arrow keys are currently used to navigate the menu. I can see about adding an option to disable them for that purpose.

@simonbcn
Copy link
Author

simonbcn commented Jul 8, 2024

But in case of input fields it does not work like that. In this case the arrow keys move the cursor through the text, not through the menu:
Videocaptura de pantalla_20240708_205330.webm

@ssborbis
Copy link
Owner

ssborbis commented Jul 9, 2024

You're right. I was thinking of another section of code. The issue here is event types. Arrow keys only register keydown / keyup events and I'm looking for input. This was somewhat intentional to not necessarily close the menu if non-character keys are being used.

Anyway, I added a hidden setting quickMenuCloseOnEditKeydown you can set to true and close the menu with arrow keys, tab, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants