-
Notifications
You must be signed in to change notification settings - Fork 29.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 on collapsed debug session stack expands then collapses it immediately #64463
Comments
The issue here is the following: @joaomoreno on advice what best to do here |
Why are we calling expand there? |
Because of the way my code is strucutred, whenever a stack frame gets focused I want to expand the session and the thread to show the stack frame. So what happens here is a weird cycle. Click on sessions, session due to navigator gets focused, because session gets focused we find a stack frame belonging to it and it gets focus and the expand happens |
The workaround of keeping a flag on the callstack's side is awkward and would be nicer if we could pass some context through the setFocus call in the tree like the old tree allows. |
New tree allows that too. |
Does not apply in this use case. |
The browserEvent? https://github.com/Microsoft/vscode/blob/master/src/vs/base/browser/ui/tree/abstractTree.ts#L361 For search, I'm looking for a way to pass some arbitrary flag in, although I could pack it into a fake browser event. |
Yeah the browser event... I'm not too keen on allowing |
I opened #64743 |
I'm guessing it's toggled by the click and by becoming active and they interfere?
The text was updated successfully, but these errors were encountered: