-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Which version of the app are you using?
3.3.14
Which API Provider are you using?
OpenRouter
Which Model are you using?
n/a
What happened?
The cursor focus is being unintentionally redirected during certain tool operations in Roo Code:
-
When the
ask_followup_questiontool is used, the cursor focus automatically shifts away from the current active location (e.g., if typing in another Roo Code tab). -
When using file modification tools (
write_to_fileorapply_diff), the cursor focus automatically moves to the modified document, even if the user was actively typing in the task prompt box.
This behavior disrupts the user's workflow and requires manual refocusing to continue their previous task.
Steps to reproduce
For ask_followup_question Tool:
- Open two tabs in Roo Code (Tab A and Tab B)
- In Tab A, start a task that will likely trigger the
ask_followup_questiontool - While Tab A's task is running, switch to Tab B and start typing in the task prompt
- When Tab A triggers the
ask_followup_questiontool, observe that the cursor focus shifts away from Tab B where you were typing
For File Modification Tools:
- Open two tabs in Roo Code (Tab A and Tab B)
- In Tab A, start a task that will involve file modifications
- While Tab A's task is running, switch to Tab B and start typing in the task prompt box
- When Tab A triggers either
write_to_fileorapply_difftool operation - Observe that the cursor focus automatically moves to the modified document in Tab A
- Verify that the cursor is no longer in Tab B's task prompt box where you were typing
Relevant API REQUEST output
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request