http://bugs.winehq.org/show_bug.cgi?id=31381
Bug #: 31381 Summary: Temple of Evil - full screen mode "fail", results in a "borderless window" with wrong dimensions Product: Wine Version: 1.5.9 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Goblinstomper@gmail.com Classification: Unclassified
Created attachment 41227 --> http://bugs.winehq.org/attachment.cgi?id=41227 x11 settings trace log
First of all, I'm not very technically minded and I know nothing of the techniques or methodology involved so no special/technical meaning should be inferred from the words I use.
Strange interaction between kde Plasma Panel and Temple of Evil full screen.
To trigger, this must be true: -Plasma panel set to: always visible (this does not normally cause problems for full screen applications, it should only prevent windows from covering it while the desktop is visible) -There must be a panel at either the top or the left-hand side of the screen (not strictly true, but these are the areas most likely to overlap with wine).
-Application must be set to run in full screen -Application must use 3d acceleration -Application need to change between high and low resolutions, such as between movies displaying studio logotypes etc. and the game.
My desktop looks like figure 1. then I launch ToEE.exe
What appears to happen: -Desktop and Screen dimensions are set to the resolution the game is intended to have -Taking a screen shot results in a native resolution (that is, it does not reflect what is actually displayed on the screen) image(figure 2) which is probably unrelated, but does make it harder to illustrate the problem. -Application appears to be rendered in the appropriate resolution, while still not occupying the full screen, it appears as an unmanaged window whos' size does not match up correctly with the resolution. Figure 3 depicts ToEE in the resolution of 1280x1024 on a 1920x1080 desktop - as you can see it comes short in all directions, although height is the worst offender. -Once a "window" has been created for the application, re-sizes do not happen to the degree they should, requiring user intervention. -Trying to alt tab leaves ToEE always on top (it doesn't minimize), as long as ToEE is running, desktop resolution is set to the same resolution. (I don't think this is relevant though)
To avoid triggering the behaviour, perform any of: -Use a virtual desktop -Move the plasma panel so that it doesn't cross applications run with wine; change it to auto hide.
Additional: Disabling intro movies (which I think fixes the "window" size of the game to 1024x768) reduces the problem to as shown by figure 4 (what is displayed on screen) and figure 5 (which is a correct rendition of a 1280x1024 window on a 1920x1080 desktop - although it was supposed to be full screen). Figure 3, 4 and 5 have been doctored to show only what is shown on screen, and may as such be slightly off pixelwise.
It seems to me that something goes wrong when changing resolutions, this is especially annoying with applications defaulting to 640x480, and it seem to involve the top left corner of the screen...
OpenGL renderer string: AMD Radeon HD 6700 Series OpenGL version string: 4.2.11733 Compatibility Profile Context KDE 4.8.4
of the different traces I attempted X11 seemed most promising of actually containing anything useful.