http://bugs.winehq.org/show_bug.cgi?id=23841
Summary: Steam windows (wine) appear tiled in many copies on screen Product: Wine Version: 1.2 Platform: x86 URL: http://store.steampowered.com/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jkohen@users.sourceforge.net
Created an attachment (id=29927) --> (http://bugs.winehq.org/attachment.cgi?id=29927) Multiples copies
The "new" Steam UI running under Wine has a weird effect when run along with a compositing window manager. Instead of one copy of the window, multiple copies appear tiled to the right and down. Only the top-left copy is "solid" in the sense that it's the only one that receives events. Clicking on a copy sends the events to the window below (another application or the desktop). All copies reproduce the changes in the main copy.
I've reproduced this with Gnome-Shell, plain Mutter, and Metacity in compositing mode. Metacity with compositing mode disabled doesn't exhibit this problem.
I'm attaching a screeshot made with Gnome Shell. Metacity shows a different effect: instead of the extra copies, it shows filled black.
Curiously in the "expose" mode of Gnome Shell (i.e. when the desktop is zoomed out) the window appears correctly. I haven't tried similar features of the other window managers.
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #1 from Javier Kohen jkohen@users.sourceforge.net 2010-07-30 12:06:10 --- Note that this happens with all the Steam windows, but not with any other application I've tried.
http://bugs.winehq.org/show_bug.cgi?id=23841
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Steam windows (wine) appear |Steam windows appear tiled |tiled in many copies on |in many copies on screen |screen |with compositing enabled.
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2010-08-23 15:53:37 --- I can't reproduce this, but I have a theory. Does it still happen if you configure --without-xshape ?
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #3 from Javier Kohen jkohen@users.sourceforge.net 2010-08-24 13:34:25 --- (In reply to comment #2)
I can't reproduce this, but I have a theory. Does it still happen if you configure --without-xshape ?
Indeed this gets rid of the problem, though I get the WM's decoration around the window.
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #4 from Vincent Povirk madewokherd@gmail.com 2010-08-24 13:42:49 --- This is probably a window manager bug. Maybe I'll write a simple testcase later.
The X shape extension is used to create non-rectangular windows. Windows has a similar feature. In both cases, the program supplies a region for the window's shape. Both drawing and interaction are restricted to the intersection of that region and the window's "natural" region (the rectangle it would normally occupy).
I happen to know that the new Steam GUI sets a very large region for its windows, basically (0,0)-(INT_MAX,INT_MAX), which should be the same as not setting a custom shape at all. This triggered a bug in Wine that made the region 0 size, which is why the Steam windows used to be invisible. Wine now correctly sets that large region.
My guess is that these compositing window managers are not intersecting the X shape region with the window's rectangle when they draw it.
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #5 from Javier Kohen jkohen@users.sourceforge.net 2010-08-24 14:42:35 --- I've opened bugs upstream. We'll see what the developers say: Metacity: https://bugzilla.gnome.org/show_bug.cgi?id=627879 Mutter: https://bugzilla.gnome.org/show_bug.cgi?id=627880
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #6 from Vincent Povirk madewokherd@gmail.com 2010-08-24 17:57:50 --- Created an attachment (id=30366) --> (http://bugs.winehq.org/attachment.cgi?id=30366) test case attempt 1
Here's a first attempt at a test case.
This program creates a window and gives it a shape that is partially outside the window's bounding rectangle.
Unlike steam, the window is still decorated. I may need to fix that before you'll get an identical result.
While I still don't see anything outside the window with compositing metacity, moving the window creates a very interesting effect.
http://bugs.winehq.org/show_bug.cgi?id=23841
Andras Kovacs andras@csevego.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andras@csevego.net
--- Comment #7 from Andras Kovacs andras@csevego.net 2010-08-26 03:07:23 --- I think the problem is in GameOverlayRenderer.dll. Quick workaround: start steam, then rename GameOverlayRenderer.dll to something else, then start games. If GameOverlayRenderer.dll is enabled, games freezes with previously mentioned exception. GameOverlayRenderer.log says (last lines): (...) Thu Aug 26 07:54:12 2010 UTC - Found GetModuleHandleEx Thu Aug 26 07:54:12 2010 UTC - DirectInput8Create hook called, 1fa56a8 --- I think the exception occurs when steam tries to hook DirectInput8 calls. Disabling Steam In-game community does not solve the problem.
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #8 from Javier Kohen jkohen@users.sourceforge.net 2010-08-26 10:58:37 --- (In reply to comment #7)
I think the problem is in GameOverlayRenderer.
Andras, while your comment is relevant to my interests, I believe you updated the wrong bug.
http://bugs.winehq.org/show_bug.cgi?id=23841
Jonathan Strander mblackwell1024@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mblackwell1024@gmail.com
--- Comment #9 from Jonathan Strander mblackwell1024@gmail.com 2011-01-22 12:38:11 CST --- Can still see this bug using current versions of Wine and Gnome Shell.
http://bugs.winehq.org/show_bug.cgi?id=23841
revcompgeek+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |revcompgeek+winehq@gmail.co | |m
--- Comment #10 from revcompgeek+winehq@gmail.com 2011-04-08 23:12:45 CDT --- This bug is still visible in the Gnome 3 Shell. Is there a reason this bug is still Unconfirmed?
http://bugs.winehq.org/show_bug.cgi?id=23841
wickedpheonix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wickedpheonix@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23841
Jasper St. Pierre jstpierre@mecheye.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jstpierre@mecheye.net
--- Comment #11 from Jasper St. Pierre jstpierre@mecheye.net 2011-05-14 23:23:34 CDT --- I just attached a patch to the mutter bug, which resolves the issue.
http://bugs.winehq.org/show_bug.cgi?id=23841
Brock twunknown@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |twunknown@gmail.com
--- Comment #12 from Brock twunknown@gmail.com 2011-05-14 23:46:37 CDT --- *** Bug 27120 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #13 from Brock twunknown@gmail.com 2011-05-14 23:48:07 CDT --- I had reported the same problem, I've marked the bug as a duplicate of this bug. I'll try out the mutter patch and see how it all goes. Good work :)
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #14 from Jasper St. Pierre jstpierre@mecheye.net 2011-05-25 21:44:12 CDT --- Created an attachment (id=34899) --> (http://bugs.winehq.org/attachment.cgi?id=34899) test case 2
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #15 from Jasper St. Pierre jstpierre@mecheye.net 2011-05-25 21:44:41 CDT --- (In reply to comment #10)
This bug is still visible in the Gnome 3 Shell. Is there a reason this bug is still Unconfirmed?
Because it's not a wine bug.
(In reply to comment #6)
Created an attachment (id=30366)
--> (http://bugs.winehq.org/attachment.cgi?id=30366) [details]
test case attempt 1
Here's a first attempt at a test case.
This program creates a window and gives it a shape that is partially outside the window's bounding rectangle.
Unlike steam, the window is still decorated. I may need to fix that before you'll get an identical result.
While I still don't see anything outside the window with compositing metacity, moving the window creates a very interesting effect.
Thanks for the test case (one without window decorations is attached) ... unfortunately, while your test case works perfectly with my mutter patches, Steam still has some issues:
1) Windows often only work correctly if they've been shown before... otherwise they'll have the same tiling problem they did before.
2) Resizing is horribly broken. Resizing with the handle inside the window has some serious problems, and resizing with the border seems to have the same sort of tiling effect until it has to redisplay the entire window.
Do you know of anything Wine or Steam do that could cause these problems?
http://bugs.winehq.org/show_bug.cgi?id=23841
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23841
Rodrigo rod085@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #16 from Rodrigo rod085@gmail.com 2011-06-04 15:34:58 CDT --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=23841
Vidar Haarr vhaarr+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vhaarr+wine@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23841
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jakob@knugen.nu
--- Comment #17 from Vincent Povirk madewokherd@gmail.com 2011-07-06 14:04:46 CDT --- *** Bug 27523 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #18 from Jasper St. Pierre jstpierre@mecheye.net 2011-07-06 14:11:25 CDT --- OK, I fixed the gnome-shell bug upstream, and it's in 3.1.3.
http://bugs.winehq.org/show_bug.cgi?id=23841
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #19 from Dan Kegel dank@kegel.com 2011-07-06 15:28:28 CDT --- So, invalid?
http://bugs.winehq.org/show_bug.cgi?id=23841
--- Comment #20 from Jasper St. Pierre jstpierre@mecheye.net 2011-07-06 16:00:33 CDT --- Yes, invalid.
http://bugs.winehq.org/show_bug.cgi?id=23841
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #21 from Dan Kegel dank@kegel.com 2011-07-06 16:02:14 CDT --- Bam.
http://bugs.winehq.org/show_bug.cgi?id=23841
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Austin English austinenglish@gmail.com 2011-07-07 16:15:20 CDT --- Closing.