UI re-focusing becomes slow over time

Describe the Bug

After a long time of using Cursor, I’ve noticed that focusing/unfocusing the window has become very slow. At the same time, closing the editor triggers a popup with “Saving UX state” message, which takes a couple of seconds. I’ve managed to narrow it down to globalStorage folder being too large, after deleting it ($HOME/.config/Cursor/globalStorage) and reconfiguring Cursor again, the UI feels much faster.

Steps to Reproduce

Have a large Cursor config.
Unfocus the window.
Refocus and notice that tabs are not clicking and you can’t type.

Expected Behavior

Fast and furious UI.

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.0
VSCode Version: 1.99.3
Commit: eb5fa4768da0747b79dc34f0b79ab20dbf582020
Date: 2025-07-01T19:54:35.986Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.15.2-arch1-1

Additional Information

This might be a VSCode bug: VSCode 1.66 slow, laggy when re-focusing/switching back to editing from another window or program · Issue #146737 · microsoft/vscode · GitHub

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @heraldev and welcome to Cursor Forum

Thank you for the bug report. V1.2 is a pre-release version and Cursor is collecting the bug reports for improvements before public release.

You can find the general thread here,

UPDATE: The issue still persists even after I cleared the state. Cursor is barely usable now

@heraldev Could you go to Help > Open Process Explorer and post here what is consuming so much resources within Cursor?

I don’t see anything out of ordinary there, and I just encounter random UI freezes at this point.