automatic icon indicating copy to clipboard operation
automatic copied to clipboard

[Issue]: img2img Image tab edit button controls are confusing

Open AznamirWoW opened this issue 1 year ago • 2 comments

Issue Description

Open img2img. On the image tab load an image of a fox face, provide a prompt "a red fox". Click Edit button, see this: image

  1. mouse scroll resizes the uploaded image, but it has no effect on the result image

  2. left mouse click revert the image size to original, but clicking generate results in image

  3. another left mouse click resizes the image, now it has black borders around, but clicking generate results in image

reload the image again, click edit - the image has a blue border around it that can be dragged either by an edge or by a corner

  1. dragging bottom right corner to this position image after releasing the mouse button the image and the border snaps to original

but clicking generate reveals that the actual selection is the top left quadrant, which renders as image

left clicking the image reveals that is the case: image

but generate again renders the original and not what is seen on the screen image

Version Platform Description

08:19:53-920806 INFO Logger: file="G:\SD\sdnext.log" level=INFO size=2479074 mode=append 08:19:53-922806 INFO Python version=3.10.11 platform=Windows bin="G:\SD\venv\Scripts\python.exe" venv="G:\SD\venv" 08:19:54-037832 INFO Version: app=sd.next updated=2024-07-25 hash=42542562 branch=dev

Relevant log output

No response

Backend

Diffusers

UI

Standard

Branch

Dev

Model

StableDiffusion 1.5

Acknowledgements

  • [X] I have read the above and searched for existing issues
  • [X] I confirm that this is classified correctly and its not an extension issue

AznamirWoW avatar Jul 27 '24 12:07 AznamirWoW

Nobody seems to have any idea how this works even in Discord support threads.

solsol360 avatar Jul 30 '24 13:07 solsol360

for now this is limitation of how gradio works - and yes, i hate it. will need to implement a custom canvas editor. keeping this open for now.

vladmandic avatar Dec 22 '24 13:12 vladmandic

work on new canvas has started and all related issues will be tracked in #4358

vladmandic avatar Nov 04 '25 15:11 vladmandic