Skip to content

Operator caption is too long and overflows in the workflow editor #5070

@chenlica

Description

@chenlica

What happened?

When an operator is given a long caption, the caption text overflows the operator's bounding box and extends well beyond it, overlapping with neighboring elements on the canvas.

Expected: the caption should fit within (or be visually constrained by) the operator — e.g. truncated with an ellipsis, wrapped to multiple lines, or otherwise capped — so it does not overlap with other elements.

Actual: the caption renders on a single line at full length and visibly extends past the operator and into adjacent operators / links.

Operator caption overflowing the bounding box

How to reproduce?

  1. Open the workflow editor.
  2. Add any operator to the canvas (e.g. Scatter Matrix Chart).
  3. Set the operator's caption to a long string (e.g. Compare features ababkladsfasdfkasdjf;askdfjaksl;dfasdkasdklasjdflaksdjfasdkfads).
  4. Observe that the caption renders beyond the operator's bounds.

Version

1.1.0-incubating (Pre-release/Master)

Commit Hash (Optional)

02018cd

What browsers are you seeing the problem on?

Chrome

Relevant log output

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions