These are chat archives for AvaloniaUI/Avalonia

1st
Jul 2016
Jeremy Koritzinsky
@jkoritzinsky
Jul 01 2016 00:41
Usually via a mocking framework or by subclassing and making a mocked version is the way to do it.
danwalmsley
@danwalmsley
Jul 01 2016 20:33
@grokys I'm still away but had a quick chance to test out virtualization on Avalon studio
not got it to work yet
in
ControlExtensions.cs line 23 I get null exception thrown (control is null)
its related to the "mock" tab control you recommended
Steven Kirk
@grokys
Jul 01 2016 20:34
Sorry, I'm away too at the moment
danwalmsley
@danwalmsley
Jul 01 2016 20:34
do I need to disable virtualizations or something?
oh ok no problem
just to make you aware if it
and il create an issue
too :)
Andrey Kunchev
@donandren
Jul 01 2016 21:50
@danwalmsley @grokys I'm having the same exception from time to time ControlExtensions.cs line 23 I get null exception thrown (control is null), but can't found a stable reproduction
it's coming from recyclecontainers, and I'm not using a tab control
Nikita Tsukanov
@kekekeks
Jul 01 2016 22:32

Btw if we want gestures with GTK we need to update to GTK 3.14 or newer (so we'd have to use that other version of GTK#)

I'm considering to just write some basic bindings of our own

When skia# will be ready for linux
That way we'll be able to run on .NET Core right away
And won't depend on GTK#'s complex infrastructure
That needs native shim to be compiled
We don't really need most of GTK# and C api is really simple
Steven Kirk
@grokys
Jul 01 2016 22:49
yeah, i think that may be a good idea...
Nikita Tsukanov
@kekekeks
Jul 01 2016 22:49
But we won't be able to use cairo
And skia# isn't ready for that at this point
So we'll have to ship our modified version