Search Issue Tracker
Won't Fix
Won't Fix in 2022.1.X
Votes
0
Found in
2021.3.15f1
2022.1.0a16
Issue ID
UUM-27553
Regression
No
Pop-up windows are not ordered properly when using VisualElement.add() method
Reproduction steps:
# Open the attached project “UITKbug“
# Go to “Window > App UI > Open Storybook”
# In the window “App UI - StoryBook” open “Kit > Main”
# Scroll down till you reach the “MENU” section
# Press the button “Click here!”
# Select the list item “My Sub Menu > Another Sub Menu > Another Sub Menu Item”
Expected result: Pop-up windows stack on top of each other
Actual result: The order of pop-up windows is reversed
Reproducible with: 2021.3.15f1, 2022.1.0a16
Not reproducible with: 2022.1.0b1, 2022.1.24f1, 2022.2.0f1, 2023.1.0a22
Couldn't test with: 2020.3.42f1 (Packages/com.unity.dt.app-ui/PackageResources/Styles/Themes/App UI - Globals.tss (line 8): error: Unsupported unit: '200ms')
Fixed in: 2022.1.0b1
Reproducible on: Windows 11
Note: If any script is modified in any way, then after saving the script the order of Sub Menu items is fixed
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Desktop Linux runtime does not respect -popupwindow command line argument
- Shader Graph more options dropdown button does not open the dropdown when clicked all the way to the right of the button
- “Attempting to draw with missing bindings“ warning lacks root cause indication and is thrown each frame when StructuredBuffer is accessed on DirectX12
- Shader Graph Import Settings documentation leads to "Sorry... that page seems to be missing!" page when opened through the documentation button in the Inspector window
- Unexpected Material change/transparency when switching between ShaderGraph and material at runtime in HDRP
Resolution Note:
Thanks for the report. Please test newer versions of Unity. It should no longer be a problem.
Resolution Note (2022.1.X):
Issue is resolved in subsequent versions (2022.2+)