Wine for NET Core WPF Apps

Christopher Cifra christopher.cifra at ni.com
Fri Aug 9 12:16:23 CDT 2019


Hi,
I'm just getting started with Wine and am working on getting a few .NET Core WPF apps running on Linux with Wine.   Surprisingly enough I was able to get a basic application working without too much difficulty.
Here is an animated gif of a test app if you are interested: https://ccifra.github.io/WPFOnLinux/WPFOnLinux.html.  It is running on a very slow VM so don't pay much attention to the performance.

To get this far I just needed  to fix up some stubbed out methods in api-ms-win-crt-private-l1-1-0.  I want to submit a patch with my changes and I was not sure what your testing requirements are when stubs are updated to point to existing methods?  Are there examples of tests that I should follow?

I have run into one bug so far when the applications bring up multiple windows.  Basically the contents of additional windows will render back into the first window.  Input events like cursor interactions work correctly in the second window (if you know where to click).  It does not seem to always happen, combo box dropdowns work for example, but it usually does.  I have not been able to narrow the issue any further so I thought I would check to see if this is a known issue or if anyone had any pointers on where I can start looking.  I don't know much about the graphics stack.  I can also share a sample app which shows off the issue if anyone is interested in taking a look.

Please let me know if I should post this kinds of questions somewhere else.

Thanks for your help,
   --Chris




More information about the wine-devel mailing list