Comfy-Org / Comfy-Org/ComfyUI

Sampler preview disappears when switching tabs or applications

Open
#8,959 3 comments 1 reaction 0 assignees View on GitHub
bug-cop:triaged Feature Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

Start run, run reaches sampler (teacache, hunyuan etc) and preview begins in sampler. Switch to another tab or a different application that covers the sampler on screen. Return to tab or application and preview is still there.

### Actual Behavior

Regardless of sampler (teacache, hunyuan, etc), the sampler preview is lost if you switch tabs or switch to an application that covers the sampler.

Ubuntu Linux

### Steps to Reproduce

Start a run with sampler preview enabled. Switch tabs or change to an application that covers the sampler on screen. Return to ComfyUI from application or return to original tab in ComfyUI.

### Debug Logs

```powershell
There is no anomaly in the log.
```

### 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.