Design Mode: inaccurate rectangle of mouse hover over elements

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Agents Window - Design Mode: inaccurate rectangle of mouse hover over elements when UI Font Size is not at default value.

Steps to Reproduce

Agents Window - Settings - Appearance - Increase UI Font Size. Then open Browser - Design Mode hover over elements = not accurate tracing.

The further you are from top left corner of screen the more drastic displacement of mouse cursor vs selection.

Expected Behavior

The rectangle selection should be where mouse is hovering, not to the down right of it.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Cursor 3.0.9

Does this stop you from using Cursor

No - Cursor works, but with this issue

Work around shown in the video.

Hey, thanks for the report. The bug is confirmed. Design Mode doesn’t account for the zoom factor that gets applied when you change UI Font Size. Because of that, the hover rectangle coordinates are calculated incorrectly, and the offset grows the farther you are from the top-left corner.

I’ve passed this to the team. As a workaround for now, set UI Font Size back to the default value before using Design Mode.

Let me know if you run into any other issues.

1 Like

Yeah exactly. And to reproduce this bug, you might have to refresh the page. (If you change UI Font Size after you already are in Design Mode you might not see this bug.)

1 Like