Skip to content

Grid Web Page failing to update with new images during run #171

Open
@brendanhoar

Description

@brendanhoar

Expected Behavior

Does anyone else have these problems with the SwarmUI Grid Tool Web Grid?

I would expect that as images were generated by the back end, the grid web page would always notice the updated images until the grid generation is complete and the web page would have all images.

Actual Behavior

While the grid is being generated, the web page with the grid picks up the new images being generated...for a while, however...at some point the page stops picking up new images. The only way to get it picking up the new images is to refresh the page.

There are no javascript errors in console. It seems repeatable on both Firefox and Edge. Have not tried Chrom* browsers.

This may be related: at the start of a new model load (or maybe at the end of the grid for a particular model), the last image from the previous model almost never loads until after the new model has generated one or more images, more noticeable when using larger models such as SDXL models.

Also: If the source of the problem is found to be intractable (e.g. a problem with javascript/dom/whatever in certain browser), the addition of a retry button that starts rechecking not-yet loaded images might be helpful.

Steps to Reproduce

  1. Create a large grid definition, hundreds of images.
  2. Execute.
  3. Come back halfway through.
  4. The web page is not updating, but images are still being produced by the back end.
  5. Refresh the web page.
  6. The web page is now up to date and updating...for a while anyway.

Debug Logs

N/A - no errors in SwarmUI log or in JS console.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingFrontendThis pertains to the frontend UI (HTML/CSS/JS)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions