These are chat archives for AvaloniaUI/Avalonia

20th
Nov 2017
Ken Ismert
@kismert
Nov 20 2017 19:49
Hi! I found this framework last week, and it looks very interesting! I'm looking to move a legacy app to a more modern platform.
I do have some questions:
  • Could this framework handle complex forms with up to 750 controls?
  • Is this framework targeted more to desktop or mobile users?
  • I know this is too early to say, but what are the odds of this framework gaining long term acceptance?
    Thanks, Ken
Nikita Tsukanov
@kekekeks
Nov 20 2017 19:51

Could this framework handle complex forms with up to 750 controls

It should, but that depends on your particular layout

I'd recommend to use list virtualization if possible

Is this framework targeted more to desktop or mobile users

For now mobile support is experimental, but we are keeping in mind the limitations of mobile platforms, so our code stays portable

Ken Ismert
@kismert
Nov 20 2017 20:23
Thanks for the reply! One final question: is there an intent to move this to the web, similar to what Silverlight did for WPF?
Nikita Tsukanov
@kekekeks
Nov 20 2017 20:27
I've experimenting with running it with WebAssembly
Nothing production-ready so far
Also keep in mind that app size will be huge
15MB+
Ken Ismert
@kismert
Nov 20 2017 20:36
This is exciting news! A 15MB app size would not be an issue to me
Steven Kirk
@grokys
Nov 20 2017 22:16
@danwalmsley i think i've fixed your leak (FINALLY) AvaloniaUI/Avalonia#1284
the fix wasn't hard - problem was finding the problem and then creating a unit test for it!
Wouldn't it be needed to do the same for other controls?
danwalmsley
@danwalmsley
Nov 20 2017 22:21
@grokys awesome man thanks :)
Steven Kirk
@grokys
Nov 20 2017 22:22
@kekekeks no, when the ContentPresenter is in a template then it shouldn't set the control's logical parent, because the control's logical parent should be handled by the containing control
(it needs to be in a mixin as C# doesn't support multiple inheritance)
it might be that this would be better handled by delegating to the IContentPresenterHost, but that's a larger refactor that i didn't want to get into here
the current mechanism dates from before i added IContentPresenterHost
Steven Kirk
@grokys
Nov 20 2017 22:55
arrgh CI is failing
seems merging #1189 caused the failure, even though the checks on the PR passed
but #1189 doesn't really change anything, so can't be that