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

Disable/enable definition option #439

Closed
fxmarty opened this issue Nov 27, 2020 · 5 comments
Closed

Disable/enable definition option #439

fxmarty opened this issue Nov 27, 2020 · 5 comments

Comments

@fxmarty
Copy link

fxmarty commented Nov 27, 2020

Hello,

There is the possibility with rikaichamp to disable/enable the definition with a shortcut. However after the recent update, I don't have a coherent behavior for this anymore. Meaning, if for example I'm in the mode with definitions disabled, depending on the word I hover on I would sometimes see the definition, sometimes not. Not sure I can better explain it, but I would be happy to provide more details. It's weird because yesterday evening it was working alright.

Edit: Firefox version 78.5.0esr

Thanks!

@birtles
Copy link
Member

birtles commented Nov 27, 2020

Hi!

Thank you very much for the report!

Oh, that's odd. It's quite possible I broke something there recently. Alternatively, is it just that for some words, Rikaichamp is showing the entries from the names dictionary at the top?

I tried to reproduce the problem but I couldn't yet. If you can send a screenshot with an example of where it is showing the definition when it should not, that would be helpful. Thanks!

Unfortunately I won't be able to look into it properly until Tuesday but thanks in advance!

@fxmarty
Copy link
Author

fxmarty commented Nov 28, 2020

Many thanks!

Not sure I could reproduce it consistently, but for example: https://dictionary.goo.ne.jp/en/

With the definition disabled at first:
Screenshot_20201128_022254

Press the shortcut to show definition ("d" in my case):
Screenshot_20201128_022308

Hover over an other word (just below):
Screenshot_20201128_022324

Hover over every words, the definition do not show.

But I find it to be a bit inconsistent, I do not understand logically what is happening here. Likely the same happens the other way, and when I toggle Rikaichamp (e.g. no definition --> shortcut to show definition --> Toggle OFF rikaichamp --> Toggle ON rikaichamp --> definitions do not show) there are weird behaviors too I feel like.

Many thanks for the addon though, from every day use I see it is getting better and better :)

@birtles
Copy link
Member

birtles commented Nov 28, 2020

Thank you so much! With those steps I can reproduce it!

I will debug this on Tuesday. Hopefully it will be an easy fix. Thank you again!

@birtles
Copy link
Member

birtles commented Nov 30, 2020

Ok, this should be fixed in the next release.

For my own reference: we should really drop the toggleDefinition message and just send the value we wish to set to the background process.

@fxmarty
Copy link
Author

fxmarty commented Jan 17, 2021

Seems fixed indeed! Thank you for the hard work :)

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