Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:33
    HankG edited #3360
  • 04:29
    HankG opened #3360
  • Dec 15 14:23
    MarchingCube synchronize #3352
  • Dec 15 14:15
    MarchingCube commented #3135
  • Dec 15 12:47

    MarchingCube on master

    Fixed BindingExtension.TargetNu… Merge pull request #3359 from j… (compare)

  • Dec 15 12:47
    MarchingCube closed #3359
  • Dec 15 03:37
    Kermalis edited #2653
  • Dec 15 03:37
    Kermalis commented #2653
  • Dec 14 20:36
    jp2masa synchronize #3359
  • Dec 14 16:04
    MarchingCube commented #3352
  • Dec 14 15:54
    Gillibald commented #3352
  • Dec 14 15:51
    donandren commented #3352
  • Dec 14 15:51
    Gillibald synchronize #1950
  • Dec 14 14:56
    Gillibald commented #3352
  • Dec 14 14:46
    Gillibald commented #3352
  • Dec 14 14:45
    Gillibald commented #3352
  • Dec 14 14:31
    MarchingCube commented #3352
  • Dec 14 14:05
    Gillibald commented #3352
  • Dec 14 13:48
    MarchingCube commented #3352
  • Dec 14 13:47
    MarchingCube commented #3352
Alex
@Guddiny_gitlab
Hello. Is it possible to add animation when i set View by ViewLocator (i don't use ReactiveUI router)?
roblthegreat
@roblthegreat
upgraded all my projects to 0.9.0 and nothing appears to be broken and no build failures. Yay!!
Hank G
@HankG
so that's the official release? cool!
roman
@maindlab_gitlab

hello
how to bind comboboxitem to string?
<ComboBox Grid.Row="5" Grid.Column="3" SelectedItem="{Binding Type, Converter={StaticResource TypeConverter}}">
<ComboBoxItem Content="Command" />
<ComboBoxItem Content="Request" />
<ComboBoxItem Content="IndirectCommand" />
<ComboBoxItem Content="Other" />
</ComboBox>

wanna have string property in vm

Benedikt Stebner
@Gillibald
TextLayout-2019-12-14 204529.png
MonkAlex
@MonkAlex
Nice
Alexander Gnauck
@agnauck
:thumbsup:
ahopper
@ahopper
:+1:
roblthegreat
@roblthegreat
:thumbsup:
ASMITH-budget
@ASMITH-budget
Hello ! I migrated from 0.8.2 to 0.9.0-rc.2 , 'couse i use ApplicationLifetime, but now my controls are disabled. Why? Please, help me!!!
ahopper
@ahopper
what in particular is disabled?
ASMITH-budget
@ASMITH-budget
sub menus, buttons
ahopper
@ahopper
do they have bound commands?
ASMITH-budget
@ASMITH-budget
no
ahopper
@ahopper
might be worth sanity checking DataContext is what you think it should be, or put a repro somewhere.
ASMITH-budget
@ASMITH-budget
@ahopper Yes )))) if i add Command="{Binding Open}", menu is disabled. why?
@ahopper just link to text, examples and etc, Thank you/
ahopper
@ahopper
typically because it can't find a void Open() on the datacontext
ASMITH-budget
@ASMITH-budget
public void Open (), like that?
ahopper
@ahopper
a simple example is in the bind to methods at the bottom of https://avaloniaui.net/docs/binding/binding-to-commands
ASMITH-budget
@ASMITH-budget
@ahopper Thanks!!!!!
Alex
@Guddiny_gitlab
Hello. is there something like AutoReverse="False" for animation?
ahopper
@ahopper
or fillmode
Alex
@Guddiny_gitlab
@ahopper Thanks. I'll try.
Luis v.d.Eltz
@pr8x
Can I actually set an AdornerLayer element from xaml?
Pieter-Jan Briers
@PJB3005
Hrm, for some reason it seems like my Avalonia app has started reliably segfaulting on Linux
As in, can't start it anymore
https://pastebin.com/SykZyq18 native & managed call stack from lldb
I didn't touch anything, just came back to ship it and it isn't launching anymore, so I assume some system update for me broke it?
the segfault happens a few frames down from gr_glinterface_assemble_gl_interface in Skia
Loosy
@Loosy_gitlab
Wondering, anyone here have already figured out a template installation GUI for the Avalonia program?
Kermalis
@Kermalis
I'm trying to update to 0.9.0 but I get this:
image.png
image.png
Nikita Tsukanov
@kekekeks
@PJB3005 I'd recommend to cline avalonia repo and add some logging to glGetProcAddress calls in GlxInterface
And run controlcatalog
That will give us an idea what might be wrong with gl interface
Also, which distro, which version, what hardware
@kermalis check plain text build output, it should have more details
Kermalis
@Kermalis
the output is just the same thing over and over again hundreds of times
image.png
@kekekeks
7>C:\Users\Kermalis\Documents\Development\GitHub\PokemonBattleEngine\PokemonBattleEngineClient.Desktop\PokemonBattleEngineClient.Desktop.csproj : error NU1605: Detected package downgrade: System.Buffers from 4.3.0 to 4.0.0. Reference the package directly from the project to select a different version. 
7>C:\Users\Kermalis\Documents\Development\GitHub\PokemonBattleEngine\PokemonBattleEngineClient.Desktop\PokemonBattleEngineClient.Desktop.csproj : error NU1605:  PokemonBattleEngineClient.Desktop -> PokemonBattleEngineClient -> Avalonia.Desktop 0.9.0 -> Avalonia.Direct2D1 0.9.0 -> SharpDX 4.0.1 -> Microsoft.NETCore.App 1.0.5 -> System.Diagnostics.Process 4.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Buffers (>= 4.3.0) 
7>C:\Users\Kermalis\Documents\Development\GitHub\PokemonBattleEngine\PokemonBattleEngineClient.Desktop\PokemonBattleEngineClient.Desktop.csproj : error NU1605:  PokemonBattleEngineClient.Desktop -> PokemonBattleEngineClient -> Avalonia.Desktop 0.9.0 -> Avalonia.Direct2D1 0.9.0 -> SharpDX 4.0.1 -> Microsoft.NETCore.App 1.0.5 -> System.Buffers (>= 4.0.0)
Kermalis
@Kermalis
I have 358 errors but they're all just repeats of those 4 in the screenshot
Gary Hertel
@garyhertel

