invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.37k stars 2.4k forks source link

[bug]: Pressing the "Invoke button" when on the Unified canvas opens a blank tab with the bounding box content and the mask image (Firefox 125.0.1 issue?) #6239

Closed mcbexx closed 5 months ago

mcbexx commented 5 months ago

Is there an existing issue for this problem?

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

RTX 2070S

GPU VRAM

8

Version number

4.0.4

Browser

Firefox 125.0.1

Python dependencies

No response

What happened

I have no idea what could have triggered this, but all of a sudden a new tab opens when hitting "Invoke" in the Unified Canvas, containing the partial image from inside the canvas bounding box and the b/w mask image. The generation starts fine, I just need to close the new tab to get back to the UI, but it's still unexpected behaviour.

I separately tried clearing Intermediates, resetting the Web UI and restarting invokeai.bat and the browser. It looks like this is not happening in Chrome, could it be an issue with Firefox 125.0.1, which I think is a fairly recent release (April 16th)?

The adress bar shows my localhost address when the blank page with the two images pops up.

Or is this a feature I inadvertently switched on? Can't see anything in settings that would fit this behaviour.

Example of open tab:

firefox_LQLFvXixCO

What you expected to happen

I did not expect to get a blank tab with both the bounding box image content and the mask file when hitting "Invoke" on the Unified Canvas.

How to reproduce the problem

Load an image into the unified canvas, resize the bounding box (optional), mask a region, press "Invoke". A new tab opens, containing two images labeled "mask b64" and "image b64"

Additional context

No response

Discord username

No response

psychedelicious commented 5 months ago

This happens when you have this setting enabled: image

It was mostly used during initial canvas development but sometimes still useful if there's something weird going on.

I cannot imagine how it would become accidentally enabled (it is only touched on user action), and resetting the web UI should clear it, because doing that resets the browser storage.

mcbexx commented 5 months ago

Oh, that's it. Thank you. I must have turned that on by accident. Weird that it defaulted to being switched on even after I reset the WebUI.

Case closed.