HumanSignal / HumanSignal/label-studio

The "incomplete brush" error in Label Studio when using the Brush tool

Open
#7,573 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**To Reproduce**
Steps to reproduce the behavior:
1. Upload an image
1. Go to the brush tool
2. Zoom image
3. Start drawing
4. "Incomplete brush"

**Expected behavior**
Due to this bug, I am able to draw concise lines using the brush tool, as shown in the image. Lines drawn on the image are not concise and correct.

**Screenshots**

![Image](https://github.com/user-attachments/assets/234bc57f-ae6b-4632-ad48-7ef62f873aea)

**Environment (please complete the following information):**
- OS: checked on both Linux and Windows
- Label Studio Version 2.7.0

**Additional context**
Console output: [mobx-state-tree] You are trying to read or write to an object that is no longer part of a state tree. (Object type: 'BrushRegionModel', Path upon death: '/annotationStore/root/children/0/drawingRegion', Subpath: 'maskDataURL', Action: '/annotationStore/root/children/0/drawingRegion.commitDrawingRegion()'). Either detach nodes first, or don't use objects after removing/replacing them in the tree.
at BrushRegion.jsx:521:30
at BrushRegion.jsx:539:5
at Brush.jsx:157:35

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.