HumanSignal / HumanSignal/label-studio
Brush label mouse over duplicate region in the canvas
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
We create a brush label. When we mouse over the region for the brush label we see a duplicate region in the canvas. When we mouse away from the region for the brush label we see only the real region and the duplicate region goes away.
**To Reproduce**
Steps to reproduce the behavior:
1. Set up a project with brush labels.
2. Label a region.
3. Mouse over the region in the Regions tab in the side-bar to see the duplicate mask.
4. Mouse away from the region in the Regions tab in the side-bar to remove the duplicate mask and only see the real mask.
**Expected behavior**
Regardless of mouse over in the Regions tab there should be no duplication of brush labels.
**Screenshots**
How it should look without duplication

How it looks on mouse over with duplication

https://github.com/user-attachments/assets/a3d3c248-5b2a-428f-b0f3-cb5af61d7d39
**Environment (please complete the following information):**
Seen on multiple environments
OS: hosted on Linux Ubuntu 22.04.4 LTS (GNU/Linux 6.8.0-1029-aws x86_64) VM, viewing on Windows/Edge and Mac/Safari.
Label Studio Version 1.17
OS: hosted on Windows Server 2025 Datacenter 10.0.26100 VM, viewing on Windows/Edge, Windows/Chrome, and Windows/Firefox and Mac/Safari.
Label Studio Version 1.17/1.18/1.19
Contributor guide
Assessment
This issue has not been assessed yet.