HumanSignal / HumanSignal/label-studio

Brush label mouse over duplicate region in the canvas

Open
#7,654 13 comments 0 reactions 0 assignees View on GitHub
community_needs-information fix planned 🚧
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
![Image](https://github.com/user-attachments/assets/39febd05-3e8e-4195-87e7-6a484573790a)

How it looks on mouse over with duplication

![Image](https://github.com/user-attachments/assets/393757c4-b47d-4c8d-9ae9-6b55476e916a)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.