These are chat archives for AvaloniaUI/Avalonia

31st
Aug 2016
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 05:24
no idea, look like some configuration is missing, maybe something in solution, do not have access to VS right now, can look into this later afternoon
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 09:14
What release date for the next version?
Steven Kirk
@grokys
Aug 31 2016 09:49
i'm thinking of doing another one reasonably soon - the cake build stuff that @wieslawsoltes has done should make it easier to do releases
and i've found a problem in our item virtualization that needs to be fixed, as its just broken currently
danwalmsley
@danwalmsley
Aug 31 2016 09:50
@grokys whats the problem you have found? I still see the odd weird thing happening, not crashing though
Steven Kirk
@grokys
Aug 31 2016 09:51
run the virtualization test and take a look at the last item!
danwalmsley
@danwalmsley
Aug 31 2016 09:51
btw I didn't get chance to look at tabcontrol yet
I will get round to it soon though
Steven Kirk
@grokys
Aug 31 2016 09:55
sure, i'd like to get that in for a release too
danwalmsley
@danwalmsley
Aug 31 2016 09:57
ah not showing last items
i'll try and migrate Avalon studio tabs to new tabcontrol
and let you know if I have any issues
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 09:58
@grokys Before release make sure that we use authorized Nuget key, currently the key is set to account created by @kekekeks
Steven Kirk
@grokys
Aug 31 2016 09:59
ok, i think i added that user as a owner of the packages though, so it should be ok?
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 10:00
we will see :)
I never had this kind of auth setup for NuGet
and recently Nuget did some changes to api key lifetimes :)
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 10:07
cake script is working without any problem with MyGet and NuGet works in the same way, just different method name
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 10:22
and my problem with OpenFileDialog and OpenFolderDialog is not resolved
Nikita Tsukanov
@kekekeks
Aug 31 2016 10:24
well, we can't reproduce that and you haven't shown the code that actually shows the dialog with gtk#
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 10:28
The code in my app http://pastebin.com/3RsNdCqa
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 10:34
What do you want more ?
danwalmsley
@danwalmsley
Aug 31 2016 11:36
@branstettloic_twitter
can you try this code
var ofd = new OpenFileDialog();
                ofd.InitialDirectory = "c:\";
                ofd.Filters.Add(new FileDialogFilter {Name = "OpenOCD Config File", Extensions = new List<string> {"cfg"}});
                ofd.AllowMultiple = false;
                ofd.Title = "Open OpenOCD Target Config File";

                var result = await ofd.ShowAsync();

                if (result != null && !string.IsNullOrEmpty(result.First()))
                {

                }
see if that works for you
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 11:38
Okay
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 11:50
It's works thanks, but i have this error : "Gtk-CRITICAL **: IA__gtk_file_chooser_select_filename: assertion 'filename != NULL' failed"
What was the problem?
Darnell Williams
@Seeker1437
Aug 31 2016 12:01
Did you select a file?
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 12:03
Yes
Darnell Williams
@Seeker1437
Aug 31 2016 12:05
Strange ill just test as we
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 12:05
This error appears when i select and i'm not select
And sorry for my English, I'm French
Darnell Williams
@Seeker1437
Aug 31 2016 12:07
So when ypu select something fpr the first time it happens?
Or when you unselect something?
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 12:16
The error appears in all cases when I click Open or Cancel
Eric Winnington
@ewinnington
Aug 31 2016 12:21
does the issue still appear if you assign the "new FileDialogFilter { ..." to a temp variable before assigning it to the Filters.add?
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 12:24
@ewinnington Thanks, no error with adding : "ofd.Filters = new List<FileDialogFilter>();"
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 13:45
@kekekeks managed to fix builds :)
AvaloniaUI/Avalonia#708
hope this is correct
anyway it builds
Nikita Tsukanov
@kekekeks
Aug 31 2016 13:50
renamed... type parameter... to fix build?
wat
just WAT
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 13:51
yes, this was one of the issues
Nikita Tsukanov
@kekekeks
Aug 31 2016 13:51
Mono compiler can't be that bad, right?
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 13:51
its vs :)
roslyn
VS2015 Update 3
Nikita Tsukanov
@kekekeks
Aug 31 2016 13:52
Ehm, appveyor build was fine
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 13:52
it just went crazy
appveyor was also failing, but error message has been very confusing, same on my machine
also excluded windows interop sample from Mono builds
Nikita Tsukanov
@kekekeks
Aug 31 2016 13:54
well, missing references in interop projects was certainly my fault (I've merged them the version of code that still haven't had dotnetframeworkruntime project)
But type param name?
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 13:54
yeah that one was surprising
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 14:06
@kekekeks Travis and Appveyor passes, will you merge or can I ?
Nikita Tsukanov
@kekekeks
Aug 31 2016 14:09
https://ci.appveyor.com/project/AvaloniaUI/Avalonia/build/1.0.1983 well, at that point it was successfully building with the old type param name
I wonder what happened
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 14:10
not sure, but having typeparam without T was bit confusing
when looking at the base class
Loïc Branstett
@branstettloic_twitter
Aug 31 2016 14:36
What should we put in the Icon Property (in Xaml) ?
Jeremy Koritzinsky
@jkoritzinsky
Aug 31 2016 17:57
Put in a path to an icon file or an icon embedded resource.
Ivan Kochurkin
@KvanTTT
Aug 31 2016 22:14
What is the best way to implement highlighting support with Avalonia?
Steven Kirk
@grokys
Aug 31 2016 23:02
@KvanTTT you can already highlight text
just use shift+arrow keys in a TextBox or drag the mouse over text in a textbox
Ivan Kochurkin
@KvanTTT
Aug 31 2016 23:05
I mean syntax highlight in programming languages :)
James Walmsley
@jameswalmsley
Aug 31 2016 23:06
@KvanTTT checkout AvalonStudio, @danwalmsley can help you
Ivan Kochurkin
@KvanTTT
Aug 31 2016 23:12
Yes, I just tried it but could not compile it. But thank you, I will sort this out.
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 23:24
@grokys I have run in some issues with data validation, I have ported small app from WPF to Avalonia and found some data binding issues and validation issues, if you have time please check this project: https://github.com/wieslawsoltes/ReactiveHistory/tree/master/samples
There is wpf and avalonia version of same app.
Steven Kirk
@grokys
Aug 31 2016 23:25
@wieslawsoltes is this on latest master since i merged the validation issues?
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 23:25
yes
0.4.1-build2016-alpha
Steven Kirk
@grokys
Aug 31 2016 23:26
oh :(
i was hoping that it would've got tested while i was away in the PR
but i guess stuff never really gets tested until merged to master
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 23:26
well I am using specific observable properties so maybe this is issue
Steven Kirk
@grokys
Aug 31 2016 23:27
could you add an issue describing the problem?
i've got quite a large backlog atm
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 23:27
ok
will do more tests and try to describe the issues
Steven Kirk
@grokys
Aug 31 2016 23:27
thanks!
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 23:27
np
Wiesław Šoltés
@wieslawsoltes
Aug 31 2016 23:37
added AvaloniaUI/Avalonia#711