Code Editor loses focus when saving if Built-in browser is active in a tab

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Whenever a browser instance is active in a tab (doesn’t have to be actively shown), the current tab you’re on loses focus when saving the file.

Steps to Reproduce

  1. CMD+shift+p → open browser
  2. Go to a different tab with some code
  3. type some code → hit save
  4. tab loses focus

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.36
VSCode Version: 1.105.1
Commit: 55c9bc11e99cedd1fb93fbb7996abf779c583150
Date: 2025-12-18T06:25:21.733Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. The issue is that the built-in browser in Cursor conflicts with the editor focus - when you save a file Cmd+S, the focus shifts to the browser if it is open in another tab.

This seems to be a new focus management conflict between multiple Chromium contexts inside Cursor 2.2.x.

I’ll pass this to the team as a potential bug with focus management between browser tabs and the code editor.

1 Like

Alright, thanks Dean.