Search Issue Tracker

Fixed

Fixed in 6000.3.12f1, 6000.5.0a8, 6000.5.0a9, 6000.6.0a1

Won't Fix in 6000.4.X

Votes

1

Found in

6000.3.8f1

6000.5.0a6

Issue ID

UUM-134654

Regression

No

[UI Toolkit] Backspace tries to delete the character to the left of the pointer when the language direction is set to RTL and the text generator type is set to Advanced

Text (ATG)

-

How to reproduce:
1. Create a new Unity project
2. In the Assets folder, create a new UI Document
3. Open it in UI Builder
4. In the UI Builder Hierarchy, add a TextField and select it
5. Navigate to Attributes → Language Direction and set it to RTL
6. Navigate to Text → Advanced Text Settings → Text Generator Type and set it to Advanced
7. In the Viewport, enable the Preview mode
8. In the TextField input some text
9. Try to delete the inputted text using the Backspace key
10. Observe the Viewport

Actual result: No text is deleted
Expected result: The text is deleted

Reproducible with: 6000.3.8f1, 6000.4.0a1 (b27b8eafe426), 6000.4.0b8, 6000.5.0a6
Could not test with: 2023.1.0a1, 6000.0.67f1 (The Advanced Text Generator Type was introduced in Unity version 6000.4.0a1)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- Using the Backspace key, it is possible to delete characters except for the first and last one, but it deletes them to the left instead of to the right
- Trying to delete characters using the Delete key also does not work as intended; it deletes characters as it should, but if you delete the last one, then after that character is deleted, the cursor jumps back to the front

  1. Resolution Note:

    Fixed in 6000.5.0a8

  2. Resolution Note (fix version 6000.5.0a8):

    Fixed in 6000.5.0a8

  3. Resolution Note (6000.4.X):

    Fixed in 6.3 and 6.5+

  4. Resolution Note (fix version 6000.3.12f1):

    Fixed in 6000.3.12f1

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.