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

Wrong cursor shape in RichTextLabel #34889

Closed
timothyqiu opened this issue Jan 7, 2020 · 0 comments · Fixed by #34890
Closed

Wrong cursor shape in RichTextLabel #34889

timothyqiu opened this issue Jan 7, 2020 · 0 comments · Fixed by #34890
Milestone

Comments

@timothyqiu
Copy link
Member

Godot version: v3.2.beta.custom_build.cd408c525

OS/device including version: macOS Catalina 10.15.2 / MacBook Pro (Retina, 13-inch, Early 2015)

Issue description:

Long lines wrap inside RichTextLabel. When a meta link wraps in the middle, the remaining area of the line turns the mouse cursor into a hand shape:

demo

The signaling is correct: move your mouse into this area triggers the "meta_hover_ended" signal; and clicking the mouse here won't trigger the "meta_clicked" signal (just like an HTML link that wraps in the middle).

Steps to reproduce:

  1. Create a RichTextLabel
  2. Set its BBCode text to This is a test and [url=test]here isaveryveryvery long link[/url] that wraps
  3. Resize the label until it wraps after the text "here"
  4. Move your mouse to the right of the text "here"

Minimal reproduction project:
RichTextLabelTest.zip

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.

3 participants