ssborbis / ContextSearch-web-ext

Search engine manager for modern browsers
318 stars 35 forks source link

open Quick menu only when mouse is above selection #636

Closed GiftWolf closed 9 months ago

GiftWolf commented 1 year ago

I have enabled "Select text and open using a mouse button" for the Quick menu. The Quick menu opens if I hold the right mouse button anywhere on the website. This often interferes with my chord gesture of the "Foxy Gestures" extension.

I'd like to suggest an option that opens the Quick menu only if the click is done on or near the selection. In addition the user could be able to define a distance in pixels from the selection where a click would still open the menu.

ssborbis commented 1 year ago

The Quick menu opens if I hold the right mouse button anywhere on the website

Does this occur if you disable the Anywhere setting?

image

Or are you selecting text and then using Gestures?

GiftWolf commented 1 year ago

yes, it does. No, I'm not using any gestures and it happens if I disable Foxy gestures. BTW: Enabling the Ctrl checkbox has no effect for me. The menu opens whether Ctrl is pressed or not.

ssborbis commented 1 year ago

BTW: Enabling the Ctrl checkbox has no effect for me. The menu opens whether Ctrl is pressed or not.

Ok, I'll check that out

ssborbis commented 1 year ago

That bug is now fixed in the master branch. Still looking into detecting mouseover on a selection.

ssborbis commented 1 year ago

Release 1.47.9 going up with a fix for the CTRL bug. I am, however, having some issues with mozilla's review process, so I'm not sure it's posted yet.

ssborbis commented 11 months ago

in the master branch CS options -> Advanced -> Manual Edit

new: quickMenuOnlyOpenIfOverSelection - prevent the quick menu from opening when text is selected, but the cursor is not above the selection

ssborbis commented 9 months ago

This option should be in the release versions now. If you have any issues with it, please reopen this thread.