-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inspector Tooltips Load Without Descriptions on Custom Classes And Properties #94234
Comments
CC @dalexeev |
Related to / duplicate of:
This is not a recent regression, the bug is quite long-lived. The worst part is that documentation is not always available even for loaded scripts, so tooltips may be missing in the Inspector. Also, there is a more global problem that scripts are loaded/compiled on demand. So, documentation may be missing in Editor Help Search, and doc links to unloaded scripts will not work. We probably need a cache. |
Apologies, in testing I could have sworn it was not a problem in 4.2.x; it very clearly is. Maybe there was some behavior that I was doing that was causing scripts to compile/load without the saving? I have to head into work, but I'll take a look and try to recreate the expected behavior really quickly. I'll keep putzing around and see what I can find. |
The following code works well when you run Godot with the Lines 3703 to 3732 in 97b8ad1
|
Tested versions
System information
Godot v4.3.beta3 - macOS 14.5.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads) (Also tested on Windows 10 and Linux Ubuntu 24.04)
Issue description
Upon initially loading a project, custom descriptions in user created classes do not appear in the Inspector menu. Instead the text 'No description available.' appears in the tool up.
Saving the file with changes does not fix the problem. However, making any changes/edits to the script and saving it will cause the tooltips to load with the descriptions in place as expected. Closing and reloading Godot will revert the behavior back to the initial unintended behavior.
Expected behavior is that the description, as written in documentation in GDScript, will appear in the tooltip.
Example:
Snippet:
Appears as the following initially:
It should appear as such:
Appears to be a regression, though I could be mistaken. I am very curious as to the root cause/solution to the issue, but I am not very familiar with C++ nor the engine's internals.
Steps to reproduce
TestNode
or its properties.Minimal reproduction project (MRP)
tooltip_test_mrp.zip
The text was updated successfully, but these errors were encountered: