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

ListView does not display icons for items added after the form has been loaded #4263

Closed
dhrdlicka opened this issue Nov 22, 2020 · 3 comments

Comments

@dhrdlicka
Copy link

  • .NET Core Version: 5.0.100

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

Problem description:

ListView renders items added after the form has been loaded without their icons. This happens regardless of the configured view.

The provided repro adds 50 items in the constructor, Form.Load handler and Form.Shown handler respectively. As you can see, only the first 50 items are displayed with icons, although all items are generated and added by the same function.
image

Expected behavior:
The same project built for .NET Core 3.1:
image

Minimal repro:
https://github.com/dhrdlicka/ListViewRepro

@kirsan31
Copy link
Contributor

#4169 the same?

@RussKie
Copy link
Member

RussKie commented Nov 23, 2020

Duplicate of #4169

@RussKie RussKie marked this as a duplicate of #4169 Nov 23, 2020
@RussKie
Copy link
Member

RussKie commented Nov 23, 2020

You can use a workaround described here: #4169 (comment)
The fix is coming in 5.0.1.

@RussKie RussKie closed this as completed Nov 23, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants