Send to img2img doesn't send the image at all when clicked from the History tab
Describe the bug Send to img2img doesn't send the image at all when clicked from the History tab
To Reproduce Steps to reproduce the behavior:
- Generate some images
- Go to the History tab and renew(shouldn't this be "refresh"?) the page
- Select a pic (doesn't matter if it's txt2img or img2img)
- Click send to img2img
Expected behavior It should send the image & the options, right now it only seem to send the options
Screenshots https://user-images.githubusercontent.com/20817233/196013198-675bf98f-74be-457f-b4f4-a56843593dca.mp4
Desktop (please complete the following information):
- OS: W11
- Browser Brave
- Commit revision be1596ce30b1ead6998da0c62003003dcce5eb2c
Btw I just realized the same was true for the pnginfo tab, which might not be surprising as the prefix is being used in images_history.py https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/be1596ce30b1ead6998da0c62003003dcce5eb2c/modules/images_history.py#L126-L129
I can't make much sense of the code yet as it's gigantic and don't know the libraries nor the coding style, but for pnginfo at least, it looks like this part is lacking a pnginfo_send_to_img2img.click() :
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/be1596ce30b1ead6998da0c62003003dcce5eb2c/modules/ui.py#L1095-L1113
When it exists for the others, example for extras: https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/be1596ce30b1ead6998da0c62003003dcce5eb2c/modules/ui.py#L1088-L1093
Haven't found a similar field for images_history.py either but it seems to be coded completely differently
I'm a total noob about all this so sorry if I'm saying absolute garbage
Same problem here: Name Firefox Version 105.0.3
History tab is now an extension, it was fixed there.