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

RichTextLabel meta_hover_started area is incorrect #89156

Closed
bogcow opened this issue Mar 4, 2024 · 0 comments · Fixed by #89158
Closed

RichTextLabel meta_hover_started area is incorrect #89156

bogcow opened this issue Mar 4, 2024 · 0 comments · Fixed by #89158
Milestone

Comments

@bogcow
Copy link

bogcow commented Mar 4, 2024

Tested versions

4.2.stable

System information

Windows 10

Issue description

I have a RichTextLabel with some simple text within [url] tags. This RichTextLabel has a script that listens for meta_hover_started and meta_hover_ended signals, and prints when they are emitted. See the result:
GIF 3-4-2024 4-01-38 PM
Notice how the meta_hover_started is emitted even though the mouse is nowhere near the content within the [url] tags. Interestingly, the meta_clicked signal seems to work properly, only emitting when the mouse is clicked while actually hovering over the text itself.

Steps to reproduce

Create a RichTextLabel and add text within [url] tags. Move your mouse around the text and notice when meta_hover_started emits.

Minimal reproduction project (MRP)

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants