You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We ( @Tenjim and I) use a listbox for images in our app.
We are facing a lot of issues with the Virtualization Simple mode.
With virtualizing Simple :
There are no smooth scroll, only item scroll. So no possibility to scroll to the overflow part of the item if bigger than viewport.
If ListBoxItem is bigger than Viewport, the AutoScrollToSelectedItem display the N+1 item and never display the 0 (change SeletedItem textbox ot click First or Last button). So, a click on the item bring the next one. No issue if ListBoxItem is smaller than the Viewport (change the Zoom in textbox or CTRL + mousewheel)
With virtualizing none :
We are (of course) facing memory issues as every item and images are in memory (put 200 as ItemCount)
Is there a way to get the undisplayed ListBoxItems to flush the images manually ?
Describe the bug
We ( @Tenjim and I) use a listbox for images in our app.
We are facing a lot of issues with the Virtualization Simple mode.
With virtualizing Simple :
There are no smooth scroll, only item scroll. So no possibility to scroll to the overflow part of the item if bigger than viewport.
If ListBoxItem is bigger than Viewport, the AutoScrollToSelectedItem display the N+1 item and never display the 0 (change SeletedItem textbox ot click First or Last button). So, a click on the item bring the next one. No issue if ListBoxItem is smaller than the Viewport (change the Zoom in textbox or CTRL + mousewheel)
With virtualizing none :
We are (of course) facing memory issues as every item and images are in memory (put 200 as ItemCount)
Is there a way to get the undisplayed ListBoxItems to flush the images manually ?
To Reproduce
In this github, you’ll find a Sample project VirtualizationImages to reproduce the issues (https://github.com/Tenjim/Avalonia/tree/stable/0.10.x)
Auto scroll issue :
Memory increase (not a bug :) )
Expected behavior
A smooth scroll and autoscroll to the right item using virtualization Simple
A With virtualization None, a workaround to manually flush the images in undisplayed items
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: