mantasjasikenas / flow-launcher-shortcuts-plugin

A powerful Flow Launcher plugin for quickly opening users defined shortcuts.
37 stars 2 forks source link

BUG: Pressing enter while the prompt "Enter *" is displayed results in the text being duplicated in the FL's search bar #34

Open nanoraptor opened 1 month ago

nanoraptor commented 1 month ago

When I press enter while a suggestion such as "Enter the shortcut/group/variable/etc. name" or "Enter shell type" is displayed, it simply replicates the same in the FL's search bar. This should not be the standard behavior. Ideally, pressing enter while a suggestion is visible starting with "Enter something" should result in no action.

mantasjasikenas commented 1 month ago

Thanks again for the feedback! I'll fix this in the next version. Your input is helping make the plugin even better!

nanoraptor commented 1 month ago

Another quick suggestion. Please make sure the ctrl+tab keybinding does not work while open group <group_name> is in selection, because it just types the same thing in the FL's search bar. Also disabling this ctrl+tab keybinding when suggestions like 'enter something' is displayed and selected in the result list. I believe you can improve upon this.

nanoraptor commented 1 month ago

Both the issues have now been resolved!!!! Many thanks to the dev.

nanoraptor commented 1 month ago

Fixing these minor bugs will greatly improve the user experience:

  1. Pressing enter on any of the following commands in the FL's search bar causes the launcher to close or exit:

For the last two commands, the launcher exits only if no variables or groups have been added. (It's unclear if this is the intended behavior.)

  1. The Ctrl+tab keybinding should not function with the following selections:

    • q <group_name> as the query in the FL bar (it enters all the shortcuts in the group into the FL bar)

    • q var list (it enters Variables into the FL bar)

    • q settings (it enters Open Flow Launcher settings into the FL bar)

    • <something> not found is in selection (e.g., No groups found, No variables found)

    • In the var list section, pressing the keybinding on any variable enters variable:<variable_name> value: <variable_value>

It would be great if the dev recognizes these inconsistencies and make the necessary improvements. By the way the last update fixed most of the problems I had with the plugin. It is a true godsend.

nanoraptor commented 1 month ago

And also how to access the variables. What's their intended purpose? I might be asking a dumb question here, but I seriously don't know how to use it 😶

c0deZ3R0 commented 1 month ago

And also how to access the variables. What's their intended purpose? I might be asking a dumb question here, but I seriously don't know how to use it 😶

One example is defining a default directory. For instance, all your shortcuts might begin with "C:/Users/user/..." :

var = "C:/Users/user/..."

This allows you to easily append shortcuts like:

{var} + shortcut 1
{var} + shortcut 2
{var} + shortcut 3

This setup simplifies transitioning between different PCs.