workgroupengineering

Results 148 comments of workgroupengineering

What do you think about pinning this issue so it's easy to find?

I would suggest adding a warning when a DynamicResource is reassigned. I wasted a whole day troubleshooting a problem due to this.

> > I would suggest adding a warning when a DynamicResource is reassigned. I wasted a whole day troubleshooting a problem due to this. > > @workgroupengineering can you give...

Add Warning suppression il xaml like ```xaml ... ```

> > A third-party control defines within it a DynamicResource with the same name as the one I created. > > That's the exactly what a dynamic resource should do...

Add warning when local value override style selector ```xaml ```

From the log you posted the error occurs in the resize/restore of the window. This should be the affected code. Try doing some debugging. https://github.com/AvaloniaUI/Avalonia/blob/76caeedfd2baf1911f889011189d1c21657d2987/native/Avalonia.Native/src/OSX/WindowBaseImpl.mm#L286-L343

Hi, As mentioned by others, if we are to follow the WPF spec, Yield must check that it is called in the UI thread and raise an exception if not....

> WPF doesn't check for an "UI thread", it checks if the current thread has an associated dispatcher. At some point we want to have support for multiple _dispatchers_ though....

> My proposal is to have `Yield` as static which will try to access the current dispatcher if it is (currently it's `UIThread`, but it can be captured in a...