Open drod3763 opened 2 years ago
You don't need both order by frequency and hotkeys.
Hotkeys is a better solution to the problem of "I want to quickly open a browser". Changing the order may also mess with mouse users muscle memory (Junction may already be doing that - not sure)
Frequency is useful if you use your mouse. For example, Bumpr is a mac program where the selection window appears underneath the mouse when you click the link (presumably also with your mouse). This allows you to create muscle memory in the sense that it could be two clicks to open it in your most frequently used browser quickly. This is less useful, if the window always appears in the center of the screen for example.
Instead of reordering, i would love it would highlight the most frequent option by default. That would man a double enter to open a image but enter and select app for everything else.
@rohmishra that's a nice idea - please open a new issue
Right now Junction orders by last use (its the default behavior of GLib).
Given that
We don't show the complete list of options anymore (see https://github.com/sonnyp/Junction/issues/30) and it'll probably stay like that - relying on an arbitrary order such as alphabetical doesn't make sense.
We will need to store the app use frequency for https://github.com/sonnyp/Junction/issues/29
I'd say it'd make sense to order options by frequency
EDIT:
Or we take the 4 most recent/frequent options and order them alphabetically to avoid them moving around. And ensure the most used option is always one of the option.
This is essential when your browser doesn't show in the initial recommendations. In my case, I wanted to use Waterfox (not sure why it doesn't show with the others).
Another solution could be manual ordering of preferred apps
Manual ordering can get out of hand quick and get confusing for multiple types. I do have a kinda working prototype on ordering by frequency that i worked on back in December but it requires some cleanup. I wanna rework how I handle gsettings before I send a PR.
What about a preference to set this? Order by frequency on|off
toggle for those that prefer it?
If I consistently use Firefox Dev Edition, then it would be useful to just have it show up as the first option. So ordering by frequency would be useful. Of course that means you have to track that number, so maybe it could just be an option?