I was taking a look at updating OxyPlot to 0.9. I've got it working in my app, but the project examples are proving to be a bit more difficult with the xaml. The one I'm stuck on right now is it's using a Static Converter.

https://github.com/AvaloniaUI/oxyplot-avalonia/blob/master/Source/Examples/Avalonia/AvaloniaExamples/Examples/ColorBindingDemo/MainWindow.xaml#L17

Error XAMLIL Unable to resolve type Static from namespace https://github.com/avaloniaui (line 17 position 13) Line 17, position 13.

<oxy:Plot 
            Background="{Binding Background, Converter={Static ColorBindingDemo:MainWindow.OxyColorConverter}}" 
            PlotAreaBorderColor="{Binding PlotAreaBorderColor, Converter={Static ColorBindingDemo:MainWindow.OxyColorConverter}}" 
            TextColor="{Binding TextColor, Converter={Static ColorBindingDemo:MainWindow.OxyColorConverter}}" 
            Foreground="Orange">
Nikita Tsukanov
@kekekeks
Use x:Static
Gary Hertel
@garyhertel
Thanks! That fixed it
Gary Hertel
@garyhertel

Okay, next problem. This is causing a InvalidCastException: 'Specified cast is not valid.' error

      Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(this);

https://github.com/AvaloniaUI/oxyplot-avalonia/blob/master/Source/Examples/Avalonia/AvaloniaExamples/Examples/CustomTrackerDemo/MainWindow.xaml#L39

<TabItem Header="No tracker">
            <oxy:PlotView Model="{Binding Model}" DefaultTrackerTemplate="{local:Null}" />
        </TabItem>

I can also delete/disable this one so that window loads