RichText Hover issue
Hello,
Here is a recording from unity, its the button from hello world sample:
https://www.dropbox.com/scl/fi/09582yyr ... m44lw&dl=0
- On the left:
- Right:
pay close attention on the small area right above and left from first letter where its not hit visible, so its loosing hover.
I tried forcing IsHitVisible="false" on text and have button background for hit, same result.
Is this an issue with RichText?
Thank you.
Here is a recording from unity, its the button from hello world sample:
https://www.dropbox.com/scl/fi/09582yyr ... m44lw&dl=0
- On the left:
Code: Select all
<Button Margin="10">
<TextBlock noesis:RichText.Text="Test1"/>
</Button>
Code: Select all
<Button Margin="10">
<TextBlock Text="Test1"/>
</Button>
I tried forcing IsHitVisible="false" on text and have button background for hit, same result.
Is this an issue with RichText?
Thank you.
Re: RichText Hover issue
Further tests showed the issue is in our project, so you can ignore it for now.
Re: RichText Hover issue
Great! Marking as solved. Thanks for getting back.
Re: RichText Hover issue
We found out that if you position UI at Z that is not 0, then the Run element will cause issues. Inside UpdateActions of NoesisView.cs it hits Noesis.Run element when the UI is not at position 0, otherwise it does not. Z coordinate of Noesis.Run is always 0 and then it calculates wrong mouse position.
We tried this on your WorldSpaceUI sample if you set Object1 position to (0,1,1) and XRRig position to (0,0,-1) it starts to blink with above code sample - rotation of both objects is (0,0,0).
We tried this on your WorldSpaceUI sample if you set Object1 position to (0,1,1) and XRRig position to (0,0,-1) it starts to blink with above code sample - rotation of both objects is (0,0,0).
Re: RichText Hover issue
We have fixed it temporarily inside NoesisView. We used
and ignored Noesis.Run element
Code: Select all
void HitTest3D(Visual reference, Point3D point, Vector3D direction, HitTestFilterCallback filterCallback, HitTest3DResultCallback resultCallback)
and ignored Noesis.Run element
Re: RichText Hover issue
Is this issue only happening when using noesis:RichText ?
Re: RichText Hover issue
Could you please create a ticket with a patch with you local modifications to understand this a bit more? Thank you!
Who is online
Users browsing this forum: No registered users and 2 guests