Open
Description
Tested versions
- Reproducible in: Godot v4.4.1.stable (49a5bc7)
System information
Godot v4.4.1.stable (49a5bc7) - Windows 11 (build 26100) - Multi-window, 1 monitor - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.12044.47003) - AMD Ryzen 7 5800H with Radeon Graphics (16 threads)
Issue description
When adding documentation comments to a method (e.g., ui_enter()) using an input method editor (IME) and saving the script, the tooltip for that method becomes completely unavailable in other scripts that call it. The issue persists until specific actions are taken to restore functionality, including: restarting the project, switching application windows, or running/stopping the scene.
Steps to reproduce
- Make sure to use the Input Method Editor (IME)
- Create a script with a method:
# File: player.gd
func interact() -> void:
pass
- Create a dependent script that calls the method:
# File: ui_manager.gd
func _ready() -> void:
$Player.interact() # Hover here initially (tooltip works)
- Add a documentation comment to the method and save:
# File: player.gd (updated)
## Handles player interaction logic.
func interact() -> void:
pass
- Return to the dependent script and hover over interact().
- Observed: No tooltip appears, even after waiting or tab-switching.
- Restore functionality by:
- Restarting the Godot project.
- Switching OS window focus away/back.
- Running and stopping a scene.
Minimal reproduction project (MRP)
none