progress with PT3 use under Linux with wine

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

progress with PT3 use under Linux with wine

Postby yaqh » Mon Jul 06, 2009 6:16 pm

So, it seems there was some progress working on this problem as of wine 1.1.24: the HUD seems to be a lot closer to behaving correctly. In particular, a screenshot of its current status can be seen at:

http://bugs2.winehq.org/attachment.cgi?id=22224

So, the HUD is a single window called PokerTracker3TableCover which pops up and overlays the poker site's software. Although PT3 itself provides transparency options, they don't seem to work with wine, and the transparency shown in the screenshot was achieved with Compiz (a tool unrelated to wine or to PT3). Now, the idea of the HUD is that the regions of the window which are red in the screenshot display information about the players at the table. The rest of the window, which is black in the screenshot, should not be visible at all. And, of course, when the user clicks on the black portion of the window, the mouse press should be passed on to the poker software behind it. In other words, the black portion of the window should not be there.

So that is the problem with PT3's current behavior in wine: the non-information-containing of the HUD window should be transparent and should not recieve mouse clicks. Now, I imagine that this is implemented in PT3 through some Layered Windows attributes which are not supported by wine. According to http://www.codeproject.com/KB/wtl/transparent.aspx , WS_EX_LAYERED makes the window see-through and WS_EX_TRANSPARENT makes it click-through.

So, what would be really great is if you guys, as PT3 developers, could simply confirm or deny that this is the Windows functionality that the PT3 HUD uses to do its thing. If it is so and we can narrow down the problem, it would be a lot easier to get implemented/fixed. If not, then a pointer in the right direction would also be greatly appreciated.

Thanks.
yaqh
 
Posts: 34
Joined: Sat Mar 01, 2008 5:17 am

Re: progress with PT3 use under Linux with wine

Postby kraada » Tue Jul 07, 2009 8:31 am

We've asked the development team for further comment on this issue - they will be getting back to you.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: progress with PT3 use under Linux with wine

Postby yaqh » Tue Jul 07, 2009 9:19 am

Thanks!
yaqh
 
Posts: 34
Joined: Sat Mar 01, 2008 5:17 am

Re: progress with PT3 use under Linux with wine

Postby Josh » Tue Jul 07, 2009 9:57 am

PT3 uses WS_EX_LAYERED and WS_POPUP. It does not use WS_EX_TRANSPARENT, as any 100% translucent pixels transfer the mouse movements/clicks to the window under the layered window.
Josh
Site Admin
 
Posts: 6222
Joined: Sat Dec 08, 2007 6:03 pm

Re: progress with PT3 use under Linux with wine

Postby yaqh » Tue Jul 07, 2009 5:06 pm

Thanks for your response.

How does the PT3 table cover selectively transfer clicks to the underlying poker window?
yaqh
 
Posts: 34
Joined: Sat Mar 01, 2008 5:17 am

Re: progress with PT3 use under Linux with wine

Postby Josh » Tue Jul 07, 2009 6:24 pm

As I said above, any fully translucent pixels automatically transfer the click to the window under it. PT3 has nothing to do with this, it's the functionality of the layered window itself.
Josh
Site Admin
 
Posts: 6222
Joined: Sat Dec 08, 2007 6:03 pm

Re: progress with PT3 use under Linux with wine

Postby tarix » Tue Jul 07, 2009 11:46 pm

yaqh wrote:How does the PT3 table cover selectively transfer clicks to the underlying poker window?


From http://msdn.microsoft.com/en-us/library/ms632599(VS.85).aspx#layered:

Hit testing of a layered window is based on the shape and transparency of the window. This means that the areas of the window that are color-keyed or whose alpha value is zero will let the mouse messages through.
tarix
Developer
 
Posts: 3760
Joined: Tue May 20, 2008 2:49 pm

Re: progress with PT3 use under Linux with wine

Postby paulgl » Thu Jun 07, 2012 7:58 am

Hi,

I'm going to have a go at getting this working (but don't hold your breath - I will probably not manage). Before I waste effort, could one of the devs confirm that the PT4 hud will (probably) use WS_EX_LAYERED for the transparency / click-though?

Thanks,
Paul
paulgl
 
Posts: 5
Joined: Tue Dec 29, 2009 6:58 am

Re: progress with PT3 use under Linux with wine

Postby kraada » Thu Jun 07, 2012 8:55 am

As far as I know this hasn't changed (and Josh who posted earlier in the thread is the head of the development team).
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: progress with PT3 use under Linux with wine

Postby paulgl » Thu Jun 07, 2012 4:52 pm

Thanks kraada.
paulgl
 
Posts: 5
Joined: Tue Dec 29, 2009 6:58 am


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests