-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Clicking the arrows in diffs on deleted lines doesn't work #179114
Comments
I cannot reproduce this. Do you see any errors in developer tools? Does this reproduce with any file and with any change or is it specific to this particular file? Kapture.2023-04-05.at.12.01.38.mp4 |
I can't reproduce it anymore either. I just updated to 1.77.0. Maybe it just happened to get fixed in that version? I can still reproduce #179115 though. |
Hmm no I can still reproduce it in 1.77.0. |
Found it! Seems like the issue only occurs after line 99 |
Hmm and another requirement is that the file has 1000 lines in total or more I think. |
@jespertheend I cannot reproduce. I tried with a file which has 1353 lines and I do an edit at line 600. Do you see any errors in Developer Tools (Help > Toggle Developer Tools)? Kapture.2023-04-05.at.18.01.12.mp4 |
@alexdima I don't think the devtools console contains anything of interest:
I've found that the line 100 rule doesn't completely hold for me either, when make the right panel very big it becomes clickable again. |
So far my hypothesis is that you need a long word wrapped line above the one you're trying to reset. But honestly I'm not sure anymore at this point. simplescreenrecorder-2023-04-05_18.27.57.mp4 |
Hooray, this reproduces when using word wrapping! The root cause is that some properties on the mouse event are not converted from view coordinates to model coordinates. This reproduces with the following word wrapped .txt file:
|
Seems like I can still reproduce (with and w/o word-wrapping): Screen.Recording.2023-04-27.at.11.10.28.movScreen.Recording.2023-04-27.at.11.14.43.mov |
So merging the PR will make the arrows work but will also bring back the issue of also setting breakpoints? That is unfortunate but I think I'd rather have the arrows working. |
👍 I think it's better to go back to the state we had in 1.77 and the risk is minimal as it is a simple revert. |
Does this issue occur when all extensions are disabled?: Yes
Version: 1.76.2
Commit: ee2b180
Date: 2023-03-14T17:57:21.103Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Linux x64 5.19.0-38-generic
Sandboxed: No
Steps to Reproduce:
simplescreenrecorder-2023-04-04_11.56.36.mp4
The text was updated successfully, but these errors were encountered: