ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Stop/Cancel queue hotkey?

Open Lex-DRL opened this issue 3 years ago • 6 comments

I can't find such hotkey in the community wiki.

How about adding it?

I suggest Ctrl+? to cancel the current operation and Ctrl+Shift+? to clear the entire queue, where ? might be either of:

  • Actually, . (so, ? with shift)
  • PageDn (with semantic meaning "go to end", but an actual End usually has a ton of functionality attached to it already)
  • \
  • Pause

These keys are chosen as:

  • Non-conflicting with Ctrl/Ctrl+Shift combinations within text field;
  • Not used in graph currently (and rarely used at all);
  • Located near Enter (to switch fast between start/stop when playing with prompt).

Lex-DRL avatar Aug 22 '23 02:08 Lex-DRL

or BIG CANCEL button (atleast for now)

i came here create this shortcut recommendation and u already did this.

thewayur avatar Sep 22 '23 13:09 thewayur

Or just Escape to cancel if not in modal or dialog, hold Escape to clean queue. could be added at: ComfyUI_windows_portable\ComfyUI\web\extensions\core\keybinds.js // Close out of modals using escape

fernicar avatar Nov 02 '23 01:11 fernicar

@fernicar Doesn't escape conflict with "cancel edits" action when editing a field's contents?

Lex-DRL avatar Nov 12 '23 14:11 Lex-DRL

Hello All .. So all you have to do to cancel the comfyUI operation :

Under "Queue Prompt" button a small button "View Queue"

Whatevver you see Running press "Cancel"

Happy Comfing

GameMusicSmash avatar Aug 20 '24 20:08 GameMusicSmash

@GameMusicSmash Yes, I'm pretty sure everyone who commented in or subscribed to this thread is aware about it. But the issue is about doing so with a hotkey.

ComfyUI seriously lacks in UX department, and lack of convenient hotkeys is one of those areas.

Lex-DRL avatar Aug 20 '24 20:08 Lex-DRL

https://github.com/comfyanonymous/ComfyUI#shortcuts

Ctrl-Alt-Enter.

ltdrdata avatar Aug 21 '24 13:08 ltdrdata