Skip to content

Phantom tab button steals input despite texture = null #83232

Closed
@Wierdox

Description

@Wierdox

Godot version

v4.0.2.stable.official [7a0977c] v4.2.dev6.official [57a6813]

System information

Windows 10

Issue description

When assigning an already valid tab button icon texture to null, it keeps a phantom tab button around that intercepts input from the tabs, even off the tab bar.

  • Issue occurs in both TabContainer and TabBar.
  • Assigning tab button icon from a texture to null will cause the issue.
  • Will emit its tab_button_pressed signal, prevents tab beneath from getting the input.
Godot_v4.2-dev6_win64_AWBHLNAo4x.webm

Steps to reproduce

Download repro, run main and click around like the video above.

Minimal reproduction project

bug_reproduction.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions