http://bugs.winehq.org/show_bug.cgi?id=34725
Bug #: 34725 Summary: Cocoa fullscreen scales the window put keeps the windows resolution Product: Wine Version: 1.7.4 Platform: x86-64 OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: winemac.drv AssignedTo: wine-bugs@winehq.org ReportedBy: f.platte@platte-web.de Classification: Unclassified
Created attachment 46302 --> http://bugs.winehq.org/attachment.cgi?id=46302 Mac Fullscreen Issue - Log File
I just installed TrackMania Nations/United Forever to a new prefix to make use of the new fullscreen feature available for the mac driver. Per default the game enters fullcreen (for me 1680*1050), but sadly not the new fullscreen mode. If I minimize the game again (windowed = 640*480) and than maximize it the (Mountain) Lion style it get's it's one workspace, but only stretches the resolution to fit the screen (still 640*480). I attached the terminal output I received during execution.
http://bugs.winehq.org/show_bug.cgi?id=34725
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@codeweavers.com
--- Comment #1 from Ken Thomases ken@codeweavers.com 2013-10-14 18:13:12 CDT --- Setting aside Cocoa full-screen mode for a moment, when the game is windowed, can you resize the window? Can you zoom it (green '+' button in the title bar)? Does the game respond properly to those actions?
All three of these should behave similarly. When you resize the window, Wine and the game are told the new window size. It's up to the game to determine how it renders its content in the new window. When you zoom the window, it's just like you manually moved and resized it to fill the screen. Similarly, when you use Cocoa full-screen mode, it's very much like you dragged the window to a new space and resized it to exceed the screen size (so it's title bar is off the top of the screen). It's not actually possible for a user to manually resize a window that large, of course, but the behavior inside of the Mac driver is similar to what would happen if it were.
So, we need to figure out if the game responds well to its window being resized.
http://bugs.winehq.org/show_bug.cgi?id=34725
--- Comment #2 from Rastafabi f.platte@platte-web.de 2013-10-14 18:26:40 CDT --- I can resize the window, but it will keep it's default window resolution. I understood how the new fullscreen mode is handled, so it the game does not support result ion changes upon window size there's probably no solution. But as I already mentioned, that the game starts in, let's call it legacy fullscreen mode my question basically should be whether there is a way to redirect those fullscreen calls to the new ones, to provide a cleaner way how this is handled instead of having different attempts how it is solved. I hope it's patchable or at least somehow doable. Another thing I experienced is, that not all of my games running in 1.7.4 allow Lion-fullscreen. There just isn't the arrow up there, not even when I installed them to a new prefix.
http://bugs.winehq.org/show_bug.cgi?id=34725
--- Comment #3 from Ken Thomases ken@codeweavers.com 2013-10-14 18:49:00 CDT --- (In reply to comment #2)
I can resize the window, but it will keep it's default window resolution. I understood how the new fullscreen mode is handled, so it the game does not support result ion changes upon window size there's probably no solution.
Agreed, it sounds like there's no solution for that part.
But as I already mentioned, that the game starts in, let's call it legacy fullscreen mode my question basically should be whether there is a way to redirect those fullscreen calls to the new ones, to provide a cleaner way how this is handled instead of having different attempts how it is solved.
I call this Win32 full-screen mode. There are a couple of differences: 1) Does the Windows program "know" that it's in a full-screen mode or does it think it's windowed and the window is resizable. 2) Do the menu and dock appear when the cursor is moved to the screen edge?
I don't think it's so strange to have different approaches to full-screen mode. I'm sure there are Mac-native games which have a windowed mode which is eligible for Cocoa full-screen and also a separate full-screen mode.
Another thing I experienced is, that not all of my games running in 1.7.4 allow Lion-fullscreen. There just isn't the arrow up there, not even when I installed them to a new prefix.
Correct, not all windows are eligible for Cocoa full-screen. The most likely thing preventing those games from being eligible is that their windows are not resizable. Non-resizable windows are not eligible because Cocoa full-screen operates like resizing. In addition, most owned windows like dialog boxes are not. Most tool windows are not. The general rule is that only windows that would appear on the taskbar under Windows and are also resizable are eligible.
We could make more windows eligible, but that might not help. If a game doesn't allow its window to be resized, then it probably won't work right if the Mac driver resizes it anyway.
http://bugs.winehq.org/show_bug.cgi?id=34725
Rastafabi f.platte@platte-web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from Rastafabi f.platte@platte-web.de 2013-11-23 10:14:29 CST --- Not a wine issue, related to the program running.
http://bugs.winehq.org/show_bug.cgi?id=34725
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2013-11-26 14:56:30 CST --- Closing.