uno.extensions icon indicating copy to clipboard operation
uno.extensions copied to clipboard

[Windows] ListView flickers when updating an entity

Open dr1rrb opened this issue 11 months ago • 2 comments

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
  • [x] Windows
  • [ ] Skia (WPF)
  • [ ] Skia (GTK on Linux/macOS/Windows)
  • [ ] Skia (Linux Framebuffer)
  • [ ] Build tasks

dr1rrb avatar Mar 18 '24 20:03 dr1rrb

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.

libra34567 avatar Mar 31 '24 14:03 libra34567

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

agneszitte avatar Apr 05 '24 15:04 agneszitte

@dr1rrb any movement/suggestions on fixing this?

nickrandolph avatar May 07 '24 06:05 nickrandolph

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

dr1rrb avatar May 08 '24 16:05 dr1rrb