gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

The `Discard Changes` button hangs

Open JoyHak opened this issue 7 months ago • 8 comments

Version

0.14.13

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

The Discard Changes button hangs periodically without any visible warning or message. A message with a question remains on the screen until canceled and sometimes hangs after restarting GitButler.

I didn't see any reason or pattern: sometimes it hangs if I try to undo changes in locked files. Sometimes it hangs in large branches.

Image

How to reproduce (Optional)

  1. Cancel a commit or make changes to any file
  2. Open context menu
  3. Click Discard Changes
  4. See the issue and no response at all

Expected behavior (Optional)

  1. Cancel a commit or make changes to any file
  2. Open context menu
  3. Click Discard Changes
  4. See an error message or other warning.
  5. Force ignore changes regardless of the warning

Relevant log output (Optional)


JoyHak avatar Apr 02 '25 14:04 JoyHak