On Thursday, May 18, 2023 at 3:25:40 AM UTC-7, Nick Westgate wrote:
> Being a C# fan also, I understand the cross-platform UI quandary.
> Avalonia and Uno are well regarded and support drag and drop etc.
The best breakdown I've found is this:
https://github.com/robloo/PublicDocs/blob/master/XAMLFrameworkComparison.md
It got a significant update about a month ago that reflected the progress Avalonia has made. I expect that'll be the best approach.
I think I really just need three things: DataGrid, TreeView, and something like FlowDocument to display fancy text. The file converter keeps the text and formatting separate, so it's possible to do the file viewer with just a basic text edit control, but that's no fun when you want to look at Teach / AWGS or even just Applesoft with syntax coloration. I haven't worked out how to do a sector-edit dialog yet though.
The framework comparison document says, "WPF can now run cross-platform using Wine Mono or Avalonia XPF". Avalonia XPF is "coming soon" and commercial rather than free. I took a brief look at whether
https://github.com/madewokherd/wine-mono would help - it might even allow SourceGen to run on Mac/Linux since it's a .NET Framework app - but getting it installed is so awkward right now that I doubt anybody would go through it.
Drag & drop is easy in-app but gets complicated when you try to drag between separate instances of the app or out to the Finder/Explorer, because it's platform-specific, and none of the frameworks help (not even Microsoft's). For example:
https://dlaa.me/blog/post/9913083