Search Issue Tracker

Fixed in 1.0.0-preview.7

Votes

0

Found in [Package]

1.0.0-preview.3

Issue ID

1270242

Regression

No

[UI Toolkit] Toolbar Toggle acts as a regular button and Toolbar Toggle's value doesn't change on click

Package: UI Toolkit

-

How to reproduce:
1. Open the user's attached "Bug Test.zip" project
2. Go to Tools -> Test Window
3. Press the "Toggle" button once

Expected result: The button acts as a Toolbar Toggle, Toolbar Toggle's value gets set to true on click, the label of the button doesn't get selected
Actual result: The button acts as a regular button, Toolbar Toggle's value doesn't change on click, the label of the button gets selected

Reproducible with: 1.0.0-preview.3 (2019.4.9f1, 2020.1.3f1, 2020.2.0a21)
Could not test with: 2018.4.26f1 (UI Builder is not available)

Note:
- In 2020.2.0a21 the behavior is a bit different than in the other two streams (2019.4, 2020.1), toggling off/on is working, but the label is still getting selected

Comments (1)

  1. Loden_Heathen

    Feb 01, 2021 12:11

    This is corrected in 2020 and needs to be backported to Unity 2019 LTS if Unity wants Asset Developers to adopt the UI Toolkit.

    Unity Asset Developers live on the oldest supported LTS version of Unity in order to support the widest range of Unity Game/App Developers. Thus you need to be keeping the Unity Editor of the oldest LTS as bug free as possible understandably where that doesn't adversly impact Game/App developers.

    I have been told that Unity will not back port the fix for this to 2019 ... that means UI Toolkit is a no fly zone untill at the earlist 2020LTS becoming the oldest LTS supported so around 2022 or 2023 as I understand.

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.