-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Bug] Freezing when closing tab #33
Comments
I could not recreate this issue, but it seems like the extension thinks you continue pressing the right mouse button, and tries to call the scroll wheel action. Does it still happen if you disable the |
I confirm it still happens if I disable the |
The tab I return to after closing one still freezes. |
Okay, then what about this build? |
Unfortunately, this doesn't change anything. |
Then, I'm afraid, for now I'm out of ideas why it could happen. What you've described (content script in one page intercepts mouse event from another page) shouldn't really be allowed by the browser. But I already had Vivaldi-specific bug report previously, which I couldn't resolve as well. Probably Vivaldi messes with mouse events under the hood in some manner, which messes up the CMG's |
I wouldn't be surprised if it turns out to be a Vivaldi specific issue... Thanks for trying to fix it, I'll keep you informed if the situation evolves in any way! |
Sure, thanks. In my case, even the hovered segment highlight is not working in Vivaldi, and mouse events are handled weirdly. But I just tried in latest version of Chrome and everything seems to work fine, as well as in Firefox. |
That's what I thought too, but it doesn't seem to change anything. I kept that option disabled though. |
Hm... How about this one? |
With the test_3 build, I tried:
In all case, the freeze occurs. |
Hm, okay. So, my last idea is to disable passive attribute of scroll listener if continuous scroll detection is disabled, and horizontal scroll events are disabled as well. Here's a test build with this change: |
It seems fixed on the majority of websites! The few remaining are maybe only a problem from the Vivaldi side, not yours. |
Okay, great! It's not a great fix, as it requires you to disable the continuous scroll detection, but at least that's something |
I uploaded new |
To be sure, I disabled every extension installed. Unfortunately, Vivaldi is still freezing. |
This bug appeared a few days after installing CMG.
Sometimes, I did not complete to determine why, closing a tab with CMG makes my browser (Vivaldi) freeze for few seconds.
2024-11-05.12-45-55.webm
Here are the logs:
Closing tab:
Parent tab:
content.js:1
[Violation] Handling of 'wheel' input event was delayed for 4839 ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responsive.
The text was updated successfully, but these errors were encountered: