Hi @Samuel_Talenti Thanks for reporting! Unfortunately I’m unable to replicate this bug on this version of Cursor on Mac. Can you try updating and restarting Cursor? If it persists, do you mind sharing a quick screen recording? This will better enable us to pinpoint the bug and get the right reports raised. Thank you!
Hi, polite bump as this issue is still persisting for me, and is quite annoying since I liked pinning… @kevinn are there any developer logs I can get and attach here to help pinpoint the root cause? I’ve tried quit & restart, reload window, closing and opening the workspace. Updated version info below:
There’s a limit to how many chats you can have pinned (50), so I’m wondering if some of them might be “stuck” somewhere.
Do you have sqlite3 installed on your machine? You can confirm this with a terminal command like this:
for f in ~/Library/Application\ Support/Cursor/User/workspaceStorage/*/state.vscdb; do
sqlite3 "$f" "SELECT value FROM ItemTable WHERE key = 'cursor/pinnedComposers'" 2>/dev/null | grep -q . && echo "$f" && sqlite3 "$f" "SELECT value FROM ItemTable WHERE key = 'cursor/pinnedComposers'"
done
If you see 50+ results (likely exactly 50), that’s the issue you’re running into. Our next step would be to figure out where these ghost chats are coming from.
Hey Colin, that’s it, 50 exactly. Is it safe to delete those entries from the table if I close cursor first, or is there an easier way without db commands?
On where they came from I’m not sure… I primarily work in a single workspace, and while I’ve updated and reopened it on occasion I doubt I’ve had so many chats pinned that it could’ve accumulated. If you want additional info send me over the commands and I’ll give you results.
It’s not ideal to perform surgery, but if you perform a backup first it’s low-risk!
Do they all show up under empty-window/state.vscdb? If so, a safe approach would be:
Fully quit Cursor (Cmd+Q, not just closing the window). Cursor keeps this value in memory and writes it back on exit, so any edit made while it’s running will be overwritten.
sqlite3 ~/Library/Application\ Support/Cursor/User/workspaceStorage/empty-window/state.vscdb \
"SELECT value FROM ItemTable WHERE key = 'cursor/pinnedComposers';"
3. Delete the pinned-chats entry:
sqlite3 ~/Library/Application\ Support/Cursor/User/workspaceStorage/empty-window/state.vscdb \
"DELETE FROM ItemTable WHERE key = 'cursor/pinnedComposers';"
4. Verify it’s gone (should print nothing):
sqlite3 ~/Library/Application\ Support/Cursor/User/workspaceStorage/empty-window/state.vscdb \
"SELECT value FROM ItemTable WHERE key = 'cursor/pinnedComposers';"
5. Relaunch Cursor and re-pin the chats you want. If anything looks wrong, quit Cursor and restore the backup: