-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Fix the "Text selection using mouse doesn't jump when hovering on an empty area in a single page" integration test #18774
Comments
I take a look, if I can reproduce it |
I have bisected this problem (using
I have confirmed that if I revert this commit for the current I'm not sure why this only fails on Chrome and only locally (on Arch Linux), but fortunately it does fail consistently which makes it easier to reproduce and debug. I have found that changing https://github.com/mozilla/pdf.js/blob/master/test/integration/text_layer_spec.mjs#L128 from /cc @calixteman Do you have an idea what could have caused this issue? |
I have reduced it to 68332ec#diff-148dd18f1e2ce2f7b3ed63d4a36922f87ebb1103ff2eaf2e9854adee72d280e5R1106-R1111 causing the issue. It looks like rounding down the canvas size somehow causes this because if I change Given that this issue and #18775 only happen in Chrome it could indicate a few things: a bug in this commit that only triggers in Chrome, a bug in Chrome itself or a bug in Puppeteer in combination with Chrome. However, they also both use the |
This integration test consistently fails locally for me on Arch Linux with the following traceback:
I haven't seen this happening on the bots. We should figure out what could cause this.
The text was updated successfully, but these errors were encountered: