The queue mechanism in ComfyUI provides different modes for managing how prompts are processed. Understanding these modes is essential for effectively utilizing the queuing system during workflow execution. Below, I will explain how the queue modes work and suggest improved tooltips for clarity.
Current Queue Modes
The repository provided does not explicitly define distinct queue modes, but the following behaviors can be inferred:
-
Regular Queueing:
- When a user queues a prompt using
Ctrl + Enter, the current graph is added to the queue for execution.
- This mode allows for multiple prompts to be queued sequentially.
-
Priority Queueing:
- Using
Ctrl + Shift + Enter allows users to queue the current graph as the first in the queue, effectively giving it priority over other queued prompts.
- This can be particularly useful for urgent tasks that need immediate attention.
-
Cancellation:
- Users can cancel the current generation using
Ctrl + Alt + Enter. This interrupts the execution of the current prompt.
Suggested Tooltips
To improve clarity and usability, here are the current tooltips versus the suggested ones. The goal is to make them more descriptive and user-friendly.
| Current Tooltip | Suggested Tooltip |
|---|
Ctrl + Enter: Queue up current graph for generation | Ctrl + Enter: Add the current workflow to the queue for execution. Multiple workflows can be queued sequentially. |
Ctrl + Shift + Enter: Queue up current graph as first for generation | Ctrl + Shift + Enter: Add the current workflow to the top of the queue, giving it priority over other queued tasks. |
Ctrl + Alt + Enter: Cancel current generation | Ctrl + Alt + Enter: Stop the execution of the current workflow. This will cancel any ongoing processing. |
Ctrl + Z/Ctrl + Y: Undo/Redo | Ctrl + Z/Ctrl + Y: Undo or redo the last action performed on the workflow, allowing you to easily correct mistakes. |
Q: Toggle visibility of the queue | Q: Show or hide the queue panel, allowing you to view and manage queued workflows easily. |
H: Toggle visibility of history | H: Show or hide the history of executed workflows to track past actions and outputs. |
Conclusion
By enhancing the tooltips to be more descriptive and helpful, users will have a clearer understanding of the functionality of the queue modes in ComfyUI. This can significantly improve the user experience by making it easier to comprehend the available features and how to utilize them effectively.
If you have any specific scenarios or features in mind that you would like to see addressed in the tooltips, please let me know!