Skip to content
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

@export_category breaks export var tooltips #68520

Closed
aaandreeew opened this issue Nov 11, 2022 · 1 comment
Closed

@export_category breaks export var tooltips #68520

aaandreeew opened this issue Nov 11, 2022 · 1 comment

Comments

@aaandreeew
Copy link

aaandreeew commented Nov 11, 2022

Godot version

4.0 beta 4

System information

Windows 10 (x86_64), Vulkan, Intel Core i5-8265U with UHD Graphics 620 (31.0.101.2111)

Issue description

Edit: Clarified some language

Export variables can have editor tooltips set by preceeding their declaration with ## This is a tooltip. This doesn't work when the export variable is contained within a custom category like @export_category('Category')

(My screenshots don't have a visible cursor, sorry)

Works fine here, out of categories:

image
image

Doesn't work for export variables in categories. Tooltips still work for export variables outside of a category:

image

Steps to reproduce

  1. Create a new project and attach a script to the scene tree root (this is the quickest, but this bug applied to any other nodes I had)
  2. Create some export variables and annotate them like ## <annotation here> on the line before each. Note how tooltips appear properly.
  3. Create an export category with @export_category('<category name>') on a line before. Note how tooltips won't appear for export variables in the export category.

Minimal reproduction project

Editor Tooltips Bug.zip

Created in Godot 4.0 beta 4

@YuriSizov
Copy link
Contributor

Duplicate of #64432.

@YuriSizov YuriSizov closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2022
Repository owner moved this from Todo to Done in 4.x Priority Issues Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants