godotengine / godotengine/godot
Typed Dictionary containing enumeration keys or values doc tooltips wrong
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
- Reproducible in: 4.5.1stable
### System information
Godot v4.5.1.stable - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; 32.0.15.7628) - 12th Gen Intel(R) Core(TM) i5-12490F (12 threads) - 31.81 GiB memory
### Issue description
Typed Dictionary containing enumeration keys or values doc tooltips wrong, it will treat(wrongly display) enumeration as a type of dictionary. See the screenshots below.
#### Screenshots:
### Steps to reproduce
N/A
### Minimal reproduction project (MRP)
[tooltip-issue_2025-10-27_01-19-44.zip](https://github.com/user-attachments/files/23151492/tooltip-issue_2025-10-27_01-19-44.zip)
Contributor guide
Research direction
Start with the attached minimal reproduction project in Godot 4.5.1 and reproduce the typed Dictionary tooltip behavior in the editor. Trace the editor tooltip path for Dictionaries whose keys or values are enumerations. Done means the tooltip displays the enumeration key and value types correctly rather than presenting them as a Dictionary type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100