HumanSignal / HumanSignal/label-studio
BitmaskLabels: "Select region after creating it" option is ignored
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
When using BitmaskLabels, selecting a label and creating a new region by drawing on the image, the region is always selected after releasing the mouse button regardless of the settings in the "Labeling Interface Settings" - "Select region after creating it // Automatically selects newly created regions".
**To Reproduce**
1. Create a labeling interface like:
```
```
2. Load a image
3. Set the "Select region after creating it" option in "Labeling Interface Settings" to false
4. Click on 'A'
5. Draw a region
6. See error
**Expected behavior**
The region is created but not selected. A new region can directly be created by drawing a new one
**Environment (please complete the following information):**
- OS: Windows 11
- Label Studio Version: develop branch (08.10.2025)
**Additional context**
It seems that by comment out the line:
`self.obj.annotation.selectArea(newBrush);`
in
web\libs\editor\src\tools\Bitmask.jsx (line 151)
the problem get solved. At the moment I can't see negative side effects but I'm not sure if this line is needed elsewhere.
Contributor guide
Assessment
This issue has not been assessed yet.