Brush label mouse over duplicate region in the canvas
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:
- Set up a project with brush labels.
- Label a region.
- Mouse over the region in the Regions tab in the side-bar to see the duplicate mask.
- 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
Hello,
Do you mind upgrading LS to 1.19 and see if you can see this behaviour?
Thank you, Abu
Comment by Abubakar Saad Workflow Run
Hi I upgraded LS to 1.19 and still see the issue as reported above, thanks
Hello,
Do you have any ml-backend connected? Is there interactive view all enabled? I'm having hard time reproducing this issue.
Thank you, Abu
Comment by Abubakar Saad Workflow Run
Hi
This was reproduced both with and without an ml-backend connected so it does occur without any ml-backend and interactive view. Primarily do use an ml-backend and an interactive view though for the use case.
This issue does not happen on every single system and computer tested. It happens on some but not on others. It has been since on viewing on Windows/Edge and Mac/Safari but other systems that have Windows/Edge or Windows/Chrome it is not reproducible on.
Hello,
Ahh, yes, I've been using chrome and tried it on Firefox as well and its doesn't happen. We do recommend chrome as browser. Safari and Edge are not really supported as of yet.
Thank you, Abu
Comment by Abubakar Saad Workflow Run
Hi so it was not originally reported in the issue above as being a problem in Windows/Chrome and Windows/Firefox but the issue does happen there as well.
Again this issue does not happen on every single system and computer tested. But I do actually have at least one Windows system where the issue DOES happens in Windows/Chrome, Windows/Edge, and Windows/Firefox. I have updated the original issue above to reflect this.
Hello,
The systems is the VM you are testing it on? Ubuntu that has windows VM for one of the system and the other is window server and VM is on it?
Thank you, Abu
Comment by Abubakar Saad Workflow Run
Hi yes, the servers hosting label studio in this case are VMs in AWS EC2.
Hello,
Can you upgrade to version 1.20 and see if its happening. There has been some bug fixes and that should be fixed now.
Thank you, Abu
Comment by Abubakar Saad Workflow Run
Hello,
Can you upgrade to version 1.20 and see if its happening. There has been some bug fixes and that should be fixed now.
Thank you, Abu
Comment by Abubakar Saad Workflow Run
Hi
Thanks for the update. Upgraded to version 1.20. Unfortunately continue to see the same issue with duplicate region in the canvas as reported in this thread so does not appear to have fixed it.
Hello,
Do you mind sharing labeling interface? We are having hard time reproducing this.
Thank you, Abu
Comment by Abubakar Saad Workflow Run
It happens to me also (BrushLabels) - on Edge/Safari (Mac), but not on Firefox (Ubuntu).