http://bugs.winehq.org/show_bug.cgi?id=16567
Summary: moving mouse outside the wine virtual desktop causes crash in FastBltNoTrans() Product: Wine Version: 1.0.1 Platform: PC OS/Version: Windows XP Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: stephanecharette@gmail.com
Installed the game "Nancy Drew: Stay Tuned For Danger". Installation and game start seems to work well. But the mouse icon is customized for the game, and changes depending on whether there is an object under the mouse with which you can interact.
If at any point during the game the mouse is moved outside the wine virtual dekstop, the game immediately crashes with the following Windows dialog window:
----------------------- FastBltNoTrans() - err ret = 88760096, pDescription = Dirty Rect Fast Blt, rSrcRect: t=158, b=198, l=-5, r=25, dwDestX=-5, dwDestY=158 - DDERR_INVALIDRECT - Rectangle provided was invalid. -----------------------
I added it to AppDB here:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=14880
I also have an earlier forum posting here with several other details:
http://forum.winehq.org/viewtopic.php?t=3190
http://bugs.winehq.org/show_bug.cgi?id=16567
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal OS/Version|Windows XP |other
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-12-18 23:19:30 --- Please try with 1.1.10.
http://bugs.winehq.org/show_bug.cgi?id=16567
--- Comment #2 from Stéphane Charette stephanecharette@gmail.com 2008-12-19 02:44:00 --- As I was asked, upgraded to Wine 1.1.10. Problem is solved if the mouse goes off the virtual desktop to the right or bottom of the screen.
But problem (crash) still exists if the mouse goes off the Wine virtual desktop to the left or the top. Dialog window is the same, except for the coordinates:
-------------------- Left-side-crash:
FastBltNoTrasn() - err ret=88760096, pDescription=Dirty Rect Fast Blt, rSrcRect: t=299, b=339, l=-28, r=2, dwDestX=-28, dwDestY=299 - DDERR_INVALIDRECT - Rectangle provided was invalid. --------------------
Top-side-crash:
FastBltNoTrans() - err ret=88760096, pDescription=Dirty Rect Fast Blt, rSrcRect: t=-1, b=39, l=341, r=371, dwDestX=341, dwDestY=-1 - DDERR_INVALIDRECT - Rectangle provided was invalid. --------------------
To be more precise, on the bottom and right side of the game window, the captured Windows mouse cursor cannot "leave" the window. If I go past the border, the Windows mouse cursor remains trapped at the edge of the window while the linux X mouse cursor re-appears for me to interact with other X applications.
This looks impressive, and seems to work great for the bottom and right border.
But, the same is not true with either the left border or top borders. The mouse is not limited by the window border, and if I go too far the game immediately crashes.
http://bugs.winehq.org/show_bug.cgi?id=16567
--- Comment #3 from Austin English austinenglish@gmail.com 2009-06-30 11:39:49 --- Is this still an issue in current (1.1.24 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=16567
Racecar 56 littleracecar56nascar@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |littleracecar56nascar@yahoo | |.com
--- Comment #4 from Racecar 56 littleracecar56nascar@yahoo.com 2009-07-25 10:55:10 --- I tried this with Wine 1.1.26 and it doesn't happen.
http://bugs.winehq.org/show_bug.cgi?id=16567
--- Comment #5 from Racecar 56 littleracecar56nascar@yahoo.com 2009-07-25 11:14:20 --- Actually, it does.
http://bugs.winehq.org/show_bug.cgi?id=16567
Lauri Kenttä lauri.kentta@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lauri.kentta@gmail.com
--- Comment #6 from Lauri Kenttä lauri.kentta@gmail.com 2010-01-15 13:31:55 --- I've not seen this crash, but it's no wonder if some games crash when the mouse position goes negative.
There's a related problem with border scrolling. Many games check for mouse coordinates to detect screen edges (left: x=0; top: y=0; right: x=w-1; bottom: y=h-1). Scrolling is next to impossible, because the "screen edge" is one pixel wide.
It would be great if the mouse position was snapped to the desktop edge, like so: x = max(0, min(x, w - 1)); y = max(0, min(y, h - 1));
If the current behaviour is useful or necessary for some applications, this should probably be configurable in the registry. Or this could depend on whether there's a full-screen application on the virtual desktop; I'm quite sure they don't expect the mouse to leave the application window.
http://bugs.winehq.org/show_bug.cgi?id=16567
--- Comment #7 from Austin English austinenglish@gmail.com 2011-10-01 15:09:57 CDT --- This is your friendly reminder that there has been no bug activity for 1 year. Is this still an issue in current (1.3.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=16567
Martin Fontaigne martinrs@softhome.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martinrs@softhome.net
--- Comment #8 from Martin Fontaigne martinrs@softhome.net 2012-10-28 22:42:07 CDT --- This is still an issue. I'm using 32-bit wine-1.5.14 in Fedora 14 x86_64. It works fine in full screen mode.
I can confirm that "Nancy Drew Secrets Can Kill" and "Nancy Drew Stay Tuned for Danger" both exhibit the same problem. Both are old versions (not the remastered).
The bug#21807 may be another Nancy Drew game with the same problem, so it could be related only to Nancy Drew series.
I wonder if there is a way to not post any mouse events to wine game when it goes off the wine desktop.
http://bugs.winehq.org/show_bug.cgi?id=16567
--- Comment #9 from racecar56@gmx.com 2012-11-02 14:53:59 CDT --- My gosh, it's almost been four years already!
http://bugs.winehq.org/show_bug.cgi?id=16567
lue rnddim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rnddim@gmail.com
--- Comment #10 from lue rnddim@gmail.com --- I can confirm this issue still occurs in Wine 1.6 (64-bit) for the game "Nancy Drew: Curse of Blackmoor Manor". Up & left break, down & right don't.
I should note that I don't always get the FastBltNoTrans() dialog, sometimes it's instead the standard "X has encountered a problem and needs to close" dialog. I *think* the difference is caused by "mouse goes beyond virtual desktop window before being read again" (FastBltNoTrans dialog) vs. "mouse on WM decorations before being read again" (Standard dialog). I don't know if the standard dialog is caused by the same issue as the more specialized one.
The kicker is that the mouse (both the drawn one and thus your actual one) starts off in the top-left corner of the screen on the main menu, so making the smallest of wrong moves will end your game. Having the window in the top-left corner doesn't help much then, considering both this and the window decorations.
I've seen this mouse relocation thing occur on the "new games" screen (where you choose the difficulty) as well. It tends to become an issue when you would normally move your mouse upward or leftward after getting to a screen (notably, after clicking "MENU" in-game to get to the main menu).
Interestingly, this problem only occurs on screens that relocate the mouse. During the actual game, for instance, no error occurs for moving the mouse out-of-bounds in any direction. I hope this last bit helps narrow it down quite a bit.
I was unable to use the game's windowed mode (accessible from Game.ini at least) to test further, but presumably these issues don't happen there.
Let me know if you need to see additional logs from my end.
https://bugs.winehq.org/show_bug.cgi?id=16567
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|other |Linux
--- Comment #11 from Austin English austinenglish@gmail.com --- Is this still an issue in current (1.7.36 or newer) wine? If so, please attach terminal output.
https://bugs.winehq.org/show_bug.cgi?id=16567
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|moving mouse outside the |Nancy Drew point-and-click |wine virtual desktop causes |adventure game series: |crash in FastBltNoTrans() |moving mouse outside the | |wine virtual desktop causes | |crash in FastBltNoTrans()
https://bugs.winehq.org/show_bug.cgi?id=16567
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gaming4jc2@yahoo.com
--- Comment #12 from Anastasius Focht focht@gmx.net --- *** Bug 21807 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=16567
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #13 from winetest@luukku.com --- Is there any download that could replicate the issue? Or could someone retest?
https://bugs.winehq.org/show_bug.cgi?id=16567
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #14 from fjfrackiewicz@gmail.com --- (In reply to winetest from comment #13)
Is there any download that could replicate the issue? Or could someone retest?
I have a couple of Nancy Drew games on hand I can test with Wine 2.0-rc5. PLease give me some time :)
https://bugs.winehq.org/show_bug.cgi?id=16567
Scott Weldon public@scott-weldon.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |public@scott-weldon.com
--- Comment #15 from Scott Weldon public@scott-weldon.com --- I can confirm that this bug is still valid for Wine 2.11.
I installed Nancy Drew: Treasure in the Royal Tower, and enabled the virtual desktop. When moving the mouse off the top or left edge of the window, I either get the "FastBltNoTrans" error, or the "this program has encountered a problem and needs to close" dialog, both resulting in the game closing. No crash when moving off the bottom or right edge, and the cursor is relinquished to the OS as expected.
I'd also like to note that I haven't had much success with running the game fullscreen; when I've tried this it usually ends up freezing the entire desktop and I have to kill the process from a TTY or an SSH session. Thus, enabling the virtual desktop is my only option at present.
https://bugs.winehq.org/show_bug.cgi?id=16567
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #16 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with vanilla wine-6.21?