Sergio Pedri

Results 352 comments of Sergio Pedri

To clarify why I'm asking for a minimal repro - the thing is that having to test a full project requires time, and often it's not even an actual problem...

@wesleyscaldwell Are you able to write a unit test for this? Like, a standalone method, with no UI framework dependencies, that just clearly expresses exactly what logic you expect and...

Right, but the thing is, I need to be able to understand whether this issue is on the MVVM Toolkit or on the MAUI side. If it's the former, it...

@robertodalmonte That's by design, and the error message is telling you what the issue is. Your `CanExecute` member is a method returning `Task`, which isn't valid. It needs to be...

Oh whoops @JimBobSquarePants my bad, forgot we had split the two packages into separate repos 😅 @antonfirsov sure, on it!

@antonfirsov `FillPolygon` seems to work fine 😄 For reference: ```csharp private async void ButtonBase_OnClick(object sender, RoutedEventArgs e) { var finalImage = new Image(256, 256); finalImage.Mutate(i => { i.Fill(Color.White); i.FillPolygon(Color.Red, new...

@JimBobSquarePants Wait, why the Raspberry Pi? You can repro this on Desktop, am I missing something obvious? 🤔 The issue is in Release x64, not ARM!

> I just see UWP and assume the worst That hurts, but I can't really blame you 🤣 > They use their own shonky version of NET Core for this...

Hello @APopatanasov - thank you for your reply! 😄 Yeah I figured it was something related with the `Invalidate` method, and thank you for the hints about the actual implementation....

FWIW, I plan to implement this (for `DependencyProperty`) for UWP/WinUI 3, but I'll wait for C# 12 and hopefully partial properties. While other approaches would also work, I don't personally...