You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found in v4.2.stable.mono.official [46dc277], tested in v4.3-dev6.mono.official and found similar issue, tested in v4.1.4.stable.mono.official and found similar issue.
System information
Windows 11 - v4.2.stable.mono.official - OpenGL API 3.3.0 Core Profile Context 24.1.1.240110 - Compatibility - Using Device: ATI Technologies Inc. - AMD Radeon RX 6950 XT
Issue description
When I change the scale of a control node with a rich text label in it, the tooltip popup location of the text with the hint doesn't seem to move with the now scaled text position and size. If I change the font size, the hint popup location moves, it seems to just be an issue with the scale feature of control nodes.
Steps to reproduce
Create a control node
Add a margin container as child
Add a rich text container as child to margin container
Viewport used get_global_transform().xform_inv(mpos) to convert the mouse position to the control's local coordinates when getting the control's tooltip, which does not handle scale correctly. This impacted tooltips for any controls that depended on the position to determine what tooltip to show, including RichTextLabel, ItemList, Tree, and probably some others. This change is for Viewport to use get_global_transform_with_canvas().affine_inverse().xform(mpos) for tooltips instead, to match what we do for Viewport::_gui_call_input.
Fixesgodotengine#91984
Tested versions
Found in v4.2.stable.mono.official [46dc277], tested in v4.3-dev6.mono.official and found similar issue, tested in v4.1.4.stable.mono.official and found similar issue.
System information
Windows 11 - v4.2.stable.mono.official - OpenGL API 3.3.0 Core Profile Context 24.1.1.240110 - Compatibility - Using Device: ATI Technologies Inc. - AMD Radeon RX 6950 XT
Issue description
When I change the scale of a control node with a rich text label in it, the tooltip popup location of the text with the hint doesn't seem to move with the now scaled text position and size. If I change the font size, the hint popup location moves, it seems to just be an issue with the scale feature of control nodes.
Steps to reproduce
Minimal reproduction project (MRP)
RichTextLabelHintTestZip.zip
The text was updated successfully, but these errors were encountered: