Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 22:31
    laolarou726 commented #8726
  • 22:11
    maxkatz6 closed #8735
  • 22:11
    maxkatz6 commented #8735
  • 22:11
    maxkatz6 labeled #7755
  • 22:10
    maxkatz6 commented #8726
  • 22:08
    maxkatz6 unlabeled #8726
  • 22:08
    maxkatz6 labeled #8726
  • 22:08
    maxkatz6 commented #8726
  • 21:54
    laolarou726 commented #8726
  • 21:54

    danwalmsley on 0.10.x

    Merge pull request #7755 from A… (compare)

  • 21:52
    maxkatz6 commented #8726
  • 21:49
    danwalmsley labeled #7755
  • 21:37
    maxkatz6 closed #8678
  • 21:36
    maxkatz6 labeled #8666
  • 21:34
    maxkatz6 closed #6727
  • 21:34
    maxkatz6 commented #6727
  • 21:23
    avaloniaui-team commented #8734
  • 21:19

    kekekeks on master

    Fixed glActiveTexture calls. Merge branch 'master' into gl-a… Merge pull request #8734 from j… (compare)

  • 21:19
    kekekeks closed #8734
  • 20:59
    kekekeks synchronize #8734
.
@avaloniaui:matrix.org
[m]
JohnCarruthers
either way, it's the same error at runtime
JohnCarruthers
crash log ^^
danwalmsley
what are you using for osx apis?
danwalmsley
net6-macos?
danwalmsley
xamarin.mac
danwalmsley
or mono.mac?
JohnCarruthers
net6-macos
.
@avaloniaui:matrix.org
[m]
danwalmsley
really wierd errors
danwalmsley
Could not findXamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065referenced by assemblyHarfBuzzSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756.
JohnCarruthers
I've found a clue - my project runs if I change the TargetFramework to net6.0-macos10.14
danwalmsley
does it help if you clean
danwalmsley
and delete obj / bin dirs?
timunie
Tbh I don't have a clue. For me the ReactiveUI stuff is often a but like black magic 🪄. I rarely use ReactiveUI. Instead I use the community mvvm toolkit (re @Moolicc: That actually did it. So what's special about ReactiveUserControls that don't play well with binding in this specific instance, would be my next puzzle.)
JohnCarruthers
that's a no (re @danwalmsley: and delete obj / bin dirs?)
.
@avaloniaui:matrix.org
[m]
Moolicc
Fair enough. I haven't touched any mvvm or gui stuff in several years. I honestly just assumed it provided some useful extensions and that was it (re @timunie: Tbh I don't have a clue. For me the ReactiveUI stuff is often a but like black magic 🪄. I rarely use ReactiveUI. Instead I use the community mvvm toolkit)
Moolicc
I'll look into CommunityToolkit though, haven't heard of that yet.
Moolicc
Thanks for your help btw!
JohnCarruthers
I can run when targeting net6.0-macos10.14 and nothing else; though I do still get warnings about System.Resources.Writer and System.Diagnostics.FileVersionInfo being missing
JohnCarruthers
I tried changing <TargetFramework> to net6.0-macos10.15 and <SupportedOSPlatformVersion> to 10.15 but it crashes at runtime still
JohnCarruthers
so, basically, only net6.0-macos10.14 functions at runtime
Katz0
He needs it to use mac apis (re @danwalmsley: NSApplication.Init();)
Katz0
SkiaSharp (re @danwalmsley: Could not find Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065 referenced by assembly HarfBuzzSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756.)
Katz0
Or HarfBuzzSharp in this case
Katz0
It has bad story of being incompatible with some sdk versions
JohnCarruthers
oh, upstream issue?
Katz0
I just created a simple project, it works after I set specific skia sharp versions
JohnCarruthers
what's a good skiasharp version to specify?
.
@avaloniaui:matrix.org
[m]
Katz0
Katz0
specifically
<PackageReference Include="SkiaSharp" Version="2.88.1-preview.79" />
<PackageReference Include="SkiaSharp.NativeAssets.macOS" Version="2.88.1-preview.79" />
<PackageReference Include="HarfBuzzSharp" Version="2.8.2.1-preview.79" />
<PackageReference Include="HarfBuzzSharp.NativeAssets.macOS" Version="2.8.2.1-preview.79" />
Katz0
this or anything newer I suppose
JohnCarruthers
can confirm, my project runs with those packages specified
Katz0
I think NSApplication.Init() is only needed if your code has some custom obj-c class registration and overrides
Katz0
But I am not sure 100%
JohnCarruthers
thanks
JohnCarruthers
I really appreciate the help
JohnCarruthers
I was beginning to tear my hair out
Katz0
I lost some hairs too before with this skia issue
Katz0
But it was only about iOS
Katz0
it seems it's also about macOS too
Katz0
@danwalmsley we need to up skia version yet again for the first preview at least
Katz0
just to avoid this kind of issues
.
@avaloniaui:matrix.org
[m]
JohnCarruthers
now to figure out how to make my UI as pretty as Lunacy 8 in a few days so that my boss likes Avalonia over UIKit
Katz0
lunacy had way more time from what I remember haha
JohnCarruthers
yeah, it looks nice, I went looking to see if it was open source, their control styles are nice looking
Katz0
they have created their own controls theme IIRC
JohnCarruthers
infact, all 3 of the projects listed in the readme are pretty decent looking - at least much better than Cocoa
JohnCarruthers
y'all should make nice looking themes like that as part of your commercial offering and save me a lot of effort :P
.
@avaloniaui:matrix.org
[m]
Dynesshely
thanks (re @timunie: Most often I use LastChildFill =true and let the last child take up all remaining space)