Skip to content

MenuButton's switch_on_hover property ignores its own popup menu. #99842

Closed
@Mautar55

Description

@Mautar55

Tested versions

  • Reproducible in 4.4, 4.3 and 4.2 .

System information

Windows 10 64bits, Godot 4.4 mainly

Issue description

When enabling the "Switch on hover" property for a Menu Button, a button requested to change will ignore if its own popup menu is in between the cursor and the other Menu Button. This results in undesirable behavior on a vertical layout.

Image

Steps to reproduce

  1. Open the default scene.
  2. Click on menu A.
  3. With its popup menu deployed, move the cursor where menu B would be.

Please note that switch on hover is enabled on both.

Minimal reproduction project (MRP)

bug_menu.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