-
Notifications
You must be signed in to change notification settings - Fork 1k
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
The yellow rectangle is not displayed for a subitem when the user hovers over it or selects in the Inspector tree #4679
Labels
Comments
9 tasks
SergeySmirnov-Akvelon
added a commit
to SergeySmirnov-Akvelon/winforms
that referenced
this issue
May 12, 2021
… hovers over it or selects in the Inspector tree dotnet#4679 Changed the logic for getting ListViewSubItems for the Inspector tree. Now they are not displayed for "List", "SmallIcon", "Large" views. For "Tile" view, we display the ListViewSubItems in the Inspector tree based on the number of ListViewSubItems, the number of ListViewColumns and the "Bounds" property, through which we know that the ListViewSubItem is visible. For "Details" view, we display ListViewSubItems based on the number of ListViewColumns. If the cell is visible and the ListViewSubItems does not exist, we create a fake ListViewSubItemsAccessibleObject for that cell. Fixed the issue with getting a rectangle for ListViewSubItem when the ListView is in "Tile" view Added missing conditions Added unit and MAUI tests
ghost
pushed a commit
that referenced
this issue
May 13, 2021
Fixes #4679 ## Proposed changes - Changed the logic for getting `ListViewSubItems` for the Inspector tree: * Now they are not displayed for `List`, `SmallIcon`, `Large` views. * For `Tile` view, we display the `ListViewSubItems` in the Inspector tree based on the number of `ListViewSubItems`, the number of `ListViewColumns` and the `Bounds` property, through which we know that the `ListViewSubItem` is visible. * For `Details` view, we display `ListViewSubItems` based on the number of `ListViewColumns`. If the cell is visible and the `ListViewSubItems` does not exist, we create a fake `ListViewSubItemsAccessibleObject` for that cell. - Fixed the issue with getting a rectangle for `ListViewSubItem` when the `ListView` is in `Tile` view - Added missing conditions - Added unit and MAUI tests ## Customer Impact <details> <summary> Details view </summary> **Before fix:**  **After fix:**  </details> <details> <summary> LargeIcon view </summary> **Before fix:**  **After fix:**  </details> <details> <summary> List view </summary> **Before fix:**  **After fix:**  </details> <details> <summary> SmallIcon view </summary> **Before fix:**  **After fix:**  </details> <details> <summary> Tile view </summary> **Before fix:**  **After fix:**  </details> ## Regression? - Yes ## Risk - Minimal <!-- end TELL-MODE --> ## Test methodology <!-- How did you ensure quality? --> - CTI team - Unit tests - MAUI tests ## Accessibility testing <!-- Remove this section if PR does not change UI --> - Narrator - Inspector ## Test environment(s) <!-- Remove any that don't apply --> - Microsoft Windows [Version 10.0.19041.388] - .NET Core SDK: 6.0.0-preview.2.21154.2
Verified this issue with 6.0.100-preview.5.21276.14 from Release/6.0.1XX-preview5 branch of https://github.com/dotnet/installer, it is fixed, now Yellow rectangle displays around the ListViewSubItem. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
.NET Core Version:
Have you experienced this same bug with .NET Framework?:
Minimal repro:
Actual behavior:

Yellow rectangle is not displayed.
Expected:

Yellow rectangle should displaye around the ListViewSubItem
Note:
I think the problem is reproduced due to this condition.
View.Tile
view also supports displaying the first subitemThe text was updated successfully, but these errors were encountered: