These are chat archives for AvaloniaUI/Avalonia

13th
May 2018
Stano Turza
@Sorien
May 13 2018 18:46
i digging a bit into deferred renderer and there is one think i don't understand why deferred renderer is creating all layers with scene size and not with visual size?
Jeremy Koritzinsky
@jkoritzinsky
May 13 2018 19:06
Yeah currently our layers are all the size of the full view instead of the size of the root visual.
We need to fix that at some point
Jeremy Koritzinsky
@jkoritzinsky
May 13 2018 21:16

@grokys I'm going to take a stab at refactoring our Markup/Markup.Xaml projects. I'm not the biggest fan of the organization we have.

Here's my idea: The binding infrastructure (BindingExpression, ExpressionObserver, etc.) should be an Avalonia.Base.Data library since it's necessary for any code-based data binding and isn't really tied to markup. Additionally, with a small amount of refactoring the ControlLocator class, none of it has any dependencies above Avalonia.Base. Then, I was thinking that Avalonia.Markup should have some of the classes that are commonly used in markup front-ends (like Binding, RelativeSource). Finally, Avalonia.Markup.Xaml should only have classes that support our XAML infrastructure and Portable.Xaml. This will give us more control in the future if we decide to add support for a non-XAML markup flavor (which I know you've thought about before for post-1.0) and in my opinion give us a better layered infrastructure.

I'll prototype it out. Let me know what you think of my idea and any suggestions you have.

Steven Kirk
@grokys
May 13 2018 21:17
@jkoritzinsky yes that all sounds good to me
Jeremy Koritzinsky
@jkoritzinsky
May 13 2018 21:17
:+1:
Steven Kirk
@grokys
May 13 2018 21:19
that stuff is definitely due for an overhaul
walterlv
@walterlv
May 13 2018 21:54
@jkoritzinsky How about the remaining layout issue?
Jeremy Koritzinsky
@jkoritzinsky
May 13 2018 21:57
I think @danwalmsley is a better point of contact for that. He has the repro for that.
walterlv
@walterlv
May 13 2018 22:13
Sorry that I confused to distinguish you two.
Wiesław Šoltés
@wieslawsoltes
May 13 2018 22:59
Made some progress with docking, still lot of work left :smile:
I have also refactored a lot of code to separate docking functionality, still some parts are a bit coupled with Core2D :worried:
This is current code.