zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
16.14k stars 387 forks source link

Search on number keypress #2377

Open floork opened 2 hours ago

floork commented 2 hours ago

Captchas

What happened?

When typing any number on the keyboard, it opens a quick find with the number I pressed

Reproducible?

Version

1.0.1-a.14

What platform are you seeing the problem on?

Linux

Relevant log output

No response

dosubot[bot] commented 2 hours ago

Hey there, @floork! I'm here to assist you with any bugs, questions, or contributions. Let's tackle this issue together!

The issue you're experiencing, where typing any number on the keyboard opens a quick find with the number you pressed, might be related to how keypress events are handled in the application. The function responsible for handling keyboard input events is _handleKeyDown, which is part of the gZenCKSSettings object and is bound to the keydown event on the window [1].

Unfortunately, I couldn't find specific information about the quick find feature or any conditions that trigger it. It might be helpful to check the implementation of _handleKeyDown in the codebase to see if there are any conditions or settings related to number keypresses that could be causing this behavior.

To continue talking to Dosu, mention @dosu.