Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

22.9.9.2 Release #2226

Closed
10 tasks done
toasted-nutbread opened this issue Sep 10, 2022 · 27 comments
Closed
10 tasks done

22.9.9.2 Release #2226

toasted-nutbread opened this issue Sep 10, 2022 · 27 comments

Comments

@toasted-nutbread
Copy link
Collaborator

toasted-nutbread commented Sep 10, 2022

https://github.com/FooSoft/yomichan/releases/tag/22.9.9.2

General

Testing

Stable

  • Update Chrome stable release.
  • Update Firefox stable release.
  • Upload stable builds to the GitHub release.

FYI @FooSoft

@toasted-nutbread toasted-nutbread pinned this issue Sep 10, 2022
@MarvNC
Copy link

MarvNC commented Sep 10, 2022

Scanning seems to be much less reliable, refusing to scan for no apparent reason and sometimes refusing to scan at other times. It may have to do with the web page the content is on; things do not scan at all on Discord, and scanning is slow and only seems to work half of the time on this page.
Meanwhile it's working perfectly fine here on Github.

Reverting to the previous version of the extension solves these issues. No errors in the console of the webpage or the background.html page.

@toasted-nutbread
Copy link
Collaborator Author

Can you share your settings file, and maybe record a demo of the issues? Can you describe the "slow scanning" difference?

I am able to scan text on Discord without issue.

Problem could be related to #2176, but I'm not sure.

@MarvNC
Copy link

MarvNC commented Sep 10, 2022

yomichan-settings-2022-09-10-16-38-12.zip

The slow scanning is taking multiple seconds from the cursor/modifier key being pressed to the popup showing up, and often not scanning at all. I will record a video later today.

@Thermospore
Copy link
Contributor

You are on 22.6.6.0 right? I am too, but I haven't had that issue. Here are my settings
yomichan-settings-2022-09-10-17-18-02.txt

@MarvNC
Copy link

MarvNC commented Sep 10, 2022

I reverted after 22.9.9.0 had these scanning issues, yes. No issues on 22.6.6.0.

@Thermospore
Copy link
Contributor

Ah ok I see. How did you install 22.9.9.0?

@MarvNC
Copy link

MarvNC commented Sep 10, 2022

You can download the source code from the releases page, and install it from the 'ext' folder by loading it as an unpacked extension.

@MarvNC
Copy link

MarvNC commented Sep 11, 2022

Here's a video. I'm holding down the modifier key for almost the whole time here. It seems to also suffer the same slowness in the Github text box for writing comments.

2022-09-10_18-07-36.mp4

@toasted-nutbread
Copy link
Collaborator Author

Can you share what it looks like with the old version? I am still unable to reproduce a speed difference between either version, although I do only have ~27 of the 50 dictionaries you have.

@MarvNC
Copy link

MarvNC commented Sep 11, 2022

Not lightning quick, but very usable.

2022-09-10_19-04-57.mp4

@MarvNC
Copy link

MarvNC commented Sep 11, 2022

I just tried disabling all my dictionaries except JMDict and using 22.9.9.0 and the slowness persists; it noticeably speeds up lookups on 22.6.6.0. So I guess dictionary count likely isn't the issue?

@toasted-nutbread
Copy link
Collaborator Author

@MarvNC
Copy link

MarvNC commented Sep 11, 2022

1 - same as usual
2 - slow/failing to scan
3 - slow/failing to scan

@toasted-nutbread
Copy link
Collaborator Author

Okay, I think that confirms my suspicious that the slowness stems from the changes in #2178, although I don't see any regression on my side when profiling.

Could you test this and see if it has the issue? And if it does fix it, could you make a video comparison of 22.9.9.0 vs this one using only one dictionary?

Thank you for your help!

@MarvNC
Copy link

MarvNC commented Sep 11, 2022

And thank you for the work!

Now that you mention it, it is words near the right side of the window that are slow/not being scanned. It seems to fix the issue. It also solves the scanning in Discord that wasn't working me. Glad I'm able to use 22.9.9.0 now!

Performance test:

2022-09-10_22-06-33.mp4

22.9.9.0:

2022-09-10_22-07-49.mp4

@toasted-nutbread
Copy link
Collaborator Author

Oh I think I see what the issue is. You might have had your zoom level on these websites at a value that isn't 100%. For some reason that will cause Chrome to report the CSS zoom level as the same as what your user-defined browser zoom is, which is not handled properly.

I'll look into fixing that properly.

@FooSoft
Copy link
Owner

FooSoft commented Sep 11, 2022

Released to testing!

@Thermospore
Copy link
Contributor

ah, yep now I can't scan anything at all haha even on github

on the search page: searching by clicking on or selecting a different part of the sentence doesn't work either
image

my settings file is above if needed

for reference github is at 100% zoom and I have yomichan search page at 110% zoom
image

changing it has no effect though

@toasted-nutbread
Copy link
Collaborator Author

@Thermospore In your OS settings, do you have display scaling set at a value other than 100%? I've found that that also triggers the issue for me. Just want to confirm the things that seem to be causing this.

@Thermospore
Copy link
Contributor

Yes, it's set to 125% (windows 10)

@toasted-nutbread toasted-nutbread changed the title 22.9.9.0 Release 22.9.9.1 Release Sep 21, 2022
@toasted-nutbread
Copy link
Collaborator Author

@FooSoft I have bumped the release to 22.9.9.1, which includes #2227. The testing release should be updated with this, but not pushed to stable yet. There is now an option to enable/disable the relevant changes in case of issues.

@FooSoft
Copy link
Owner

FooSoft commented Sep 22, 2022

Testing updated to 22.9.9.1

@Thermospore
Copy link
Contributor

scanning issue resolved for me 🙏 it's great to be back

@toasted-nutbread
Copy link
Collaborator Author

Alright, @FooSoft I have made one last update for testing on this release, the main change is #2235, all changes are here. This restores support for Google Docs, which there have been some additional comments about recently so I finally got around to figuring that out.

This can go to testing for now and probably stable soon after; unless there are issues, I don't foresee any more patches necessary.

@FooSoft
Copy link
Owner

FooSoft commented Sep 25, 2022

Updated!

@toasted-nutbread
Copy link
Collaborator Author

@FooSoft We can probably release to stable, I haven't seen any other issues.

@FooSoft
Copy link
Owner

FooSoft commented Sep 29, 2022

Released to stable

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

No branches or pull requests

4 participants