These are chat archives for AvaloniaUI/Avalonia

1st
Sep 2018
Artyom
@worldbeater
Sep 01 2018 12:48
Hi folks
Artyom
@worldbeater
Sep 01 2018 12:54

ReactiveUI team would like to provide first-class support for AvaloniaUI, including not only .UseReactiveUI extension method for AppBuilder but also reactive UserControls and type-safe bindings, see reactiveui/ReactiveUI#1739

BTW, how would you look at transferring Avalonia.ReactiveUI package to ReactiveUI org in NuGet so we could continue maintaining it and publishing updates? :)

Jumar Macato
@jmacato
Sep 01 2018 13:28
I think thats a great idea since it'll be one less project for us to maintain :) But i'll defer to the other core devs with regards to this one
Miha Markič
@MihaMarkic
Sep 01 2018 13:34
hi guys, how does one select backend manually? it's a bit confusing what .UseXXX method to use....
Jumar Macato
@jmacato
Sep 01 2018 13:34
@worldbeater and the idea of Framework-agnostic abstract usercontrols are quite appealing too
@MihaMarkic which backend you'd like to use?
Miha Markič
@MihaMarkic
Sep 01 2018 13:35
no idea, just fiddling around what's there
right now I'm looking at Windows
there is Skia and Direct2d? also gtk3?
Jumar Macato
@jmacato
Sep 01 2018 13:36
Yep
Miha Markič
@MihaMarkic
Sep 01 2018 13:36
so, how would I use gtk?
.UsePlatformDetect()
.UseGtk3()
will throw
Jumar Macato
@jmacato
Sep 01 2018 13:37
basically if you're going to manually set the platform you'd like to use, you should not use PlatformDetect and instead
specify the platform and rendering backend
example
Miha Markič
@MihaMarkic
Sep 01 2018 13:37
ok, that makes sense
(took that from sample)
Jumar Macato
@jmacato
Sep 01 2018 13:39
on windows it'll be .UseWin32() (cant remember this one, just check intellisense for it) and either .UseSkia() or .UseDirect2D2()
Miha Markič
@MihaMarkic
Sep 01 2018 13:39
yep, that works
Jumar Macato
@jmacato
Sep 01 2018 13:39
on linux, the platform will be .UseGtk anf .UseSkia, ofc D2D wont work on linux :))
Miha Markič
@MihaMarkic
Sep 01 2018 13:40
ofc :)
and mac the same I guess (gtk/skia)
Jumar Macato
@jmacato
Sep 01 2018 13:40
yes, but yeah most of the time you dont need to manually set the platform/rendering backends since UsePlatformDetect does the trick :)
Miha Markič
@MihaMarkic
Sep 01 2018 13:41
indeed, thanks for the info
btw, seems pretty cool what you guys are doing
Jumar Macato
@jmacato
Sep 01 2018 13:41
Alright, happy coding :smile:
Miha Markič
@MihaMarkic
Sep 01 2018 13:41
fyi I have a micro-pet-project based on it https://github.com/MihaMarkic/AutoMasshTik
while it's useful, it's also a research on avalonia
Jumar Macato
@jmacato
Sep 01 2018 13:42
Ohh, interesting! But yeah, the best way of learning avalonia is just diving into it haha
though our docs really needs some TLC sooner or later
Siegfried Pammer
@siegfriedpammer
Sep 01 2018 14:40
General contributing question: Are there any rules regarding XML doc comments? Should public members have XML doc comments?
Jumar Macato
@jmacato
Sep 01 2018 14:40
yes, all public members must have xmldocs
Siegfried Pammer
@siegfriedpammer
Sep 01 2018 14:41
OK
Avalonia.Interactivity.RoutedEvent doesn't have any... should I add some or just add comments for the members I added to that class?
Jumar Macato
@jmacato
Sep 01 2018 14:42
add them if you may :) that might've been overlooked somehow
Siegfried Pammer
@siegfriedpammer
Sep 01 2018 14:43
OK... first I will provide a PR for #1846 and create a separate PR for the other comments :)
Jumar Macato
@jmacato
Sep 01 2018 14:44
Thanks! :smile:
Siegfried Pammer
@siegfriedpammer
Sep 01 2018 15:58
Does anyone know what's wrong with the build?
Jeremy Koritzinsky
@jkoritzinsky
Sep 01 2018 16:15
I think I know what's wrong. There was a change in the most recent VS update that messed up output directories for Android projects. I'll send out a quick PR to fix the build.
Jeremy Koritzinsky
@jkoritzinsky
Sep 01 2018 16:32
@siegfriedpammer I fixed master. Merge those changes into your branch and that should fix the issues in the Appveyor build.
Siegfried Pammer
@siegfriedpammer
Sep 01 2018 16:33
thanks!