ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Text Cursor Forcefully Moves to End with Curly Braces in Nodes on comfyUI Portable Version

Open crankynuts opened this issue 1 year ago • 8 comments

After the recent update, there's a bug in all nodes capable of outputting text strings that include curly braces '{}' for wildcards, where the text cursor is forcibly moved to the end of the text. Despite repeated clicking, the cursor reverts back to the end every 0.5 to 1 second, making it impossible to edit text within the node. I've searched Google but couldn't find anyone with a similar issue, which is why I'm registering it here. Currently, as a workaround, I'm editing the text in a note node and then pasting it into the wildcard node, which is incredibly frustrating. Please help!

Thank you.

crankynuts avatar Mar 19 '24 01:03 crankynuts

I had this same problem.

frankyifei avatar Mar 28 '24 00:03 frankyifei

Facing the same issue!

urstrulybala avatar Apr 03 '24 05:04 urstrulybala

Me too!

ssuukk avatar Apr 10 '24 08:04 ssuukk

the problem does not only occur with comfyUI Portable Version. I'm having the same problem and I use the version installed as per the instructions.

cjps-br avatar Apr 13 '24 16:04 cjps-br

Issue confirmed still happening. I fully updated ComfyUI and all custom nodes, and this bug started immediately when I added {brown|black} to one of the the positive prompts.

Malaclypse235 avatar Apr 14 '24 02:04 Malaclypse235

is anyone else not using this feature or they are using wildcard node instead

frankyifei avatar Apr 19 '24 09:04 frankyifei

Yes it is happening to me too, it has been happening about a month for me, I don't know why more people are not talking about this it's a problem

But I have a bigger more annoying problem, which I might have to create a separate issue for but pre-update ComfyUI I had the frustrating Text Cursor Forcefully Moves to End when using {} but strings were rendering okay! Screenshot 2024-04-19 153307_edit Screenshot 1 (Pre-update issue)

Post update this week {} Text strings enclosed in curly brackets {} no longer work at all. Additionally, this problem disrupts my output text and images. (See attached screenshots) Screenshot 2024-04-19 155457_edit Screenshot 2 (Post-update issue)

I have tried everything, even reinstalling ComfyUI, but it doesn't fix the problem can anyone help or know of a workaround?

RamonGuthrie avatar Apr 19 '24 15:04 RamonGuthrie

I am having this issue now as well. I have a lot of wildcard text files where the subject is a variable ${nme}. I don't care about using the variable, but if even load those into comfy I can't manually change that string since the cursor immediately jumps to the end of the prompt a second after I move it anywhere else in the prompt.

Thanks for reviewing (and hopefully resolving) this issue.

CCpt5 avatar Apr 22 '24 20:04 CCpt5