Skip to content

Bug: When using the Brush tool, "incomplete brush" error occurs #7385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ferris001 opened this issue Apr 16, 2025 · 0 comments
Open

Bug: When using the Brush tool, "incomplete brush" error occurs #7385

ferris001 opened this issue Apr 16, 2025 · 0 comments

Comments

@ferris001
Copy link

ferris001 commented Apr 16, 2025

Describe the bug
When using the Brush tool in Label Studio v1.17.0, an error occurs during or after drawing. Sometimes the brush region becomes unusable, and a browser console error is thrown related to a BrushRegionModel being accessed after removal from the state tree.

To Reproduce
Steps to reproduce the behavior:

  1. Open a labeling task with the Brush tool.
  2. Press the left mouse button to begin drawing a brush region.
  3. Release the left mouse button, browser console shows MobX-State-Tree errors about accessing a disposed BrushRegionModel.
  4. Press the left mouse button outside the region to drawing new brush region, The UI throws an "incomplete brush" error until release the left mouse button.

Expected behavior
Release the left mouse button to end the current brush region, press the left mouse button again to start a new brush region.

Screenshots

Image

Environment (please complete the following information):

  • OS: MacOS 15.4
  • Browser: Chrome
  • Label Studio Version v1.17.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant