These are chat archives for AvaloniaUI/Avalonia

23rd
May 2016
Jeremy Koritzinsky
@jkoritzinsky
May 23 2016 01:05
@grokys How do I create the expected image for a render test?
Steven Kirk
@grokys
May 23 2016 06:09
@jkoritzinsky i usually just run the test until it looks right and then rename it
Jeremy Koritzinsky
@jkoritzinsky
May 23 2016 12:18
ok.
Ivan Kochurkin
@KvanTTT
May 23 2016 15:36
Hello! How can I resolve such exception: Error loading XAML: OmniXaml.ParseException: Cannot find a namespace with the prefix "" at app initialization: AvaloniaXamlLoader.Load(this);?
danwalmsley
@danwalmsley
May 23 2016 17:01
Have a look at your xaml, at the top ot should have xmlns
What does it say? Perhaps it still says Perspex instead of avalonia?
Ivan Kochurkin
@KvanTTT
May 23 2016 18:32
I tried both perspex and avalonia. Nothing is works :worried:
xmlns="https://github.com/avalonia"
avaloniaui is works. Thanks! :)
Steven Kirk
@grokys
May 23 2016 19:30
whoo! just got the first virtualized Listbox onscreen!
danwalmsley
@danwalmsley
May 23 2016 19:30
:)
does it work well?
Steven Kirk
@grokys
May 23 2016 19:30
well, it works for the simple case that it's displaying!
there's plently of edge cases to deal with still though
like: scrolling too fast ;) haha
not sure that's technically an edge case
danwalmsley
@danwalmsley
May 23 2016 19:33
faster than it can load the data?
Steven Kirk
@grokys
May 23 2016 19:33
no, more than one page
danwalmsley
@danwalmsley
May 23 2016 19:34
ah
Steven Kirk
@grokys
May 23 2016 19:43
ok, fixed that...
it's taken a lot less code than WPF's equivalent
what have i missed?
danwalmsley
@danwalmsley
May 23 2016 19:45
datavirtualization? I think wpf has virtualization and a datavirtualization interface? or am I remembering that wrong?
Steven Kirk
@grokys
May 23 2016 19:45
hmm, if you mean what i think you mean, i've never seen it
haha wow, ok, selection is pretty screwed up!
danwalmsley
@danwalmsley
May 23 2016 19:46
hmm maybe not
datavirtualization has to be implemented by user I think
Steven Kirk
@grokys
May 23 2016 19:47
yeah i think so
we should provide something for that, but that comes later
danwalmsley
@danwalmsley
May 23 2016 19:47
this is just virtualization of the ui elements
I have some really good generic code for the data virtualization part
based on above article
I bet we could make the AsyncVirtualizingCollection and VirtualizingCollections part of perspex
once you have this working, I will take a look at that, as I will have to implement these in Avalon Studio anyhow
Steven Kirk
@grokys
May 23 2016 19:51
ok
danwalmsley
@danwalmsley
May 23 2016 19:59
this looks like an updated version
danwalmsley
@danwalmsley
May 23 2016 20:25
so how long till this stuff makes it to master :)
Steven Kirk
@grokys
May 23 2016 22:25
not sure - depends who helps with testing ;)
danwalmsley
@danwalmsley
May 23 2016 22:26
if you think its ready, I can compile the virtualization branch and see how it works on my intellisense control
Steven Kirk
@grokys
May 23 2016 22:28
there's just a problem where recycled items appear selected atm
easy to fix though
other that, it might work? ;)
danwalmsley
@danwalmsley
May 23 2016 22:28
ok, sure, will have to be tomorrow when I try it
Steven Kirk
@grokys
May 23 2016 22:29
ok, that problem should be fixed by then
danwalmsley
@danwalmsley
May 23 2016 22:29
the intellisense can have something like 20k - 40k options in it
so it should put it through its paces
I'm hoping it should improve responsiveness