stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Send to img2img doesn't send the image at all when clicked from the History tab

Open Mozoloa opened this issue 3 years ago • 3 comments

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:

  1. Generate some images
  2. Go to the History tab and renew(shouldn't this be "refresh"?) the page
  3. Select a pic (doesn't matter if it's txt2img or img2img)
  4. 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

Mozoloa avatar Oct 16 '22 01:10 Mozoloa

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

Mozoloa avatar Oct 16 '22 01:10 Mozoloa

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

Mozoloa avatar Oct 16 '22 02:10 Mozoloa

Same problem here: Name Firefox Version 105.0.3

a3nima avatar Oct 16 '22 07:10 a3nima

History tab is now an extension, it was fixed there.

mezotaken avatar Jan 06 '23 09:01 mezotaken