Focus leaks from the closing window modal

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Focus leaks from the modal and I can tab to editor menus and eventually the focus goes to the terminal and the focus gets stuck there, so there’s no way to tab back your way through that.

Steps to Reproduce

Close the window

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.69
VSCode Version: 1.99.3
Commit: 63fcac100bd5d5749f2a98aa47d65f6eca61db30
Date: 2025-11-07T18:21:29.650Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.8.0-87-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. It looks like a focus trap issue with the close window modal on Linux.

I’ll pass this to the team since it’s an accessibility issue with keyboard navigation. The modal should properly trap focus and prevent it from moving to the editor or terminal.

As a temporary workaround, you can try using the mouse to interact with the modal or press Escape to close it, if that key still works.

Please also let me know if you see the same issue with other modals or dialogs in Cursor.

Yes I can interact with it using mouse and it works fine.
Sure, I’ll report if I find any other modal producing the same, thanks.