https://bugs.winehq.org/show_bug.cgi?id=54431
Bug ID: 54431 Summary: Using alt+tab to switch away from Final Fantasy XI causes keyboard keys to remain pressed Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dinput Assignee: wine-bugs@winehq.org Reporter: chiitoo@gentoo.org Distribution: ---
After ca2a44bd76a [1], using alt+tab to switch to another window from Final Fantasy XI causes any keys that were pressed to remain pressed until switching back to its window, and pressing and releasing that particular key or keys again.
Currently using LXQt with KWin, and haven't had the chance yet to test with other DE/WM combinations in case that matters.
1. https://source.winehq.org/git/wine.git/commitdiff/ca2a44bd76a0e20e3443b9ba32...
https://bugs.winehq.org/show_bug.cgi?id=54431
Chiitoo chiitoo@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |ca2a44bd76a0e20e3443b9ba323 | |7a0b5a99ce020 URL| |https://web.archive.org/web | |/20210810150839/http://www. | |playonline.com/ff11eu/downl | |oad/media/install_win.html Keywords| |download, regression Distribution|--- |Gentoo
https://bugs.winehq.org/show_bug.cgi?id=54431
Chiitoo chiitoo@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |8.1
https://bugs.winehq.org/show_bug.cgi?id=54431
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #1 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 74011 --> https://bugs.winehq.org/attachment.cgi?id=74011 patch
Sorry for the regression, could you try the attached patch if it fixes it?
https://bugs.winehq.org/show_bug.cgi?id=54431
Chiitoo chiitoo@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #2 from Chiitoo chiitoo@gentoo.org --- No sorries. :)
Yes, the attached patch restores normality.
Not sure if interesting or not, but it also causes a bunch of these to be printed when doing the altTab (to or/and from the application):
err:seh:KiUserCallbackDispatcher ignoring exception
Many thanks!
https://bugs.winehq.org/show_bug.cgi?id=54431
--- Comment #3 from Chiitoo chiitoo@gentoo.org --- Oh, additionally, it might cause a bigger issue when exiting from the game back to the "launcher" application:
err:sync:RtlpWaitForCriticalSection section 7BC6C440 "/[wineBuildPath]/dlls/ntdll/loader.c: loader_section" wait timed out in thread 03f8, blocked by 00d0, retrying (60 sec)
And then it's stuck there with a black screen, hmmm...
https://bugs.winehq.org/show_bug.cgi?id=54431
--- Comment #4 from Rémi Bernon rbernon@codeweavers.com --- I think this should be fixed after b3aea08c319f4b52afba141d10a0dfac92880c15, could you confirm?
https://bugs.winehq.org/show_bug.cgi?id=54431
Chiitoo chiitoo@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Using alt+tab to switch |Switching active window |away from Final Fantasy XI |(alt+tab or otherwise) away |causes keyboard keys to |from Final Fantasy XI |remain pressed |causes keyboard keys to | |remain pressed
--- Comment #5 from Chiitoo chiitoo@gentoo.org --- (In reply to Rémi Bernon from comment #4)
I think this should be fixed after b3aea08c319f4b52afba141d10a0dfac92880c15, could you confirm?
Seems to have the same effect as the attached patch; it fixes the window changing/keys, but the game hangs indefinitely on exit:
[...] 00dc:err:seh:KiUserCallbackDispatcher ignoring exception 00dc:err:seh:KiUserCallbackDispatcher ignoring exception 00dc:err:seh:KiUserCallbackDispatcher ignoring exception 00dc:err:seh:KiUserCallbackDispatcher ignoring exception 00dc:err:seh:KiUserCallbackDispatcher ignoring exception 00dc:err:seh:KiUserCallbackDispatcher ignoring exception 00d4:fixme:msvcrt:__clean_type_info_names_internal (04813340) stub 03d4:err:sync:RtlpWaitForCriticalSection section 7BC6D3C0 "/[build/path]/dlls/ntdll/loader.c: loader_section" wait timed out in thread 03d4, blocked by 00d4, retrying (60 sec) [...]
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=54431
--- Comment #6 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 74043 --> https://bugs.winehq.org/attachment.cgi?id=74043 More fixes
Does this patch fix these remaining problems?
https://bugs.winehq.org/show_bug.cgi?id=54431
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74043|0 |1 is patch| | Attachment #74043|application/mbox |text/plain mime type| |
https://bugs.winehq.org/show_bug.cgi?id=54431
--- Comment #7 from Chiitoo chiitoo@gentoo.org --- (In reply to Rémi Bernon from comment #6)
Created attachment 74043 [details] More fixes
Does this patch fix these remaining problems?
Yes, indeed.
Looking good so far.
Thanks again!
https://bugs.winehq.org/show_bug.cgi?id=54431
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e5c540c59b5642254b6e5731a93 | |d3eeba543be7b Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #8 from Rémi Bernon rbernon@codeweavers.com --- Should be fixed after e5c540c59b5642254b6e5731a93d3eeba543be7b
https://bugs.winehq.org/show_bug.cgi?id=54431
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.2.