Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListViewSubItem not shown in Inspector tree when ListViewItem belongs to group #4678

Closed
SergeySmirnov-Akvelon opened this issue Mar 12, 2021 · 2 comments · Fixed by #4677
Closed
Labels
🪲 bug Product bug (most likely) 💥 regression-preview Regression from a preview release

Comments

@SergeySmirnov-Akvelon
Copy link
Contributor

SergeySmirnov-Akvelon commented Mar 12, 2021

.NET Core Version:

  • 5.0.200-preview.20614.14

Have you experienced this same bug with .NET Framework?:

Minimal repro:

  1. Create application with ListView.
  2. Set View.Tile for ListView.
  3. Add couple ColumnHeaders to ListView.
  4. Add ListViewGroup to ListView.
  5. Add ListViewItem with ListViewSubItem to ListView.
  6. Select ListViewGroup as Group of the ListViewItem.
  7. Or use attached project
  8. Run application.
  9. Run Inpsector.
  10. Select ListViewItem in Inspector.
  11. Try to expand ListViewItem

Actual behavior:
ListViewItem is empty.
Issue-4678-issue - actual

Expected behavior:
ListViewItem should contains ListViewSubItem
Issue-4678-issue - expected

Note
I think this problem is produced due to strange checking of the _owningGroup in this condition

@RussKie RussKie changed the title ListViewSubItem of an ListViewItem are not displayed in the Inspector tree when the ListViewItem is in a ListViewGroup. ListViewSubItem not shown in Inspector tree when ListViewItem belongs to group Mar 15, 2021
@RussKie RussKie added 🪲 bug Product bug (most likely) 💥 regression-preview Regression from a preview release labels Mar 15, 2021
@RussKie RussKie added this to the 6.0 milestone Mar 15, 2021
@RussKie RussKie removed this from the 6.0 milestone Mar 29, 2021
@RussKie RussKie closed this as completed Mar 29, 2021
@SergeySmirnov-Akvelon
Copy link
Contributor Author

SergeySmirnov-Akvelon commented Mar 29, 2021

Fixed in scope of #4677

@Jessie-Zhang01
Copy link

Verified this issue with .Net SDK 6.0.100-preview.4.21201.21, this issue is fixed. ListViewItem contains ListViewSubItem.
image

@ghost ghost locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🪲 bug Product bug (most likely) 💥 regression-preview Regression from a preview release
Projects
None yet
3 participants