Stephen Monaco

Results 73 comments of Stephen Monaco

This PR is not stale.

I kind of wonder whether this is a Task Manager display bug. I can keep the GPU at "5.1%" for minutes, yet the sum stays well below that. Would need...

Oh that works? Extending the grabber area of a `GridSplitter` (or other resizing controls) would be another good use case.

> I cannot inherit from WindowImpl nor reimplement IWindowImpl It's possible to reimplement `IWindowImpl`, but it's only meant for full platform implementations, AFAIK, and not swapping implementations. > using HwndSource.AddHook...

> It looks some properties in IWindowImpl are internal that I can not access without allowing private API. `IWindowImpl` itself will be `internal` unless you use `AvaloniaAccessUnstablePrivateApis`, but you can...

I can reproduce. As a workaround, copying to a `MemoryStream` beforehand works for me. Probably still a bug though so keep the issue open. eg. ```cs using var entryStream =...

So the general approach should work. See https://github.com/AvaloniaUI/Avalonia/blob/ae44889370c56a5f7b163f72b32a4030d28a15a5/tests/Avalonia.RenderTests/Media/BitmapTests.cs#L115-L121 and https://github.com/stevemonaco/AvaloniaDemos/blob/master/RealTimeBitmapAdapter/ImageAdapters/WriteableBitmapAdapter.cs#L63 If this `WriteableBitmap` is already assigned to an `Image.Source` before the mutation, then you need to manually call `theImage.InvalidateVisual();` so...

> Am I correct in assuming that I should post the call to InvalidateVisual() into the main/UI thread? Dispatching this to the UI thread appears to be necessary so you...

I wouldn't say "no" way. As an outsider, this is the type of case template selectors were supposed to solve -- setting/customizing properties in `ControlTemplate`s, especially ones that aren't set...

It's a large repro to sort through, but it's related to interfaces in `MainViewModel`. ```cs public ICollectionView Playlists { get; } = new CollectionView(); // Does not work public CollectionView...