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

Separate shortcuts for search-engine in context menu #14

Closed
mecedo opened this issue Jan 17, 2018 · 10 comments
Closed

Separate shortcuts for search-engine in context menu #14

mecedo opened this issue Jan 17, 2018 · 10 comments

Comments

@mecedo
Copy link

mecedo commented Jan 17, 2018

Is it possible to implement every search-engine as a separate item in context menu after selecting word? I mean not expanding menu "Search with" and selecting engine but every engine directly in context menu.

@ssborbis
Copy link
Owner

I think the new API lets each extension have 1 top-level menu entry only.

From the docs

If you have created more than one context menu item or more than one tools menu item, then the items will be placed in a submenu. The submenu's parent will be labeled with the name of the extension.

@mecedo
Copy link
Author

mecedo commented Jan 18, 2018

Sad :( It' was very useful possibility in Context Search X which I used before 57. Very useful because I'm doing searching very often.
Thanks.

@ssborbis
Copy link
Owner

Have you tried the quick menu feature at all?

@ssborbis
Copy link
Owner

I've added an option to open the quickmenu on right-click (not hold) and open the normal context menu on long right-click in the latest beta. It's not exactly what you're after, but it should make searches quicker if you're used to right-click ->search.

https://addons.mozilla.org/en-US/firefox/addon/contextsearch-web-ext/versions/beta

@mecedo
Copy link
Author

mecedo commented Jan 22, 2018 via email

@mecedo
Copy link
Author

mecedo commented Jan 23, 2018 via email

@ssborbis
Copy link
Owner

There doesn't seem to be a way to recognize different mouse buttons in the context menu but it could work in the quick menu. It will take some code overhaul though. I'll try to get something for the next release.

@ssborbis
Copy link
Owner

@mecedo
Copy link
Author

mecedo commented Jan 29, 2018

Thanks, but there’s a bug in this version. I’m using right button long hold to invoke quick menu. And now if quick menu appears and you release right button (for moving cursor to search engine you need) then first search engine (where the cursor was located during holding right button) is selected suddenly. After invoking quick menu you cannot release right button until you select proper search engine. it’s inconvenient. In previous version it worked much better :)

@ssborbis
Copy link
Owner

I think I've got that fixed now. Try 1.2.5b2

Moved a lot of code around so there's bound to be a few bugs.

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

No branches or pull requests

2 participants