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

Set default fallback option when pressing key combinations on result. #2691

Open
j-a-s-o-n-g opened this issue May 6, 2024 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@j-a-s-o-n-g
Copy link

j-a-s-o-n-g commented May 6, 2024

Is your feature request related to a problem? Please describe.

This feature is already in Alfred, basically there is a set of actions you can perform on the current typed input. This can be Ctrl/Alt/option + enter or any of the combinations. Each one can do something different. That might be too complicated for this ask, but my main pain point (and the reason for requesting this) is mainly for an Alt+Enter option. I want Alt+enter to always open that result searching google.

For example:
image
I realize I can hit alt+2, and this is because my list only has these options. But if this list is more populated it could be Alt+3 or Alt+4 which would take a second for me to have to spend the time to read the text and then perform that key combination.

The solution I propose is to have an option somewhere in the settings to choose which key a "fallback" option should be, and then within the web search plugin, have this checkbox:

image

@j-a-s-o-n-g j-a-s-o-n-g added the enhancement New feature or request label May 6, 2024
@onesounds
Copy link
Contributor

  • Behavior is not intuitive.
  • What if a feature other than the webplugin wants to use this setting?
  • What happens when I press ALT ENTER if there are no web search results in the searched results?

This is too complicated. Can you point me to another program that does something similar?

In your use case, we understand that the user tried to do a full search, not a "web search". But the selection is an action to select only "specific actions" (i.e., we're a restaurant and you're a customer. We have two bells: "multi-course meal" and "single dish". You ring "multi-course" to call us, and then you are asking me if there's a way to order a "single dish". I would say ring the "single dish" bell).

I'm sure alfred has a reason for implementing that feature, and I can see that it's some kind of convenience feature that I don't understand. But it's just too much work for too little utility. I want the user to just trigger a web search if they want to do it, and if they're in the middle of a multi-search and need to do a web search, I want them to manually select it. Pressing a shortcut to make it faster is not a very common UX practice.

@j-a-s-o-n-g
Copy link
Author

j-a-s-o-n-g commented May 7, 2024 via email

@j-a-s-o-n-g
Copy link
Author

j-a-s-o-n-g commented May 7, 2024

I logged into my Mac to take these screenshots from Alfred:

image

This shows the configuration for these actions, much like when you press the right arrow currently. The first option is like your alt+1/2/3/etc. Then the "+ enter" combinations are below that.

These are the options for each drop-down:

image

To answer your question, what if a different plug-in wants to use this functionality?: that’s probably too complex to add. The options for Alfred are located in the main application configuration so I don’t believe third party plugins have access to this either. It seems like these are the most common actions that can be taken. Shortcuts to functionality that already exists.

To answer about no text: it would behave like pressing the right arrow on an empty query, nothing.

An alternate solution in my case would be to duplicated the asterisk web search for google and prefix it with an access letter (like g), but it’s inconvenient to have to remember to write “g blah blah” instead of writing “blah blah” and hitting alt+enter to instantly open a web search no matter which row I had selected at the time of pressing it.

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

No branches or pull requests

2 participants