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

[Bug]: Pressing right mouse while drawing a mask draws a line from browser 0,0 to current pencil location.

Open somenewaccountthen opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

I was drawing a mask and i clicked the right mouse by accident. I sometimes do that. A line was drawn coming in from the top left of the image. It appears to come from 0,0 of the browser. See screenshot in reproduction.

There's undo these days to undo it. That makes this bearable.

Steps to reproduce the problem

  1. Go to Inpaint
  2. load an image
  3. go to bottom left corner: press left mouse and then right mouse. (Do not release left mouse)
  4. Release the mouse buttons
  5. go to bottom right corner: press left mouse and then right mouse. (Do not release left mouse)
  6. Release the mouse buttons
  7. go to top right corner: press left mouse and then right mouse. (Do not release left mouse).
  8. Release the mouse buttons You should now have 3 black lines roughly appearing to intersect somewhere in the top left of the browser content.

image

What should have happened?

Nothing should have happened.. No line. Just the context menu i guess. But definitely not a line.

Commit where the problem happens

f49c08ea566385db339c6628f65c3a121033f67c

What platforms do you use to access UI ?

Linux

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

No response

Additional information, context and logs

No response

somenewaccountthen avatar Oct 21 '22 18:10 somenewaccountthen

Not getting this bug on Windows -- tried with Firefox, Chrome, and Edge.

timntorres avatar Oct 24 '22 21:10 timntorres

there are some other strange bugs related to certain browsers for color sketch: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3249 only happens for chromium browser and not firefox.

ClashSAN avatar Oct 26 '22 15:10 ClashSAN