WPF on wine stable 6.0.2

Questions about Wine on Linux
Locked
zhanglb
Newbie
Newbie
Posts: 2
Joined: Wed Dec 29, 2021 2:43 am

WPF on wine stable 6.0.2

Post by zhanglb »

Hi guys:
I want to port some wpf programs to linux by wine. I met a question about wpf.
I installed wine-stable 6.0.2 on a Debian (v20.2).
Simple wpf programs can work well on wine.
But on the Window of the wpf program, if I set the property AllowsTransparency="True", the wpf program can not run on wine.


Did anybody know how to solve it?
Thanks a lot!

jack
madewokherd
Level 4
Level 4
Posts: 144
Joined: Mon Jun 02, 2008 5:03 pm

Re: WPF on wine stable 6.0.2

Post by madewokherd »

It's this bug: https://bugs.winehq.org/show_bug.cgi?id=50743

There's a possible work-around patch on the bug. I added a work-around to Wine Mono in version 6.1.0, so if your application runs on .NET Framework then updating to that might also work.
zhanglb
Newbie
Newbie
Posts: 2
Joined: Wed Dec 29, 2021 2:43 am

Re: WPF on wine stable 6.0.2

Post by zhanglb »

hi, madewokherd!
I have read the bug detail and the patch. Thank you very much!

But I did not show the problem clearly. My environment is Debian + wine-stable (v6.0.2) + wine-mono(v6.4.0).
You said that the work-around is added to wine-mono v6.1.0. And the patch is about wine itself.
Do you mean that I need to add the patch code to wine source code, and recompile the wine, then install the new wine and wine-mono (v6.4.0)?
Or just only need wine-mono (v6.4.0) from wine-stable(v6.0.2)? So far I have the wine-stable(v6.0.2) and wine-mono(v6.4.0) and the problem.

Could you please give me some guidance?
Thanks a lot!
Locked