Skip to content

Make text input rectangle follow typed text in viewer (Text Annotation Tool) #22

@mvineeta

Description

@mvineeta

When using the Text Annotation Tool, an OpenGL rectangle appears to indicate the starting position of the text input. However, as the user types, the rectangle remains static and does not follow the text cursor or the text itself.

This causes confusion, especially with longer inputs, and makes it hard to see where new characters will appear — particularly at smaller font sizes or zoomed-in views.

🎯 Expected Behavior:

  • The OpenGL rectangle should move along with the typed text, so it continuously reflects the current cursor position.
  • This behavior should be similar to OpenRV and other DCC tools that provide live feedback while typing.
  • (Optional for future) Handle multi-line text wrapping.

🧪 How to Reproduce:

  • Select the Text Annotation Tool in the viewer.
  • Click to start typing (observe the initial OpenGL rectangle).
  • Begin entering text.
  • Notice that the rectangle remains at the original position and does not track the cursor or text.

📌 Notes:

Matching the behavior of OpenRV and other tools will improve text annotation usability significantly — especially during reviews.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions