adirh3 / Fluent-Search

Official repository for Fluent Search, use to report issues or ask for a new feature
1.35k stars 31 forks source link

Add exact mode for search hotkey #1010

Open JUSTCAMHRara opened 1 month ago

JUSTCAMHRara commented 1 month ago

Is your feature request related to a problem? Please describe. Some external software that I use have hotkeys associated with ctrl+alt+mouse keys, largely for panning / rotating 3D viewports. But when I do this, fluent also pops up!

Describe the solution you'd like Add an option in the settings to enable exact search hotkey. When this is enabled, search will only appear if you are pressing the required keys and nothing more. If I enabled this option, I could press ctrl+alt+left-click to trigger shortcuts in the software I'm using without fluent opening its search. Search would still open if I only press ctrl+alt. If the exact search hotkey option is disabled, then fluent would behave as it does now.

Describe alternatives you've considered I could change the search hotkey to something else, but I've gotten very used to this hotkey, and it's super convenient! I could also edit the hotkeys of external apps to not use ctrl+alt, but this is tedious and sometimes not possible.

adirh3 commented 2 weeks ago

FS uses Windows built-in mechanism for detecting hotkeys and it seems to not respect mouse clicks at all. That means for me to fix your scenario I will need to continuously listen to keyboard clicks instead of using the more efficient built-in mechanism of Windows. I may add an option for something like this in the future, but for now I suggest changing the hotkey in your software to something like Ctrl+Alt+Shift or change the search hotkey.