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

[MVUX] ListView flickers when updating an entity #2209

Open
1 of 10 tasks
dr1rrb opened this issue Mar 18, 2024 · 4 comments
Open
1 of 10 tasks

[MVUX] ListView flickers when updating an entity #2209

dr1rrb opened this issue Mar 18, 2024 · 4 comments
Assignees
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@dr1rrb
Copy link
Member

dr1rrb commented Mar 18, 2024

Current behavior

When we update an entity within a List<Feed|State> that is data-bound to a ListView, the item might flicker on windows.

Expected behavior

No flicker

How to reproduce it (as minimally and precisely as possible)

MVUXWithListView.zip

Anything else we need to know?

  • Removing Transitions from the ListView does not change anyhing:
<ListView.Transitions>
	<TransitionCollection />
</ListView.Transitions>
  • Adding the 4 ListView in the repro app reduces the amount of flickers (i.e. charging the UI thread reduces the occurrence!)

Workaround

Use an ItemsRepeater instead of a ListView.

Environment

Nuget Package (s): Uno.Extension.Reactive
Package Version(s): latest
Affected platform(s):

  • iOS
  • macOS (AppKit)
  • Mac Catalyst
  • Android
  • WebAssembly
  • Windows
  • Skia (WPF)
  • Skia (GTK on Linux/macOS/Windows)
  • Skia (Linux Framebuffer)
  • Build tasks
@dr1rrb dr1rrb added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Mar 18, 2024
@libra34567
Copy link

Would we be expecting a fix soon please?, Or may I know if its gonna be fixed anytime soon.
The issue with ItemsRepeater is that it has a different type of flicker now, up and down. So its really not usable for the users.

@agneszitte
Copy link
Contributor

agneszitte commented Apr 5, 2024

Would we be expecting a fix soon please?, Or may I know if its gonna be fixed anytime soon. The issue with ItemsRepeater is that it has a different type of flicker now, up and down. So its really not usable for the users.

cc @dr1rrb, @nickrandolph

@nickrandolph
Copy link
Contributor

@dr1rrb any movement/suggestions on fixing this?

@nickrandolph nickrandolph changed the title [Windows] ListView flickers when updating an entity [MVUX] ListView flickers when updating an entity May 7, 2024
@dr1rrb
Copy link
Member Author

dr1rrb commented May 8, 2024

@libra34567 what's the issue you have with the IR? Is it linked to List<Feed|State> or a general issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

4 participants