Transparency in Wine

Posted by Shaun Biggs on Wed 04 Apr 2007 04:31 AM — 5 posts, 12,666 views.

USA #0
I'm using MUSHclient 4.01 on Mepis with wine-0.9.34. I keep trying to use the Transparency function so I can see behind the window. I have wine running MC as a winXP system. If I run print(Transparency(0,255)) through the script engine, it prints true, so obviously it thinks it's working. However, nothing happens at all. Has anyone gotten this to work at all? I have glx running with the latest nVidia driver, so transparency shouldn't be a problem.
USA #1
I think transparency is handled in the Wine Windows API, not just glx and all that stuff. Are you sure Wine itself can handle this?
USA #2
I'm not sure it can at all, which is why I'm trying to find out if anyone has gotten it to work. I know that certain things still won't work without glx, so I mentioned that just in case. If I don't get anyone saying that they've gotten it to work in a few days, and I still haven't anything myself digging through winehq and google, I'll just post a bug report for Wine.
USA #3
When I type "Transparency(-1,127)", I see this printed to stdout: fixme:win:SetLayeredWindowAttributes (0x10028,0x00ffffff,127,2): stub!.

This is Wine 0.9.33. I guess that means it's not implemented yet. :-)
USA #4
You know, I honestly didn't think to run MC from a virtual console for that for some really stupid reason. The really sad thing is that I frequently run 3d games like that when I have issues with them to see where they conk out. I should make my link for MC dump error messages and warnings into a log from now on.

On a brighter note, SetLayeredWindowAttributes and UpdateLayeredWindow are the only two stubs left in dlls/user/win.c so hopefully that will be fixed reasonably soon. Unfortunately, that is way over my head, so I can't help myself out at all on this.