You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the image editor, clicking a Transformer resize handle or clicking a region to select it frequently seems to click-through or miss the resize handle. It either draws a new selection box or click-drags the underlying annotation rectangle. It's easy to tell this will happen because the cursor will not change to the resize-cursor. I've had this happen with polygon vertex handles as well, but I'm going to use the humble RectangleLabel in this issue.
When a rectangle annotation is selected, some of the 8 resize anchors work and others don't, and which ones work changes every time the same box is re-selected. I think this tends to happen on particularly large images (eg 10k+ pixels on a side).
It makes working on large images very frustrating.
To Reproduce
Steps to reproduce the behavior:
Create a label-studio project using the object-detection template.
Create a task with a large image, eg 15,000px x 15,000px
Create an annotation with RectangleLabels
Try to resize the RectangleLabels and notice only some of them afford the bi-directional-arrows resize-cursor
Note how re-selecting a RectangleLabel may change which handles are affected
More RectangleLabels per annotation and high zoom levels may increase likelihood of bad resize handles.
Expected behavior
Every resize handle grabs on the first click, consistently, across repeated re-selects.
Screenshots
Faulty Handle Behavior (below)
_
Functional Handle Behavior (below)
_
Video of Behavior
2026-07-08.17-00-14.webm
Environment (please complete the following information):
Additional context
I believe this issue is related to #4558, #4452 and PR #9700 . These issues frame the problem of inconsistent handle click-behavior as the handles being too small. I don't think that's what's happening, as my experience shows that you don't have to be exactly on-mark to get the resize-cursor IF the resize-cursor is to appear at all. I think it has to do with konva's color-based hit-detection mechanism.
Describe the bug
In the image editor, clicking a Transformer resize handle or clicking a region to select it frequently seems to click-through or miss the resize handle. It either draws a new selection box or click-drags the underlying annotation rectangle. It's easy to tell this will happen because the cursor will not change to the resize-cursor. I've had this happen with polygon vertex handles as well, but I'm going to use the humble RectangleLabel in this issue.
When a rectangle annotation is selected, some of the 8 resize anchors work and others don't, and which ones work changes every time the same box is re-selected. I think this tends to happen on particularly large images (eg 10k+ pixels on a side).
It makes working on large images very frustrating.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Every resize handle grabs on the first click, consistently, across repeated re-selects.
Screenshots
Faulty Handle Behavior (below)
_
Functional Handle Behavior (below)
_
Video of Behavior
2026-07-08.17-00-14.webm
Environment (please complete the following information):
Additional context
I believe this issue is related to #4558, #4452 and PR #9700 . These issues frame the problem of inconsistent handle click-behavior as the handles being too small. I don't think that's what's happening, as my experience shows that you don't have to be exactly on-mark to get the resize-cursor IF the resize-cursor is to appear at all. I think it has to do with konva's color-based hit-detection mechanism.