[Bug 23310] New: Mouse pointer prevented from leaving virtual desktop window when it shouldn't be

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 21 15:01:01 CDT 2010


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 at winehq.org
        ReportedBy: markk at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list