ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

[Frontend] Unable to remove workflow in Beta UI

Open huchenlei opened this issue 1 year ago • 5 comments

Related PR: https://github.com/comfyanonymous/ComfyUI/pull/3112

Reproduction Steps:

  1. Click x on a workflow

image

  1. Click No in the popup dialog

image

  1. Click workflow tab to verify that a new workflow is created

image

huchenlei avatar Jun 26 '24 02:06 huchenlei

This probably has the same cause as the issue I mentioned in the pull request conversation.

When you delete "Unsaved Workflow (5)", it creates an "Unsaved Workflow (6)" instead of returning to "Unsaved Workflow".

If you simply select "Unsaved Workflow", it would also create an "Unsaved Workflow (6)" copy, instead. It never returns to a previous unsaved workflow in the list. It just keeps adding copies, if you try to switch between 2 unsaved workflows.

Here, deleting one of the workflows, is what would cause the switching between workflows, but a new copy is created instead.

JorgeR81 avatar Jun 26 '24 08:06 JorgeR81

Show me where the code for this is and I will look for a solution, is this installed by node or part of ComfyUI?

BrechtCorbeel avatar Jun 27 '24 03:06 BrechtCorbeel

It's part of Comfy UI, but it's in "Beta". You can enable it in the settings.  It was added a couple of days ago, but it's being worked on for a few months now ( see PR conversation: https://github.com/comfyanonymous/ComfyUI/pull/3112 )

set

JorgeR81 avatar Jun 27 '24 06:06 JorgeR81

Do you have any idea if this Beta thing saves and stores the queue in the workflow?

BrechtCorbeel avatar Jun 27 '24 13:06 BrechtCorbeel

OK, it's working now.

JorgeR81 avatar Jun 28 '24 06:06 JorgeR81