godotengine / godotengine/godot
Inconsistent/Broken Behavior of PopupMenu Item Tooltips
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
v4.2.1.stable.mono.official [b09f793f5]
v4.3.dev.custom_build [f28964805]
### System information
Godot v4.2.1.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.24002.92) - AMD Ryzen 7 PRO 6850U with Radeon Graphics (16 Threads)
### Issue description
Single Window Mode: Maybe ok, but `ui_cancel` will close the popup instead of hiding the tooltip which is the behavior everywhere else. For example, the escape key will not simultaneously clear a tool mode tooltip and deselect a node at the same time.
Multi Window Mode: `ui_cancel` does not hide the tooltip and the tooltip partially locks up the PopupMenu by not allowing you to use arrow keys to navigate, hover highlight is not functional.

### Steps to reproduce
Single Window Mode:
1. Show the tooltip in the above screenshot
2. Press `ui_cancel` (escape by default)
Mullti Window Mode:
1. Show the tooltip in the above screenshot
2. Press `ui_cancel` (escape by default)
3. Try to use arrow keys to navigate items
4. Try to hover highlight items
### Minimal reproduction project (MRP)
N/A
Contributor guide
Research direction
Start by reproducing the PopupMenu tooltip behavior in Godot 4.2.1 or a current build, testing ui_cancel and keyboard or hover navigation in both single- and multi-window modes. Trace the PopupMenu and tooltip interaction, then verify that ui_cancel and navigation behave consistently in both modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, godot
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100