[GH-ISSUE #519] [Bug]: New Mask Editor has terrible mouse lag while moving cursor in paint zone. #145

Closed
opened 2026-10-31 22:09:17 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @sync-by-unito[bot] on GitHub (Dec 17, 2024).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/519

Frontend VersionLatest

Expected Behaviorsmooth mouse cursor

Actual Behaviorlaggy mouse cursor

Steps to ReproduceCreate a new workspace - with updated to latest frontend - paste image - right click - Open in Mask Editor - try to move a mouse in paint area. Then go to settings Mask Editor - Turn Old Version - select image - right click - Open in Mask Editor - try to move a mouse in paint area. There will be huge difference.

Debug LogsnoneBrowser Logsnone

Setting JSONall default - except using latest frontend

What browsers do you use to access the UI ?Google Chrome

OtherMy guess it's a really terrible idea to use several await in function which is called during mousemove event. Probably that's why I don't see exact slow function execution in performance captured trace.

┆Issue is synchronized with this Notion page by Unito

Originally created by @sync-by-unito[bot] on GitHub (Dec 17, 2024). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/519 Frontend VersionLatest Expected Behaviorsmooth mouse cursor Actual Behaviorlaggy mouse cursor Steps to ReproduceCreate a new workspace - with updated to latest frontend - paste image - right click - Open in Mask Editor - try to move a mouse in paint area. Then go to settings Mask Editor - Turn Old Version - select image - right click - Open in Mask Editor - try to move a mouse in paint area. There will be huge difference. Debug LogsnoneBrowser Logsnone Setting JSONall default - except using latest frontend What browsers do you use to access the UI ?Google Chrome OtherMy guess it's a really terrible idea to use several await in function which is called during mousemove event. Probably that's why I don't see exact slow function execution in performance captured trace. ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-519-Bug-New-Mask-Editor-has-terrible-mouse-lag-while-moving-cursor-in-paint-zone-15f6d73d365081909fd8ca700edb8780) by [Unito](https://www.unito.io)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#145
No description provided.