Search Issue Tracker
Fixed in 2022.3.18f1
Fixed in 2022.3.X, 2023.2.X, 2023.3.X, 2023.3.0b1
Votes
0
Found in
2022.3.12f1
2023.1.18f1
2023.2.0b15
2023.3.0a1
Issue ID
UUM-54832
Regression
No
UITk MultiColumnListView Control is missing callbacks when being removed
A few issues we have in using the MultiColumnListView in hierarchy
- There is no Dispose function to control when to clear all elements
- Unbind is not called on the various cells when we close the HierarchyWindow
* UnbindAll is not public on controller. I have a reflection hack for this.
DestroyCell is NEVER called since the Column is always null in MultiColumnController.DestroyItem(VisualElement element)
- There is no way when quitting the HierarchyWindow to ensure DestroyCell is called on all active elements.
** I tried ListView.itemsSource = null;ListView.Rebuild(); and it didn't work
** the list of active items was empty when Rebuild got called.
** When the active items pool is cleared, we don't call destroyItem
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Group Selection title text size is smaller in renaming than the actual font size
- Rich Text is not correctly highlighted when searching through Debug Logs in the Console window
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
Resolution Note (fix version 2023.3):
Fixed the multicolumn list view's destroyCell not being called when setting its itemsSource to null and calling a rebuild.
Resolution Note (fix version 2023.2):
Fixed the multicolumn list view's destroyCell not being called when setting its itemsSource to null and calling a rebuild.
Resolution Note (fix version 2022.3):
Fixed the multicolumn list view's destroyCell not being called when setting its itemsSource to null and calling a rebuild.