Paperfeed / LiuChan

A Chinese mouseover dictionary extension for Chrome
https://paperfeed.github.io/LiuChan
20 stars 11 forks source link

LiuChan extension prevents copying in the address bar in Edge browser for macOS #22

Closed thesla13 closed 5 months ago

thesla13 commented 5 months ago

Hello!

A while back I have started having trouble using copy, paste and cut operations in the address bar of Edge browser for macOS. I would hit Cmd+C, but nothing would be copied. Cmd+X — and nothing would be cut. I thought the problem could be caused by some of the browser extensions I use, since I use a lot, some 35, of them, and such hiccups do occasionally surface. And indeed, when an "InPrivate" window would be used (where most of the extensions are turned off), the problem would disappear.

I then had to go through the said ~35 extensions, one by one, turning them off, and looking if the behaviour changes. And that has proven much trickier and more time consuming to investigate than it sounds, because, it turned out, there were two culprits, each in his own way. Moreover, the culprits are related. (And I may be making it sound like bad detective fiction, but, boy, did I spend some time with it.)

So the trouble appears to be caused by two mouse-hover-pop-up-dictionary extensions. LiuChan and 10ten. The latter is a Japanese dictionary built upon Rikai foundation as well. Interestingly, it turned out, each messes things in its own way. 10ten prevents cutting in the address bar, while LiuChan — prevents copying from there.

The coherence seems to be complete: turning any of the extensions off makes the relevant problem go away; turning it back on makes it reappear. Whether or not the extension is active makes no difference: as long as it's not completely turned off in the extensions manager within browser settings, the relevant function would not work.

I've contacted the developer of 10ten as well, here. But could you please, please look into what could be going on here?

Thank you! And thank you so very much for your most wonderful extension and your hard work!

thesla13 commented 5 months ago

Uh-oh 🤦‍♀️🤦‍♀️🤦‍♀️🤦‍♀️

I've had Ctrl+X and Ctrl+C keyboard shortcuts assigned to enable/disable 10ten and LiuChan. X and C. Cut and Paste. I've reassigned them and everything works perfectly now.

Why on earth would Ctrl+X/C, not Cmd+X/C, mess with copy/paste on macOS, not Windows, — is still beyond me though. But that has to be a next person's problem, I am almost dead of exasperation as it is.

Again, I'm very sorry about the false alarm. And, again, — thank you so much for the most wonderful extension!