You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 15, 2026. It is now read-only.
Edits from Roo steal editor focus, causing edited files to break #2122
#858 was opened but was changed to a discussion #1358.
I believe this should be considered a bug, as it renders VSCode unusable while Roo is making edits.
Detailed Steps to Reproduce
Ask Roo to make any set of edits and while it is applying diffs, start typing in a document. The next time a diff gets applied, that tab will steal the focus and any text you were typing will be instead inputted into the file Roo changed.
Relevant API Request Output
Additional Context
No response
Reacted by dosubot, Eduard Reñé Claramunt, Danila Sentyabov and Eddy Lin
Yes it can be closed. Felix' pr is the better solution.
For making tabs stay at their position and preserving pinning status you can comment out the line 226 "await vscode.window.tabGroups.close(tab)" in DiffViewProvider.ts
This issue has been automatically closed because it has been stale for over 2 months with no recent activity. We understand that issues can sometimes be overlooked or deprioritized.
If you believe this issue is still relevant and should be addressed, please feel free to:
Reopen the issue with any additional context or updates
Create a new issue referencing this one if the problem persists
Reach out to the maintainers if you need assistance
Thank you for your understanding and your contribution to RooCode!
Activity
hannesrudolph commentedon Apr 1, 2025
It is an annoying behaviour that's for sure. Would you like to make a PR that we can include in our next release?
hannesrudolph commentedon May 8, 2025
@felixAnhalt can you please respond to this comment so I can assign this to you?
felixAnhalt commentedon May 8, 2025
Sure @hannesrudolph
KJ7LNW commentedon May 10, 2025
#2122 #2955 and #2908 seem to be related.
Authors: I am not sure what is happening, maybe this is fine, but please make sure we avoid duplicate effort.
hannesrudolph commentedon May 14, 2025
2955 is the answer to 2122. I think 2908 is stale.
KJ7LNW commentedon May 14, 2025
@seedlord, should/can #2908 be closed?
seedlord commentedon May 14, 2025
Yes it can be closed. Felix' pr is the better solution.
For making tabs stay at their position and preserving pinning status you can comment out the line 226 "await vscode.window.tabGroups.close(tab)" in DiffViewProvider.ts
MuriloFP commentedon Jul 15, 2025
This issue has been automatically closed because it has been stale for over 2 months with no recent activity. We understand that issues can sometimes be overlooked or deprioritized.
If you believe this issue is still relevant and should be addressed, please feel free to:
Thank you for your understanding and your contribution to RooCode!