question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Epic - ListViewSubItems in the ListView have incorrect behavior

See original GitHub issue
Common

Case 1:

  • The checkbox does not have its accessibility object in the ListView

Actual behavior: image

Expected behavior: The checkbox should have its accessibility object in the ListView

Details

Case 1 (regression from #3223):

  • A yellow rectangle is drawn for the entire ListViewItem instead of the selected ListViewSubItem

Actual behavior: Issue-4690-details-case1

Expected behavior: image

Case 2:

  • The image does not have its accessibility object in the ListView

Actual behavior: image

Expected behavior: image

Case 3:

  • ListViewSubItem of an ListViewItem are not displayed in the Inspector tree when the ListViewItem is in a ListViewGroup (may be fixed in #4678)

Actual behavior: image

Expected behavior: image

LargeIcon

Case 1:

Actual behavior: image

Expected behavior: image

List

Case 1:

Actual behavior: image

Expected behavior: image

SmallIcon

Case 1:

Actual behavior: image

Expected behavior: image

Tile

Case 1 (regression from #3223):

  • ListViewSubItem of an ListViewItem are not displayed in the Inspector tree when the ListViewItem is in a ListViewGroup (#4678)

Actual behavior: image

Expected behavior: image

Case 2 (regression from #3223):

  • The rectangle is not displayed for a ListViewSubItem when the user hovers over it or selects in the Inspector tree (#4679)

Actual behavior: image

Expected behavior: image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
NikitaSemenovAkveloncommented, Oct 31, 2022

Tested the remaining cases which are still unchecked.

  • Details.Case 1. OK Screenshot 2022-10-31 160430

  • Details.Case 3. OK Screenshot 2022-10-31 161012

  • Tile.Case 2. OK Screenshot 2022-10-31 161201

I suggest marking these cases as completed.

2reactions
Tanya-Solyanikcommented, Oct 7, 2022

I don’t see any easy way to set it without adding a new property to ListViewItem which will be used in the AO.

This is a problem. There is no point in announcing “ListVIewItem2, image” because the user would not know what that image is. It’s valuable to have image node in the hierarchy only when that image had text associated with it. But let’s wait until this issue is raised by external users.

I think hierarchy with no mandatory subitems is reasonable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SubItems of ListView are not displayed in winforms
ListView shows sub items if it's in Details view and it has some columns. Let's say you have the following data:
Read more >
SubItems in a listview problem - IT Programming
I am getting an invalid property value error when I go to add a subitem. I tried type casting to try and fix...
Read more >
ListViewItem.ListViewSubItem.Font Property
The following code example demonstrates how to set the UseItemStyleForSubItems property to false to define a custom style for ListViewItem.
Read more >
Untitled
Song to teach reflexive verbs in spanish, Logbook wrong details property, ... Dosti friendship songs lyrics, Listview items and subitems android device.
Read more >
Untitled
Maubeuge france, David allan peters prices, 30 and have no career! ... Nba2k13 cheats, Vb net listview subitems add, Documents google groups, Npti...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found