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

Makes the browser tab unresponsive for several seconds #45

Open
homatyano opened this issue May 30, 2020 · 4 comments
Open

Makes the browser tab unresponsive for several seconds #45

homatyano opened this issue May 30, 2020 · 4 comments
Labels

Comments

@homatyano
Copy link

The browser tab (Vivaldi, probably Chrome as well) becomes unresponsive for up to 10 sec after any Wikipedia page is loaded or refreshed. This happens even if the "wikipedia.org" is added to the extension's whitelist.

Steps to reproduce:

  1. Open this url in a new tab: "https://en.wikipedia.org/wiki/Cryptocurrency"
  2. Start scrolling the page up and down with the mouse wheel.
  3. Watch the browser tab freeze completely for several seconds shortly after the page was loaded.
@xd4rker
Copy link
Owner

xd4rker commented Jun 4, 2020

Thanks for reporting this. Somebody had the same issue in the past, but unfortunately, I couldn't reproduce it at that time... https://forum.vivaldi.net/topic/33652/research-minerblock-miner-block-extension-performance-lockup

Can you tell me which version of Vivaldi/OS you're using ?

@xd4rker xd4rker added the bug label Jun 4, 2020
@homatyano
Copy link
Author

Here's the browser info.
Vivaldi | 3.0.1874.38 (Stable channel) (64-bit)
Revision | ca1a7297a62038cd7ef1a841248d749a0346cc41
OS | Windows 10 OS Version 1909 (Build 18363.836)

@homatyano
Copy link
Author

What I just accidentally noticed — it appears that it's not a complete browser freeze.

Instead, the keyboard events (like pressing the arrow keys to scroll the page) are handled by the browser just fine. But the mouse-related events — like scrolling or clicks — get completely ignored. Even the mouse cursor doesn't change when it moves over a link.

Since I mostly operate the browser using the mouse, it appears as a complete freeze.

Also it appears these events are actually received and queued — but that queue is not processed. Because after the "freeze" is over, they are all processed at once making the page jiggle up and down.

@xd4rker
Copy link
Owner

xd4rker commented Jun 13, 2020

MinerBlock was trying to access variables which are deprecated and I believe that's the cause of the freezing. If you check the console, you will see a bunch of Use of "XX" is deprecated. Use XX instead. warnings.

I'll fix this in the next release, thanks again!

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

No branches or pull requests

2 participants