Issue #10688 reports
[Bug]: Sampler preview disappears when switching tabs or applicationsMirror of comfyanonymous/ComfyUI#8959 — moved to frontend repo since the fix is frontend-side. ## Description When a sampler is running and showing a preview, switching to another browser tab or application causes the preview to disappear. When returning to the ComfyUI tab, the preview is gone even though the sampler is still running.
Test focus: Verify that KSampler retains its preview image when switching away from and back to its workflow tab during generation.
Prerequisites: Load default workflow
Steps: Click canvas to ensure focus → Start the workflow generation → Wait for generation to reach KSampler and start showing preview → Capture the visible preview in KSampler → Click the + button to open a new workflow tab → Wait for the new tab to fully load → ...