Skip to content

RichTextLabel doesn't clear text internally when set to empty string #99891

Closed
@markdibarry

Description

@markdibarry

Tested versions

  • Reproducible in master
  • Not reproducible in: 4.4.dev5

System information

Godot v4.4.dev (893bbdf) - Linux Mint 22 (Wilma) on X11 - X11 display driver, Single-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (nvidia; 535.183.01) - 13th Gen Intel(R) Core(TM) i5-13600KF (20 threads)

Issue description

When setting text to empty string in RichTextLabel, the text does not get cleared.

2024-11-30.20-16-42.mp4

Steps to reproduce

  1. Create an RTL.
  2. Type text.
  3. Clear Text

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions