Comments (7)
I was using Safari yes. I have just replicated on Chrome and Firefox as well, the same behaviour happens.
from rgthree-comfy.
Interesting, I can see why CMD + C and CMD + V would stick. But I can't find a reason why CMD + Enter would, other than Mac just always not sending a keydown if CMD is pressed. Not impossible, I suppose.
I added a handler so if the META/COMMAND key is lifted (which is working), then rgthree-comfy will clear any other keys that may be stuck. Since I don't have a Mac, let me know how this works.
from rgthree-comfy.
It seems to work just fine! Thank you!
from rgthree-comfy.
Thanks for opening this up. Are you using Safari? Can you also try on Chromium and/or FireFox.
The details here are that the browser window must be losing focus and/or comfyui is swallowing the event such that rgthree-comfy never receives a signal the key has been lifted (unfortunately, browsers don’t have a check for ‘is this key currently down’ but need to track state through a manual ‘key is pressed’ and ‘key is released’; but if that second signal is never sent then the program would forever think the key is still pressed).
from rgthree-comfy.
If you alt-tab out and back and then set the bookmark does it work properly?
from rgthree-comfy.
I'm unable to reproduce on windows, so this must be something specific to Mac. I've added some debug code that could help me a bit and confirm what it is that could be sticking for you.
Pull the latest rgthree-comfy and open ComfyUI with the following hash: http://127.0.0.1:8188/#rgthree-dev=true&rgthree-debug=true
. Now, you should see a live view of the current keys rgthree-comfy things are being pressed in the top-right of the screen.
Can you confirm when you copy something that the keys stick as shown in that debug box even after you release? (As JoeNavark mentioned, if you leave the tab and come back, it should clear any down keys too).
- If you copy a node, is CMD and C stuck, or just C?
- What happens if you press CMD + C, but don't have any node to copy, etc?
- Are there other cases of CMD + ? that stick other than copy and paste.
It's not impossible that ComfyUI is intercepting and stopping the event so it can copy. It's not happening on windows with copy and paste, so if that's the case for Mac only then that would be wildly unfortunate. It could be something about Mac without ComfyUI's code either... though a bit odd on multiple browsers too... I'll keep digging here.
from rgthree-comfy.
Since I'm also on OSX, I tested a bit for you.
Copying a node or text with CMD+C will only cause the C key to get stuck. In fact, all combinations with the CMD (Meta) key will cause the associated key to get stuck. For example, if I use CMD+Enter to queue a prompt, the Enter key will get stuck. It doesn't appear to do that with any other key (Ctrl, Alt, Fn, ...).
Unfocusing the window (like switching tabs in the browser) will immediately unstick the key. Also, pressing the stuck key will unstick it as well. For example, if C is stuck after a CMD+C, I just have to press C to unstuck it.
from rgthree-comfy.
Related Issues (20)
- [ Power Lora Loader ] display longer Trained Words / phrases
- Image Comparer in real time? HOT 4
- Change progress bar position, to match the new Comfy UI menu bar. HOT 4
- [Feature Request] Checkpoint loader with info
- Workflow restore/load/import breaks after be08b0f HOT 4
- Fast Group Muter / Bypasser breaks when workflow contains a group with no color HOT 1
- [Power Lora Loader] Assorted Proposed Changes HOT 1
- Having both rgthree-comfy and ComfyUI-AnimateDiff-Evolved installed makes the majority of rgthree nodes disappear from add nodes/search nodes menu HOT 9
- 我找不到image comparer 节点了,另外一台电脑可以有,重装这个插件也不行,问题出在哪呢?和其他的插件冲突? HOT 2
- [Feature Request] Collapse Muted/Bypassed nodes
- It's time to shrink ".git" directory. HOT 1
- After the recent comfyui update,somthing about api run the wrong way. HOT 1
- BUG: JavaSript seems to be causing issues with fonts/layout HOT 5
- BUG: Prompt Progress Bar stuck at top of window HOT 3
- On July 10, 2024, after updating the plugin, the copy node, paste error occurred HOT 1
- comfyui-workspace-manager and rgthree-comfy cannot be enabled at the same time HOT 6
- After the update, there's something on top blocking me. HOT 4
- Copy/paste of nodes stopped working. HOT 1
- [Feature Request] Reroute (rgthree) node
- Feature Request: Fast Group Muter / Bypasser output an optional Int HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rgthree-comfy.