Comfy-Org / Comfy-Org/ComfyUI

The gallery is cleared when the server is shut down / or possibly when the connection is lost.

Open
#6,150 2 comments 1 reaction 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Expected Behavior

The state of the gallery should remain exactly as it is. Even if the content cannot be accessed because it is behind some API request that will not go through, the thumbnails must remain and the state of the gallery must be fully restored to its usable state if the connection can be re-established without reloading the page.

### Actual Behavior

The entire state of the gallery is wiped out, interrupting the user's work. They must now open directories instead to continue their work.

### Steps to Reproduce

1. Execute a workflow
2. Close ComfyUI
3. The gallery is empty.

### Debug Logs

```powershell
Unnecessary
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.