Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: When mask editor is open, middle click pastes nodes in the clipboard in the background #2409

Open
Botoni opened this issue Feb 3, 2025 · 0 comments
Labels
Potential Bug Untriaged bug

Comments

@Botoni
Copy link

Botoni commented Feb 3, 2025

Frontend Version

ComfyUI_frontend v1.8.13

Expected Behavior

Middle click should not paste anything, it should just pan in the mask editor.

Actual Behavior

When mask editor is open, middle click pastes nodes in the clipboard in the background.
This happens in Linux with chromium based browsers. I haven't tested it in Windows or Mac.
In Firefox and forks, by default, middle click always pastes the clipboard, outside the mask editor too, but disabling the option in firefox settings disables the behaviour, and it doesn't happen even in the mask editor.

Steps to Reproduce

It happens with any node copied in the clipboard and pressing middle click in the mask editor.

Debug Logs

Nothing happens in the console.

Browser Logs

Loaded brush from cache: {type: 'arc', size: 14, opacity: 1, hardness: 1, smoothingPrecision: 10}   index-B4tExwG7.js:49382
URL {origin: 'http://127.0.0.1:8188', protocol: 'http:', username: '', password: '', host: '127.0.0.1:8188', …}   index-B4tExwG7.js:51693

That appears when entering the mask editor, nothing gets logged when middle click is pressed.

Setting JSON

comfy.settings.json

I've tried with "KJNodes.MiddleClickDefault" both in true and false.

What browsers do you use to access the UI ?

Vivaldi and Brave (the problem happens).
Firefox (it doesn't happen disabling middle mouse paste in the about:config settings).

Other

No response

@Botoni Botoni added the Potential Bug Untriaged bug label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Untriaged bug
Projects
None yet
Development

No branches or pull requests

1 participant