fkunn1326 / openpose-editor

Openpose Editor for AUTOMATIC1111's stable-diffusion-webui
MIT License
1.73k stars 207 forks source link

[Detect From Image], [Add Background Image] functionality not working properly in Firefox #126

Closed torrentwoo closed 1 year ago

torrentwoo commented 1 year ago

Describe the bug In Firefox, when using "Detect from Image", the detection result cannot be output normally for the first time (the height of the feedback area becomes zero), and the pose detection result can be output for the second time, but the node connection (or display) is wrong.

"Add Background Image" behaves the same as “Detect from Image".

To Reproduce Steps to reproduce the behavior:

  1. Open SD WebUI with Firefox
  2. Go to 'OpenPose Editor'
  3. Click on 'Detect From Image' and 'Choose one picture'
  4. See error

Expected behavior After the first detection is completed, the detection result can be output correctly.

Screenshots Initial UI (everything is normal): OpenPose-Initial

First try (feedback area disappears): OpenPose-Detect-from-Image-round1

Network debug info on first try (nothing wrong with backend data transfer): OpenPose-Detect-from-Image-round1-response

Second time (feedback area restored, weird detection result output): OpenPose-Detect-from-Image-round2

Network debug info on second time (backend data transfer goes normal): OpenPose-Detect-from-Image-round2-response

Environment

Additional context In Chrome 104.0.5112.101, it works as expected.

torrentwoo commented 1 year ago

After a few attempts, I found a simple workaround (without upgrading Firefox), DO IT AGAIN.