Search Issue Tracker

Fixed

Fixed in 6000.0.47f1, 6000.1.0b15, 6000.2.0a9

Votes

1

Found in

2022.3.58f1

6000.0.44f1

6000.1.0b6

6000.2.0a3

Issue ID

UUM-98451

Regression

No

selectionColor and cursorColor methods do not change color when using TextField.textSelection

-

How to reproduce:
1. Open the attached “IN-92703” project
2. Open the “SampleScene” Scene
3. Enter Play mode
4. Click on the Game view and type “aaaa”
5. Press the left arrow key twice
6. Observe the text at the bottom of the Game view
7. Select that same text with the mouse
8. Observe the text at the bottom of the Game view

Expected result: Observing text the first time the caret color should be white and observing it the second time the selected portion of the text highlight color should also be white
Actual result: Observing text the first time the caret color is black and observing it the second time the selected portion of the text highlight color is blue

Reproducible with: 2022.3.58f1, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3

Reproduced on: Windows 11
Not reproduced on: No other environment tested

  1. Resolution Note (fix version 6000.2.0a9):

    Mark color selection API as obsolete

  2. Resolution Note (fix version 6000.1.0b15):

    The Color selection C# API is now obsolete. Please use the corresponding USS properties instead.

  3. Resolution Note (fix version 6000.0.47f1):

    The Color selection C# API is now obsolete. Please use the corresponding USS properties instead.

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.