artemave / translate_onhover

Browser translation extension
https://chrome.google.com/webstore/detail/aggiiclaiamajehmlfpkjmlbadmkledi
205 stars 61 forks source link

'Only show' option doesn't take effect #103

Closed madamovych closed 1 year ago

madamovych commented 1 year ago

I have selected 'translate when I point to a word'. But I've also selected 'Only show word translation when I hold the ctrl key' and 'Only show selection translation when I hold the ctrl key'. The later ones are ignored. Popup is shown when I hover the mouse. When I click (and release) ctrl button once, this is reproducible no more for a while. But it annoys again after some time.

Was able 'to make it reproducible' after navigating Chrome tabs using 'ctrl + pgup' or 'ctrl + pgdn'. After these keystrokes popup appear again on mouse hover

artemave commented 1 year ago

Works as expected for me: I can see popup for as long as I hold ctrl (and move the mouse around). I don't see popup when control is released.

madamovych commented 1 year ago

Even in Chrome after you navigate different tabs with ctrl+pgdn and ctrl+pgup?

artemave commented 1 year ago

Ah, missed that detail. I can now see the problem.

madamovych commented 1 year ago

works for me. Thank you very much! 5 stars is yours