Skip to content

Label falsely visible when the Inspector UI on certain AudioStreams is too small (width) #119491

Description

@NoNormalDev

Tested versions

Reproducible in:

  • 4.4
  • 4.6.2
  • custom build from few days (4.7.beta, commit ea1fb90)

I personally don't think that this is a regression, so I didn't test earlier versions (and also because they kept crashing when loading the project)

System information

Godot v4.7.beta (ea1fb90) - Windows 11 (build 26200) - Multi-window, 1 monitor - Direct3D 12 (Forward+) - dedicated NVIDIA GeForce RTX 3050 Laptop GPU (NVIDIA; 32.0.15.8183) - AMD Ryzen 5 5600H with Radeon Graphics (12 threads) - 31.34 GiB memory - WASAPI (48000 Hz, Stereo/mono)

Issue description

Watch the video:

2026-05-13.18-26-04.mp4

When the width is too small, the audio stream filename pops up above everything, when it should be hidden instead. I think this has something to do with negative values, as when the panel is getting smaller and smaller, the text disappears completely, but the suddently it appears whole, not clipped.

Image

As far as I know this is an issue in AudioStreamPlaylist, AudioStreamInteractive and AudioStreamSynchronized

Proposed fix is to somehow hide the text when it's too small (or size.x < 0 if thats the problem)
Image

Steps to reproduce

  1. Download and open the MRP
  2. Open the scene scene.tscn
  3. Click on the only node AudioStreamPlayer
  4. In the inspector, open the Stream property
  5. Now make the inspector panel small by resizing
  6. Bug reproduced (hopefully)

Minimal reproduction project (MRP)

audiostream_ui_bug_mrp.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions