by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:17
    Martin005 commented #4468
  • 14:26
    grokys opened #4469
  • 14:23

    grokys on direct-property-metadata

    Move some tests. Tests for `Av… Expose OverrideMetadata for dir… Added property metadata tests. (compare)

  • 14:09
    rstm-sf synchronize #4418
  • 13:19
    xiangzhai commented #4086
  • 12:26
    Gillibald commented #4048
  • 09:52
    JaggerJo commented #4048
  • 09:44
    grokys commented #4048
  • 09:43
    grokys labeled #4048
  • 09:43
    grokys labeled #4461
  • 09:43
    grokys commented #4461
  • 09:39
    chancezheng opened #4468
  • 09:24
    kekekeks commented #4423
  • 08:57
    grokys commented #4048
  • 08:09
    mate1213 commented #4426
  • 07:57
    mate1213 commented #4426
  • 07:41
    xiangzhai commented #4086
  • 07:13
    xiangzhai commented #4086
  • 06:26
    xiangzhai commented #4086
  • 06:07
    jmacato commented #4086
Nikita Tsukanov
@kekekeks
@anatolym78 Avalonia is using OpenGL(ES) internally. An OpenGL 3.2+ or OpenGL ES 2.0 context is available depending on the current platform
proper integration API is currently WIP AvaloniaUI/Avalonia#3386
anatolym78
@anatolym78
Thank you
Evgeny Kravchenko
@KydesnikEvgesha
Добрый день, подскажите, есть примеры реализации reportviewer с avalonia?
FoggyFinder
@FoggyFinder
if you haven't noticed it is a English-language chat
@KydesnikEvgesha ^^
Evgeny Kravchenko
@KydesnikEvgesha
@FoggyFinder sorry and thanks a lot
Omid Mafakher
@OmidID
@kekekeks thank you so much. I'll try and if i need help I'll ask you again. 🙏
Deadpikle
@Deadpikle
:wave: Hi there. New to Avalonia but not WPF. I've been racking my brain trying to figure out why a ContentPresenter's Content property binding was not showing up in the UI. Switched to a ContentControl and it works fine. Is ContentPresenter not to be used in Avalonia? I've noticed it's not listed in the docs as a control.
danwalmsley
@danwalmsley
ContentPresenter is like an inner control used by ContentControl
end user is supposed to use ContentControl
Deadpikle
@Deadpikle
Ah. Ok. I see. Thanks! :)
danwalmsley
@danwalmsley
unless your implementing some CustomContentControl with its own template, then you might use ContentPresenter
Steven Kirk
@grokys
that's actually the same in WPF. our ContentPresenter should work in this situation as well tbh, but it's not the really strictly the correct control. ContentControl is the right control in both WPF and Avalonia
Deadpikle
@Deadpikle
Hm. Then, since ContentPresenter didn't work as I would expect in WPF, should I file a bug for unexpected behavior? (Literally swapped ContentPresenter -> ContentControl and it worked out OK.)
...of course, unless the right answer is "Why are you using ContentPresenter and not ContentControl in WPF?" :P
Jose C Gomez
@josegomez
FormStartup.CenterOwner doesn't work for jack on Linux
is this a known issue?
Fredrik Elestedt
@elestedt
I just created a new avalonia.mvvm application for .NET Core on Windows 10 (using dotnet new avalonia.mvvm). If I then change the target framework to Core 3.0 or 3.1 - the application fails to start with an exception about skiasharp not being found. Is this a knows issue? Couldn't find a compatibility list on the website that excludes 3.0/3.1.
Nikita Tsukanov
@kekekeks
SkiaSharp.dll or libSkiaSharp.dll?
Fredrik Elestedt
@elestedt
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Avalonia.Skia.TypefaceCache' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Just got the same from a published app dotnet publish -f netcoreapp2.2 -c release -r win10-x64
Feels like something with my setup - no clue about what though
Nikita Tsukanov
@kekekeks
I think it needs MSVC++ Runtime installed
danwalmsley
@danwalmsley
@kekekeks there was talk that in future release skiasharp would statically linke msvc++
Fredrik Elestedt
@elestedt
So I make a self-contained .NET Core app - but I still need to install MSVC++?
sounds reasonable
Nikita Tsukanov
@kekekeks
Does libSkiaSharp.dll exist in your publish directory?
Wiesław Šoltés
@wieslawsoltes
It should be statically linked
Fredrik Elestedt
@elestedt
yes, it does
it's about 6Mb
signed by Xamarin Inc on the 2nd of december 2018
Nikita Tsukanov
@kekekeks
image.png
Hmmm
Please, try to run some hello world app with Skia
Fredrik Elestedt
@elestedt
It works in debug in visual studio though.
Nikita Tsukanov
@kekekeks
Which version of Avalonia are you using?
Fredrik Elestedt
@elestedt
0.9.2
Nikita Tsukanov
@kekekeks
So it should be using SkiaSharp 1.68.0
Fredrik Elestedt
@elestedt
Yes
Tried forcing it to a later version - no change
Nikita Tsukanov
@kekekeks
Mkay, which RID are you targeting with dotnet publish?
Fredrik Elestedt
@elestedt
win10-x64
posted the full command a few posts back
Nikita Tsukanov
@kekekeks
Try win7-x64
it might be attempting to use an UWP version
Fredrik Elestedt
@elestedt
found the reason
worked with win10-x86..