Skip to content

Using a mouse button to open PopupMenu prevents other GUI elements from being interacted with the mouse #106642

Open
@adamalbu

Description

@adamalbu

Tested versions

  • Reproducible in: 4.5-dev4, 4.5-dev3, 4.4-stable, 4.1-stable

System information

Windows 10 - Godot 4.5-dev3

Issue description

When calling popupmenu.popup() when a mouse button is clicked, the popup menu will show and close properly but it will block any clicks on GUI elements.

Steps to reproduce

  1. Trigger a PopupMenu to open using a right click
  2. Select an item or click elsewhere

Minimal reproduction project (MRP)

bug_2025-05-20_18-48-43.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions