http://bugs.winehq.org/show_bug.cgi?id=21092
Summary: Call of duty4 modern warface doesnt receive correct mouse input Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ergo14@gmail.com
Call of duty4 modern warface doesnt receive correct mouse input.
Ie, i cant ether mouselook , or choose options in menu, when i hover cursor over option, the game doesnt highlight option or allow to do anything - in version 1.1.34 this works fine.
Whats even more interesting the buttons work - ie. i can shoot with left button or aim with right button.
http://bugs.winehq.org/show_bug.cgi?id=21092
Marcin ergo14@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Call of duty4 modern |Call of duty4 modern |warface doesnt receive |warfare doesnt receive |correct mouse input |correct mouse input
http://bugs.winehq.org/show_bug.cgi?id=21092
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #1 from Wylda wylda@volny.cz 2009-12-20 09:16:15 --- I did fresh installation. When run for first time, game asks for profile name. I enter some text, but "OK" button is inactive...
1. Confirming, please consider UNCONFIRMED->NEW and KEYWORDS: +REGRESSION
2. Did a regression test between 1.1.34 and 1.1.35:
c24e48d937cfd0000a22af555a920ea7fab71d7b is first bad commit commit c24e48d937cfd0000a22af555a920ea7fab71d7b Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Dec 14 20:49:53 2009 +0100
wined3d: Filter window messages generated by switching to fullscreen and back.
:040000 040000 4cd0938c1bf4a1e0f3bb09ba258447f0fe5a98ed 0b78d24d9ff77e030eac2e39d3822ba28da2e6ff M dlls
3. There are another bug reports suffering from this commit, see bug 21025 and bug 21088.
4. Revert of this patch after git-checkout makes that problem goes away.
5. Adding author of this patch to CC, but as was discused in bug 21025, this commit just uncovered some hidden bug in area "controled" ;) by Stefan. So CC Stefan, because Henri says that ;-))
--private keyword: bisected
http://bugs.winehq.org/show_bug.cgi?id=21092
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21092
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2009-12-20 12:32:28 --- (In reply to comment #1)
- Adding author of this patch to CC, but as was discused in bug 21025, this
commit just uncovered some hidden bug in area "controled" ;) by Stefan. So CC
Yes, but I doubt this game uses ddraw, so this is probably a different issue, possibly the same as bug 21088.
http://bugs.winehq.org/show_bug.cgi?id=21092
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ajsb@vfemail.net
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-20 12:37:44 --- *** Bug 21075 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21092
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-20 13:14:03 --- Confirming
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #5 from Stefan Dösinger stefandoesinger@gmx.at 2009-12-20 13:35:05 --- It's possible that the game uses ddraw to query the video memory, and while doing that expects some window messages. Can you collect a +ddraw log? If that doesn't show up anything it is most likely not ddraw related.
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #6 from Henri Verbeet hverbeet@gmail.com 2009-12-20 13:47:26 --- It's probably much more interesting to look at what messages are actually filtered by changing the relevant TRACE in swapchain_process_message() to a FIXME or something. You're probably looking for something like WM_ACTIVATE (0x6) or WM_SETFOCUS (0x7).
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #7 from Wylda wylda@volny.cz 2009-12-20 13:51:58 --- Created an attachment (id=25311) --> (http://bugs.winehq.org/attachment.cgi?id=25311) console log from wine-1.1.35
(In reply to comment #5)
It's possible that the game uses ddraw to query the video memory, and while doing that expects some window messages. Can you collect a +ddraw log? If that doesn't show up anything it is most likely not ddraw related.
I took that log from wine-1.1.35. Should not i do that rather from working 1.1.34?
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #8 from Wylda wylda@volny.cz 2009-12-20 13:54:45 --- (In reply to comment #6)
It's probably much more interesting to look at what messages are actually filtered by changing the relevant TRACE in swapchain_process_message() to a FIXME or something. You're probably looking for something like WM_ACTIVATE (0x6) or WM_SETFOCUS (0x7).
OK, i guess i need some patch for that. Can you provide?
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #9 from Wylda wylda@volny.cz 2009-12-20 14:03:11 ---
BTW that horribly incorrect hack ;) at bug 21025#c2 does not work for CoD MW.
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #10 from Henri Verbeet hverbeet@gmail.com 2009-12-20 14:10:12 --- (In reply to comment #8)
(In reply to comment #6)
It's probably much more interesting to look at what messages are actually filtered by changing the relevant TRACE in swapchain_process_message() to a FIXME or something. You're probably looking for something like WM_ACTIVATE (0x6) or WM_SETFOCUS (0x7).
OK, i guess i need some patch for that. Can you provide?
Just create a "+win,+d3d" log actually, should be just as easy.
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #11 from Wylda wylda@volny.cz 2009-12-20 14:22:59 --- (In reply to comment #10)
Just create a "+win,+d3d" log actually, should be just as easy.
Ahh, Exeede limit only by 59kb. So putting it elsewhere.
I blindly choosed https://www.dropboks.com/. Username: wylda@volny.cz and random password: wylda7476
look for file: cod4_mw_console_log_win_d3d.txt.bz2
http://bugs.winehq.org/show_bug.cgi?id=21092
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=21092
Tommy tommys147@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tommys147@gmail.com
--- Comment #12 from Tommy tommys147@gmail.com 2009-12-20 15:34:39 --- (In reply to comment #11)
(In reply to comment #10)
Just create a "+win,+d3d" log actually, should be just as easy.
Ahh, Exeede limit only by 59kb. So putting it elsewhere.
I blindly choosed https://www.dropboks.com/. Username: wylda@volny.cz and random password: wylda7476
look for file: cod4_mw_console_log_win_d3d.txt.bz2
This is probably going to sound noobish, but what do you do with the .txt file once you have it?
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #13 from Wylda wylda@volny.cz 2009-12-20 15:50:14 --- (In reply to comment #12)
This is probably going to sound noobish, but what do you do with the .txt file once you have it?
I usualy read TXT files ;-) But don't worry. I can't read mentioned TXT file. It's feedback for developers, who asked for it (they usually asks when they do not own that application/game, otherwise they would generate these files themselves).
So this particular TXT file is useless for common users and of course usless for me, even if i creare it.
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #14 from Tommy tommys147@gmail.com 2009-12-20 16:09:52 --- (In reply to comment #13)
(In reply to comment #12)
This is probably going to sound noobish, but what do you do with the .txt file once you have it?
I usualy read TXT files ;-) But don't worry. I can't read mentioned TXT file. It's feedback for developers, who asked for it (they usually asks when they do not own that application/game, otherwise they would generate these files themselves).
So this particular TXT file is useless for common users and of course usless for me, even if i creare it.
oh... so how does the file I downloaded of the dropboks site work? How do I use it as a patch?
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #15 from Austin English austinenglish@gmail.com 2009-12-20 19:52:13 --- (In reply to comment #14)
(In reply to comment #13)
(In reply to comment #12)
This is probably going to sound noobish, but what do you do with the .txt file once you have it?
I usualy read TXT files ;-) But don't worry. I can't read mentioned TXT file. It's feedback for developers, who asked for it (they usually asks when they do not own that application/game, otherwise they would generate these files themselves).
So this particular TXT file is useless for common users and of course usless for me, even if i creare it.
oh... so how does the file I downloaded of the dropboks site work? How do I use it as a patch?
It's a log file, not a patch.
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #16 from Henri Verbeet hverbeet@gmail.com 2009-12-21 08:46:40 --- Created an attachment (id=25338) --> (http://bugs.winehq.org/attachment.cgi?id=25338) patch
Does the attached patch make any difference?
http://bugs.winehq.org/show_bug.cgi?id=21092
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
--- Comment #17 from Rosanne DiMesio dimesio@earthlink.net 2009-12-21 10:41:34 --- (In reply to comment #16)
Created an attachment (id=25338)
--> (http://bugs.winehq.org/attachment.cgi?id=25338) [details]
patch
Does the attached patch make any difference?
The patch fixes the problem with Civ 4 (originally reported as bug 21088, closed as duplicate of 21025).
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #18 from Wylda wylda@volny.cz 2009-12-22 05:10:08 --- (In reply to comment #16)
Created an attachment (id=25338)
--> (http://bugs.winehq.org/attachment.cgi?id=25338) [details]
patch
Does the attached patch make any difference?
Yes, after applying to wine-1.1.35-56-g13a9c03 also solves CoD4 MW. Thank you Henri.
BTW: I notice a workaround for CoD4 under 1.1.35. When menu buttons are not active, just Alt+TAB to different app and then Alt+TAB to back to CoD4 and menu is working again - so it was some kind of focus problem (and it's also obvious from your patch).
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #19 from Marcin ergo14@gmail.com 2009-12-22 10:57:18 --- i can confirm that lastest patch from Henri, fixes the issue for me.
http://bugs.winehq.org/attachment.cgi?id=25338
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #20 from Henri Verbeet hverbeet@gmail.com 2009-12-22 12:14:13 --- I sent some patches for this, http://www.winehq.org/pipermail/wine-patches/2009-December/083122.html and http://www.winehq.org/pipermail/wine-patches/2009-December/083121.html. A perhaps unfortunate side-effect might be that some of the applications affected by bug 21025 will start working, but that bug isn't fixed until the tests from http://www.winehq.org/pipermail/wine-patches/2009-December/082895.html pass without todo_wine.
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #21 from Henri Verbeet hverbeet@gmail.com 2009-12-28 04:42:51 --- Does this still happen with current git? Should be fixed by a0aa10eb5c7cc8ce3fd01776c3caff36e57876f4 and b49e684f5d2447171589acccb37ffee81ffffbe2.
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #22 from Marcin ergo14@gmail.com 2009-12-28 05:09:48 --- I can confirm that COD4 works fine with current git.
http://bugs.winehq.org/show_bug.cgi?id=21092
--- Comment #23 from Rosanne DiMesio dimesio@earthlink.net 2009-12-28 06:41:08 --- Civ 4 works with current git.
http://bugs.winehq.org/show_bug.cgi?id=21092
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #24 from Austin English austinenglish@gmail.com 2009-12-28 11:37:37 --- Reported fixed, twice.
http://bugs.winehq.org/show_bug.cgi?id=21092
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmbohdan@gmail.com
--- Comment #25 from Austin English austinenglish@gmail.com 2010-01-04 00:16:30 --- *** Bug 21246 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21092
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #26 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-06 00:31:49 --- *** Bug 21185 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21092
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #27 from Jeff Zaroyko jeffz@jeffz.name 2010-01-09 04:55:21 --- Closing bugs fixed in 1.1.36.
http://bugs.winehq.org/show_bug.cgi?id=21092
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b49e684f5d2447171589acccb37 | |ffee81ffffbe2 Regression SHA1| |c24e48d937cfd0000a22af555a9 | |20ea7fab71d7b
https://bugs.winehq.org/show_bug.cgi?id=21092
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |directx-d3d