sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Crash when opening a repo which had been deleted

Open Lguanghui opened this issue 3 years ago • 1 comments

Version info

  • OS: macOS 12.6
  • Build: 2077

Description

When I use the shortcut key "Command + Shift + O" to open a deleted repo from the repos list, it crashes.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open a repository
  2. Delete this repository in finder
  3. Open repos list through shortcut key "Command + Shift + O", and select the one just deleted.
  4. The app flashes a dialog box, but then crashes.

Expected behavior

Crash should not happen.

Screenshots

video

Lguanghui avatar Sep 20 '22 05:09 Lguanghui

Still happens in Build 2079. It also happens when selecting the deleted repository via "Switch Repository" (Cmd + ^ + P).

It does not happen when opening a new window (Command + N) and then selecting the repository if it's one of the three shown under "Recent Repositories". When doing that, the error message is shown properly, offering to delete the repo from the list.

However: When clicking on "View More", the dialog box from "Open Repository" shows up. Selecting the deleted repo crashes the application again.

ghost avatar Nov 23 '22 13:11 ghost