http://bugs.winehq.org/show_bug.cgi?id=23310
Summary: Mouse pointer prevented from leaving virtual desktop window when it shouldn't be Product: Wine Version: 1.2-rc4 Platform: x86 URL: http://www.gamershell.com/download_1721.shtml OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk
With some programs which use full-screen mode, Wine stops the mouse pointer from leaving the window, even when virtual desktop mode is enabled and "Allow DirectX apps to stop the mouse leaving their window" is not selected. I'll describe two such programs.
Airport Tycoon 2 is an airport management simulation game. A demo can be downloaded from http://www.gamershell.com/download_1721.shtml This bug applies to the full game and the demo.
[An alternative version can be downloaded from http://d.trymedia.com/dm/take2/60m_d/t_07om/AirportTycoon2Setup.exe That is apparently a time-limited full version which can be unlocked on payment. Installing IE6 using winetricks could get that to work, but as the demo shows the problem it's not necessary.]
Use winecfg to enable virtual desktop mode, and make sure "Allow DirectX apps to stop the mouse leaving their window" is not checked. Running the game, the pointer is captured so it cannot leave the virtual desktop window. It is therefore difficult or impossible to e.g. move the Wine virtual desktop window. There are also issues when you have another window open and active in front of the virtual desktop (e.g. Alt-Tab to a terminal window). Moving the mouse in that non-Wine window, when the pointer is about to leave it, the pointer is moved to the position corresponding to the centre of the virtual desktop window.
The only console output which might be relevant is this: fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (108,70)-(916,697)
A second program which has this problem is 101 Bunny Pets. A time-limited demo can be downloaded from http://www.selectsoftnow.com/software/info.php?ID=5858 You'll need to install IE6 using winetricks to run the demo after installing it.
This game can be set to run in a window in its options menu, but the default is full-screen. Notice the pointer is captured and the same issue with non-Wine window in front as with Airport Tycoon 2. There didn't seem to be any relevant console output when I ran it.
http://bugs.winehq.org/show_bug.cgi?id=23310
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #1 from Roderick Colenbrander thunderbird2k@gmail.com 2010-06-21 20:03:44 --- I'm not sure if this is a bug at all. The problem is that Wine desktop is a concept which doesn't exist in Windows and hence can get confused by it a lot. In full screen games are the only things around. I believe The dxgrab option is meant for non-wine desktop usage.
http://bugs.winehq.org/show_bug.cgi?id=23310
markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markk@clara.co.uk
--- Comment #2 from markk@clara.co.uk 2010-06-28 12:46:43 --- If it's not a bug, the current implementation is less than ideal, at least. It makes moving the virtual desktop window difficult or impossible. If the user Alt-Tabs away from Wine (so the virtual desktop window loses focus), what Wine could do, is only recapture the mouse when the user clicks inside the virtual desktop window (not when clicking on e.g. the window title bar to drag it).
http://bugs.winehq.org/show_bug.cgi?id=23310
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |00cpxxx@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23310
Robert Zenz Robert.Zenz@bonsaimind.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Robert.Zenz@bonsaimind.org
--- Comment #3 from Robert Zenz Robert.Zenz@bonsaimind.org --- This is still here in the 1.7.x series.
I encountered this when playing Hotel Giant, I put it into a virtual desktop (as the game forces a resolution of 800x600) but it grabs the mouse and limits it to that virtual desktop. An option (or workaround) to disable this sort of behavior would be pretty useful.
https://bugs.winehq.org/show_bug.cgi?id=23310
Fabian fabian.martins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fabian.martins@gmail.com
--- Comment #4 from Fabian fabian.martins@gmail.com --- I have the ssame problem with StarCraft. It seems that happens specially with games.
https://bugs.winehq.org/show_bug.cgi?id=23310
Josh winehq@iooioio.orion.uberspace.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@iooioio.orion.ubersp | |ace.de
--- Comment #5 from Josh winehq@iooioio.orion.uberspace.de --- Also an issue for "Warcraft III: The Frozen Throne". It's pretty annoying because you can't do anything else in parallel to playing the game.
https://bugs.winehq.org/show_bug.cgi?id=23310
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org