-
Notifications
You must be signed in to change notification settings - Fork 49
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: Line number in code snippets doesn't stay on the left side when scrolling #978
Comments
@Manueljlin I can no longer reproduce this issue. Could you please try again to see if you still have it? |
Well, this is weird. Here's more detailed information:
IIRC, I could reproduce it on a windows machine at school too, which might be easier to grab info from than to fight all of the opensuse downstream patches, xorg, kwin, nvidia stuff |
Just remembered about this one. More info:
I'll try on an M1 iMac + Magic Trackpad tomorrow and try to add more details for touchpads since I don't have the laptop from the previous comment anymore. |
Closing in favor of #976. |
I /think/ that's a different bug that just happens to also be for the line indicator |
@Manueljlin Would you be able to share a full-screen video of the steps to reproduce this issue? |
Ok, here's a few more videos, this time macOS Monterey on M1 Mini. As for the steps, just scroll with a mouse while holding shift to move horizontally. macos-firefox-recording.mp4macos-chrome-recording.mp4macos-safari-recording.mp4It only happens with Firefox, it seems. Upstream issue? :D |
Thank you so much for those videos. I noticed that in the Chrome/Safari videos you scroll using the scrollbar, was that intended?
Could you please try again with Troubleshoot Mode (Help > Troubleshoot Mode)? PS: I was able to reproduce a tiny artifact in Firefox 109.0a1 on Mac OS (Intel) when horizontally scrolling using Shift + mouse scroll: Screen.Recording.2022-11-16.at.11.14.25.mov |
I scrolled with both the scroll bar and mouse wheel in all videos to show that with the scroll bar it can't be reproduced on any of them, including Firefox. What I didn't notice is that in the latter two videos I use the scroll bar first unlike the first one 😅 With chrome I start using the scroll wheel 10 seconds in. In safari 5 seconds in. I'll try with the troubleshoot mode later today, and also update the Firefox version from the bug report to the current one |
@Manueljlin Could you please check if this issue is now resolved? |
Yeah, it's solved :D Thanks! |
Summary
On long snippets of code like in here, if you scroll horizontally using a touchpad or (more noticeably) with a mouse wheel + shift, the small line number indicator gets detached from the left side
Where did you spot the bug?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter
Steps to reproduce the issue
Happens with a 1080p 16:9 screen with the window sized 50vw so it's probably even more noticeable for sub-1920w screen
Environment
Device
Browser
Operating system
Screenshots
https://youtu.be/WZV_xQaCNqk
The text was updated successfully, but these errors were encountered: