[Bug] App Hangs on Empty Commit Message in Git Panel - Requires Restart

Problem Description: There is a critical UI bug in the Git visualization/source control panel. If a user clicks the “Commit” button without entering a commit message, the application enters an infinite loading state.

Symptoms:

  • Infinite Loading: The commit button shows a loading spinner indefinitely.

  • No Error Validation: No error message (e.g., “Commit message cannot be empty”) is displayed.

  • No Way to Cancel: There is no option to stop the process or return to editing.

  • App Hang: The interface becomes unresponsive in the Git section, forcing a complete restart of Cursor to recover.

Steps to Reproduce:

  1. Open the Git source control panel.

  2. Stage some changes.

  3. Leave the commit message input box empty.

  4. Click the “Commit” button.

Expected Behavior: The IDE should prevent the commit and show a validation tooltip or error message saying “Please provide a commit message,” without locking the UI.

Suggested Priority: High. This is a disruptive bug that breaks the development workflow and requires a hard restart of the IDE.

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Cursor IDE
  • Cursor CLI
  • Background Agent (GitHub, Slack, Web, Linear)
  • BugBot
  • Somewhere else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!


Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

Hey, thanks for the detailed report. The repro steps look good.

I need to confirm a couple things so we can investigate:

  1. What Cursor version are you on? Menu > About Cursor > Copy
  2. What OS are you using?

If you can record a short video of the freeze, that’d be really helpful.

I’ll share this with the team as soon as we confirm the details. Let me know!

Windows11
Version: 3.0.12 (user setup)
VSCode Version: 1.105.1
Commit: a80ff7dfcaa45d7750f6e30be457261379c29b00
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26220

2026-04-07_23-19-21.mp4

You cannot submit again now. You can submit using commands, but the window UI will never return to normal, and you must restart the window to submit via the UI again.

You should place the AI-generated description button next to the submit button, to its left. The submit button should be unclickable if there is no text in the input box.

Thanks for sharing the version, OS.

I tried to reproduce it on my side, but I haven’t been able to yet. I need a couple more details:

  1. Please open DevTools before you reproduce the bug. After the panel freezes, send a screenshot of the Console tab. There might be red errors there.
  2. Do you have any Git-related extensions installed, like GitLens, Git Graph, etc.?
  3. Does this happen in any repo, or only in a specific one?

This will help us figure out what exactly is triggering the freeze.

Hi, while it’s a bug or not, I’ll tell you that it happens to me too. To get out of the hang, what I do is right-click on the tool at the top of the Git utilities, uncheck “Changes,” and then enable it again. That usually unlocks it for me, and close commit editing file