-
Notifications
You must be signed in to change notification settings - Fork 758
Navigating callstack conflicts with search result focussing #6747
Comments
I can nicely reproduce this issue. Note that the issue happens only when the user switches from WASM file to JS file. I.e. instead of navigating to the (clicked) frame location in the JS file the current search location is selected. When the users switches between to JS frames it works well. Honza |
Is this a good issue for newbies to contribute? :) If so, any tips on where to dig into? |
This could be a bit tough; you may want to look at the "help wanted" and "good first issue" labels 👍 |
I tried but not getting how to lead to it and, couldn't find a way to solve it. Can someone help me please? |
Don't be disappointed @navgurukul-shivani18. This issue is a bit tough to start with. You might want to take on something not so tough. |
@AnshulMalik Can you please help me finding any good bug to work on? Please! |
/claim Hope it's not too hard. I'll try my luck! |
Thanks for claiming the issue! 👋 Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to 🦊 Debugger team! |
Copying from slack: currently if there is some text in the search box, and user navigates between files, the search results are updated and the document is scrolled to the first result. This issue is about when the user navigates using the stack-frames panel. The expected behavior is scrolling to the executed line, but the actual behavior is scrolling to the first search result. In my opinion this is a more general problem: when the user navigates to a file it should always start at the first line, regardless if it's with quick-open, clicking on tab or selecting a stack-frame. The user probably just wanted to see the file and there is no reason to scroll to the first result. I checked the behavior of two other code editors:
I find Chrome's to be the best user experience. Please tell me what you think, and if others agree with me I will try to implement it in the code. Thanks for your help! |
I agree @YisraelV. Chrome's approach is nice |
Just landed fix in MC. |
STR:
wasm.
wasm2
methods)25% speed:
The text was updated successfully, but these errors were encountered: