Comfy-Org / Comfy-Org/ComfyUI_frontend

[Bug]: Task Output Folder View produces way too many results

Open
#720 2 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 3h
Merged PRs (30d)
495

Description

### Frontend Version

1.2.44

(but this issue existed since the feature was introduced in previous versions)

### Expected Behavior

For debugging purposes, for each image generation, [AP Workflow](https://perilli.com/ai/comfyui/) produces a few intermediate images throughout the pipeline. For example: if the control panel is configured to enable the face detailer function and the upscaler, APW will generate:

- IMG1 of the basic txt2img operation
- IMG2 of the face detailing operation applied to IMG1
- IMG3 of the upscaling operation applied to IMG3

Throughout the pipeline, for debugging purposes, APW also prints a few lines of text. So, the previous example would produce 2-3 text outputs in console detailing the parameters used for the generation.

According to this, and as I understand the new Task Output Folder View feature, I'd expect to see a folder output with 3 to 5-6 items in it (depending if only images are counted, or if also text is counted - this is unclear to me).

### Actual Behavior

Actual behavior with all functions but txt2img enabled:

Screenshot 2024-09-03 at 08 41 32

And yes. Clicking on the task folder number really shows 1212 items:

Screenshot 2024-09-03 at 08 52 02

### Steps to Reproduce

I see this with APW 11.0, which is still in Early Access. Didn't try with APW 10.0 which is GA.
Happy to provide a copy if you want to investigate.

### Debug Logs

```powershell
Nothing out of the ordinary in the terminal logs.
```

### Browser Logs

Attached.
[192.168.1.6-1725350263197.log](https://github.com/user-attachments/files/16845348/192.168.1.6-1725350263197.log)

### What browsers do you use to access the UI ?

Other

### Other

Vivaldi on macOS

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.