godot icon indicating copy to clipboard operation
godot copied to clipboard

Items menu does not appear when a MenuButton is selected in the 2D editor

Open blackears opened this issue 2 years ago • 2 comments

Godot version

v4.0.stable.official [92bee43ad]

System information

Windows 10, Compatability

Issue description

Clicking on a MenuButton when in the 2D editor should add an Items menu to the top of the editor window. It does in Godot 3.5.1, but this seems to be missing from Godot 4.

Steps to reproduce

Create a new scene and set it's root as a Component. Add a MenuButton as a child. Click on the MenuButton.

An Items button should appear to the right of the spatial editor menu to allow you to add items to your menu, but nothing appears there.

Minimal reproduction project

N/A

blackears avatar Mar 06 '23 17:03 blackears

What does "set it's root as a Component" mean?

Can you provide a minimal reproduction project?

nongvantinh avatar Mar 07 '23 14:03 nongvantinh

I meant to say Control.

Here's a project that demonstrates this: itemMenuNotShowng.zip

blackears avatar Mar 07 '23 14:03 blackears

@akien-mga I've searched all things related to ItemListEditor in master branch. I couldn't find any.

It seems like during the upgrade process, this feature was removed.

I wonder if this is intended.

nongvantinh avatar Mar 10 '23 14:03 nongvantinh

It was removed because the functionality is now directly in the Inspector:

image

akien-mga avatar Mar 10 '23 14:03 akien-mga