http://bugs.winehq.org/show_bug.cgi?id=31250
Bug #: 31250 Summary: Virtual desktop windows getting decorated on resolution change Product: Wine Version: 1.5.9 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: rmlipman@gmail.com Classification: Unclassified
1. Launch a full screen game with resolution smaller than virtual desktop resolution 2. Virtual desktop window resizes, gets window decorations 3. Close game 4. Virtual desktop resizes back to original size, but remains decorated
I have the "Allow desktop manager to decorate the windows" box unchecked, so I wasn't expecting the virtual desktop to be decorated. It only becomes decorated for me on resolution changes, but remains decorated until I restart wine, even if resolution changes back to the full screen size.
Tested with Sim City 4 and Ys: The Oath in Felghana
http://bugs.winehq.org/show_bug.cgi?id=31250
rmlipman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |401d12085bc897e973badee3260 | |aa41389c63c8e
--- Comment #1 from rmlipman@gmail.com 2012-07-19 00:38:39 CDT --- 401d12085bc897e973badee3260aa41389c63c8e is the first bad commit commit 401d12085bc897e973badee3260aa41389c63c8e Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Jul 13 12:53:11 2012 +0200
winex11: Fix the virtual desktop check in update_desktop_fullscreen().
:040000 040000 7715ae1558216506b568d995076bf091e820d245 b518dc4d5c0d54f8038b9a57e6b3cdc774f595f5 M dlls
http://bugs.winehq.org/show_bug.cgi?id=31250
rmlipman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31250
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2012-07-19 05:18:57 CDT --- That's how it's supposed to work. The "Allow the window manager to decorate the windows" option only applies to application windows, outside a virtual desktop, and means Wine will draw its own decorations for those windows. The virtual desktop not switching back to fullscreen would be a bug, but not a regression unless it worked before. Chances are that's an issue with your window manager though, since it works fine here. If you want the virtual desktop window to be undecorated, you should just use the appropriate configuration in your window manager, it should be trivial in any decent one.
http://bugs.winehq.org/show_bug.cgi?id=31250
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Jerome Leclanche adys.wh@gmail.com 2012-07-19 07:43:30 CDT --- Closing
http://bugs.winehq.org/show_bug.cgi?id=31250
--- Comment #4 from rmlipman@gmail.com 2012-07-19 08:59:55 CDT --- It did work for me before. For anyone else who finds this bug report and has the same problem, what worked for me to bring back the old behavior (fullscreen virtual desktop window, drawn above any menu bars, doesn't get resized on resolution change) was adding these config options to your window manager like Henri said. Here are the config options for Compiz:
Window Decoration: !(class=Wine)
Window Rules: Fullscreen: class=Wine
http://bugs.winehq.org/show_bug.cgi?id=31250
TestSubject sirbubbles01@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sirbubbles01@gmail.com
--- Comment #5 from TestSubject sirbubbles01@gmail.com 2012-08-10 09:59:32 CDT --- (In reply to comment #2)
It's a bit troubling that you believe that this new window decoration behaviour is of no concern. It's been causing me a lot of personal grief ever since 1.5.9 came out. Shouldn't you give people some easy way of turning this behaviour off? And I don't mean some ./configure option during compilation.
http://bugs.winehq.org/show_bug.cgi?id=31250
--- Comment #6 from TestSubject sirbubbles01@gmail.com 2012-08-10 10:03:02 CDT --- (In reply to comment #4)
I don't quite follow there. Making that entry under Window Decoration prevents wine getting resized, but when I launch certain games, ie "Dogfighter", the Unity panel at the top of the screen shows over everything. The Window Rules entry doesn't seem to do anything about that.
http://bugs.winehq.org/show_bug.cgi?id=31250
--- Comment #7 from rmlipman@gmail.com 2012-08-10 10:09:51 CDT --- I use xfce so I don't know how it works in Unity. The window rules I've been using also worked in gnome 2. I'd suggest trying an "Always on top" window rule, but if that doesn't work it might be an Ubuntu specific problem.
http://bugs.winehq.org/show_bug.cgi?id=31250
--- Comment #8 from TestSubject sirbubbles01@gmail.com 2012-08-16 11:02:04 CDT --- After setting compiz to not decorate wine, I still have the Unity title bar showing on top of fullscreen wine games. Ie, I will fire up steam, launch a game, and the title bar will show on top of the game, forcing the wine virtual desktop into a slightly smaller fullscreen window, thus reducing the effective size of the wine window.