WPF on Wine, images support

Questions about Wine on Linux
Locked
leonleon
Newbie
Newbie
Posts: 2
Joined: Sat Apr 13, 2013 2:34 am

WPF on Wine, images support

Post by leonleon »

I am trying to understand what features supports Wine for WPF applications. I created a simple application that display an image loaded from a file (see MainWindow.xaml). Basically, the only thing I added to the base skeleton, is <Image Source="beta.png"/>.

The application (see the attached WineTest.exe) fails on System.Media.Imaging.BitmapSource.get_DUCECompatibleMILPtr() with System.InvalidCastException: Specified case is not valid.

Does Wine supports at all using Image control?
Are there other supported image formats?

Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WPF on Wine, images support

Post by dimesio »

There is no support for WPF in Mono, and hence none in wine-mono. http://www.mono-project.com/WPF

Try running your app with real .NET.
leonleon
Newbie
Newbie
Posts: 2
Joined: Sat Apr 13, 2013 2:34 am

Re: WPF on Wine, images support

Post by leonleon »

In the http://appdb.winehq.org/objectManager.p ... &iId=10166 stated that
"WPF applications are mostly now working thanks to recent client side window rendering code."

According to my test, empty WPF application does work with latest Wine. But when I added a button based on Image, it failed.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WPF on Wine, images support

Post by dimesio »

File a bug.
Locked