by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 04 23:52
    jkoritzinsky synchronize #2734
  • Jul 04 23:17
    jkoritzinsky synchronize #2734
  • Jul 04 23:16
    jkoritzinsky synchronize #2734
  • Jul 04 23:00
    jkoritzinsky commented #4146
  • Jul 04 22:53
    jkoritzinsky review_requested #4223
  • Jul 04 22:53
    jkoritzinsky opened #4223
  • Jul 04 22:53
    jkoritzinsky labeled #4223
  • Jul 04 21:48
    danwalmsley synchronize #4209
  • Jul 04 20:23
    danwalmsley synchronize #4043
  • Jul 04 20:19

    danwalmsley on extend-client-area-to-decorations

    (compare)

  • Jul 04 20:19
    danwalmsley closed #3967
  • Jul 04 20:19
    danwalmsley commented #3967
  • Jul 04 15:54
    danwalmsley synchronize #3967
  • Jul 04 15:54

    danwalmsley on extend-client-area-to-decorations

    add some more documentation. fix binding. (compare)

  • Jul 04 12:07
    Gillibald commented #4222
  • Jul 04 12:06
    jmacato commented #4222
  • Jul 04 11:01
    Gillibald opened #4222
  • Jul 04 06:08
    jinyuttt closed #4217
  • Jul 04 06:08
    jinyuttt commented #4217
  • Jul 04 05:09
    tjacobhi commented #2759
Jose C Gomez
@josegomez
I’ll check out the wpf suggestion
Splitwirez
@Splitwirez
...is it possible to have a selector check if a property's value is null (or non-null, for that matter)? And if so, how would one do this?
Daniel Keenan
@dfkeenan
Is there a "platform" style selector?
lorean-devries
@lorean-devries
what themes does avalonia support ?
lorean-devries
@lorean-devries
I have a WPF app built with Material Design which I wish to convert to a Avalonia UI powered app ?
Nikita Tsukanov
@kekekeks
there was an attempt to make material-like style
lorean-devries
@lorean-devries
cool beans thank you will have a look at it now
Omid Mafakher
@OmidID

I have problem with Linux Framebuffer that the device we have it's have inverted touch by X and Y and this is the configuration of xorg conf

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "InvertX" "True"
        Option "InvertY" "True"
EndSection

In case of using framebuffer the libinput is not using xorg config anymore and it's will start independ of X server.
I found out there is a function exists in libinput that can fix this problem.
https://wayland.freedesktop.org/libinput/doc/latest/api/group__config.html#ga09a798f58cc601edd2797780096e9804
How can I calibrate the device from the code using this function? The main problem is how can I have the struct libinput_device * device variable?

anatolym78
@anatolym78
What 3d rendering engines i can use with AvaloniaUI?
Nikita Tsukanov
@kekekeks
@OmidID Customization has to be added to the API, for now you can just copy-paste files from https://github.com/AvaloniaUI/Avalonia/tree/master/src/Linux/Avalonia.LinuxFramebuffer/Input/LibInput and use your customized input backend
@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?