Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.67f1

6000.3.8f1

6000.4.0b8

6000.5.0a6

Issue ID

UUM-134474

Regression

No

The UIElements "GeometryChangedEvent" is not invoked when modifying "VisualElement.style.translate"

UI Toolkit Framework

-

How to reproduce:
1. Open the attached ”IN-129846.zip” project
2. Enter Play Mode
3. Open UI Toolkit debugger (Window → UI Toolkit → Debugger)
4. In UI Toolkit debugger window, click the "Pick Element" button
5. In Game window, click on the red square
6. In UI Toolkit debugger window, in “Styles” dropdown click on “Show all“ button (it’s located near the search field)
7. Find and set the “left” property to 100px
8. Notice that the message "OnGeometryChanged is called!" is logged to the Console
9. Find and set the “translate” property’s “x” value to 100
10. Observe the Console window

Actual result: No message is logged to the Console
Expected result: The "OnGeometryChanged is called!" message is logged to the Console

Reproducible with: 2023.3.0a2, 6000.0.67f1, 6000.3.8f1, 6000.4.0b8, 6000.5.0a6
Could not test with: 2023.1.0a1, 2023.2.0a1 (in UI Toolkit Debugger “translate” property is disabled)

Reproducible on: macOS 15.3.2 (24D81) (M1 Max)
Not reproducible on: No other environments tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.