AbdullahAlfaraj / Auto-Photoshop-StableDiffusion-Plugin

A user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend.
MIT License
6.67k stars 507 forks source link

Adobe Photoshop does not respond after starting Inpaint #219

Open TheThingG opened 1 year ago

TheThingG commented 1 year ago

Photoshop 24.3.0 Plugin version 1.2.2, zip install

Steps to reproduce: Select inpaint, make mask Click Generate Inpaint Alt+Tab or minimize Photoshop until generation finishes

After switching back, Photoshop is stuck and no buttons are clickable.

AbdullahAlfaraj commented 1 year ago

I could not reproduce the problem. If this happens to you in other modes as well, you could try changing the image import/export methods from the Settings tab. If this works, please let me know.

image

TheThingG commented 1 year ago

I suspect the problem is not even in inpaint. It feels like the screen is just blocked by something after the button is pressed. Inpaint doesn't even need to be started. Here's the video: https://youtu.be/9kTE-FHhrK8

AbdullahAlfaraj commented 1 year ago

Hey there! Thanks for sharing that video and giving me more info about the issue. I’ve tried to reproduce it on my end but haven’t had any luck. It could be that Photoshop is getting stuck in a modal state and freezing. This has never happened to me and I switch between Photoshop and other apps all the time. Did changing the image import/export methods in the Settings tab do anything?

TheThingG commented 1 year ago

Changing import/export image method does nothing. I've also noticed that sometimes when previewing a frozen photoshop window, it displays a progress bar of the plugin.

Безымянный

In general, the bug occurs randomly when the plugin window is open. If you close the plugin window before minimizing Photoshop, Photoshop will open without problems.

AbdullahAlfaraj commented 1 year ago

The progress bar indicates that photoshop is in a modal state. This means that photoshop is executing an operation that will modify the document. Hopefully if I label out the commands we can narrow down where the problem lies.