Browser tab reacts on keys pressed in agent window

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Often when I in agent window and typing, key combos meant to move cursor to prev or next word instead make browser tab navigate back and forward.

Steps to Reproduce

Not aware of exact steps. Happens intermittently but often, multiple times per day

Operating System

MacOS

Version Information

Latest cursor version

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known class of bugs where the built-in browser tab intercepts keyboard shortcuts from other areas of Cursor. Several similar issues (with Cmd+N, Cmd+T, Cmd+L) have been fixed recently, but this specific one with Option+Arrow keys needs more repro info.

Could you share a few details so we can properly track this?

  1. Exact Cursor version (Help > About or Cursor Settings > About)
  2. Is the browser tab open or visible when this happens, or does it happen even when the browser is closed?
  3. The exact key combo you’re pressing, is it Option+Left or Option+Right?
  4. Does closing the browser tab (if open) stop the issue?

This will help the team reproduce and fix it. Thanks!

Hi @deanrie ! Thanks for the help with this.

I too have been struggling with this issue and figured out how to reproduce it just now.

The action that activates the bug is choosing a URL from URL bar history autocomplete list. See video #1.

Video #1: Dropbox
Video #2: Dropbox

  1. Cursor Version: 2.6.18 (Universal)
  2. Browser tab is open.
  3. This happens with both option-left and option-right.
  4. Yes, closing the browser tab fixes the issue. If you open a new browser tab, it is fine until you choose another URL from the history autocomplete list. See video #2.

Please let me know if I can provide any further information!

@larrylegend Great repro info, this is exactly what we needed.

The trigger being URL autocomplete selection is a really useful detail. It clearly causes the browser to keep some kind of focus or keybinding context that intercepts Option+Arrow from other panels.

I’ve flagged this with the team. No ETA yet, but the detailed steps and videos will definitely help us prioritize it.

In the meantime, the workaround you found, closing and reopening the browser tab, is the best option.

1 Like