These are chat archives for AvaloniaUI/Avalonia

23rd
Aug 2017
Nikita Tsukanov
@kekekeks
Aug 23 2017 08:33
danwalmsley
@danwalmsley
Aug 23 2017 08:43
seems there is an almost daily update for visual studio now
Matthijs ter Woord
@mterwoord
Aug 23 2017 08:44
:)
danwalmsley
@danwalmsley
Aug 23 2017 08:45
maybe things are going in the right direction!!!
Matthijs ter Woord
@mterwoord
Aug 23 2017 08:49
it does seem that they are fixing things now
also, 15.3.2 was a qucik update..
.1 took a while
Steven Kirk
@grokys
Aug 23 2017 09:10
@kekekeks > If this was code that we were selling as a library with a fully documented API to hundreds of millions of people, I'd be more understanding.
:D
Steven Kirk
@grokys
Aug 23 2017 09:15
fwiw in 20 years of coding i have inherited code from one developer who documented his code properly and that was the only codebase i inherited where i was able to get up and running in a week
Matthijs ter Woord
@mterwoord
Aug 23 2017 09:47
does anybody know a good color-picker control for avalonia? :)
danwalmsley
@danwalmsley
Aug 23 2017 10:29
iv not seen one, I'm not sure anyone has made one yet
if someone has its probably @wieslawsoltes
Wiesław Šoltés
@wieslawsoltes
Aug 23 2017 10:39
don't have one
I use this control to select colors
Wiesław Šoltés
@wieslawsoltes
Aug 23 2017 10:44
@kekekeks Managed to get linker working with Avalonia!
this was the inner exceptions:
No parameterless constructor defined for this object.
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at System.ComponentModel.ReflectTypeDescriptionProvider.SearchIntrinsicTable(Hashtable table, Type callingType)
   at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetConverter(Object instance)
   at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetConverter()
   at System.ComponentModel.TypeDescriptor.GetConverter(Type type)
   at Portable.Xaml.XamlType.LookupTypeConverter()
   at Portable.Xaml.XamlType.get_TypeConverter()
   at Portable.Xaml.XamlType.CanConvertFrom(XamlType inputType)
   at Portable.Xaml.XamlMember.LookupRequiresChildNode()
   at Portable.Xaml.XamlMember.get_RequiresChildNode()
   at Portable.Xaml.TypeExtensionMethods.CompareMembers(XamlMember m1, XamlMember m2)
   at System.Collections.Generic.ArraySortHelper`1.InsertionSort(T[] keys, Int32 lo, Int32 hi, Comparison`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.IntrospectiveSort(T[] keys, Int32 left, Int32 length, Comparison`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
                                                             Before linking (B)   After linking (B)    Size decrease
-----------                                                  -----------          -----------          -----------
Total size of assemblies                                     52,096,704           21,330,616           59.06 %   
-----------                                                  -----------          -----------          -----------
danwalmsley
@danwalmsley
Aug 23 2017 14:58
@wieslawsoltes I was going to try this on Avalon studio, but I guess if I do this and someone writes an extension that uses a part that has been stripped out, then the extension will crash
Wiesław Šoltés
@wieslawsoltes
Aug 23 2017 15:04
That is also my concern, but you can also control what is and what not stripped
Using granular root descriptors
Eli Arbel
@aelij
Aug 23 2017 15:47
You can use old binding syntax if you want
I may be crazy but this kinda looks nicer than XAML in some ways :)
@grokys Why the switch to netstandard2.0?
Steven Kirk
@grokys
Aug 23 2017 15:48
i think it has some APIs we need, forgotten which ones though right now ;)
Eli Arbel
@aelij
Aug 23 2017 15:50
If you remember, I'd be curious to know which
Does anybody know what's the problem with mouse wheel scrolling? I'd really like to fix it, it's driving me crazy :) Also, I'd like to add up & down buttons to the scroll bars.
Steven Kirk
@grokys
Aug 23 2017 16:00
that problem is usually caused by a control not having a background so the mouse wheel messages don't get sent to the control, where are you seeing it?
Eli Arbel
@aelij
Aug 23 2017 16:05
Then I think all the controls should have a background brush (white or transparent) in their default template.
Seeing it in RoslynPad
Steven Kirk
@grokys
Aug 23 2017 16:07
ah yeah - looks like ScrollViewer doesn't have a default background!
it should
Eli Arbel
@aelij
Aug 23 2017 16:09
I'll add it :)
Darnell Williams
@Seeker1437
Aug 23 2017 16:10
Hi, does AvaloniaUI have any additional animation support?
Eli Arbel
@aelij
Aug 23 2017 16:10
What do you say about the up/down buttons? Sometimes you want to scroll accurately (e.g. just one line at a time), and without them it's impossible.
Darnell Williams
@Seeker1437
Aug 23 2017 16:11
Compared to alpha 2
Steven Kirk
@grokys
Aug 23 2017 16:11
yeah we should add them
hey @Seeker1437 welcome back!
Darnell Williams
@Seeker1437
Aug 23 2017 16:11
Hey, thanks!
Steven Kirk
@grokys
Aug 23 2017 16:11
no, nothing more has been done on animation yet
@aelij the only difficulty with scrollbar buttons is they need to be "repeater" buttons
Darnell Williams
@Seeker1437
Aug 23 2017 16:12
Ah okay! Is there a new blog or anything describing what the latest changes are?
Steven Kirk
@grokys
Aug 23 2017 16:12
no, unfortunately i've not written any new blog entries recently
i really should i know, but, time
Eli Arbel
@aelij
Aug 23 2017 16:12
And there's no repeater button yet? :)
Steven Kirk
@grokys
Aug 23 2017 16:12
no repeater button yet, no
@Seeker1437 the main thing that's been added is a new deferred renderer under win32
Darnell Williams
@Seeker1437
Aug 23 2017 16:13
Ah okay. I will just read through issues/commits. :)
Steven Kirk
@grokys
Aug 23 2017 16:13
read through PRs will give you a better overview i think
Darnell Williams
@Seeker1437
Aug 23 2017 16:13
I remember lurking around for that, there was a massive performance enhancement with that right?
Steven Kirk
@grokys
Aug 23 2017 16:18
potentially yeah, we're not quite there yet though
oh and we've also moved to portable.xaml which does give is a performance boost
Darnell Williams
@Seeker1437
Aug 23 2017 16:24
Yep just notice that as well as looks like WPF integration support? Or at least the start of it
Jeremy Koritzinsky
@jkoritzinsky
Aug 23 2017 18:16
Yep full WPF integration