PNGInfo wrong
CaptainVarghoss opened this issue · 1 comments
Due diligence
- I checked for similar issues and couldn't find any.
- My WebUI and Unprompted are both up-to-date.
- I disabled my other extensions but the problem persists.
Describe the bug
Couldn't find this reported anywhere so apologies if it's already been reported/answered.
When sending an image to img2img/inpaint/etc with the buttons under a generated image it sends the Unprompted prompt, not the resolved prompt the image was generated with. Similarly if you click on the new (as of version 1.8.0) 'hires fix' button it generates a new prompt from the shortcodes and puts it in the pnginfo instead of the one that already existed.
Prompt
No response
Log output
No response
Unprompted version
10.8.0
WebUI version
1.8.0
Other comments
No response
Hi @CaptainVarghoss,
I have tested this and can confirm that the Send image to ...
buttons pass the prompt field verbatim, not the resolved string.
To my knowledge, the WebUI does not give extension developers a simple way of overriding the behavior of these buttons. I would have to somehow patch the WebUI itself or manage the prompt box with JavaScript, neither of which seem like great solutions.
I'll leave this issue open in case I think of any better ideas.