http://bugs.winehq.org/show_bug.cgi?id=18296
Summary: DInput has issues with KDE4.2 keyboard input repeat. Product: Wine Version: 1.1.20 Platform: PC-x86-64 URL: http://www.coh.com OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: wine@eternaldusk.com
After upgrading to Kubuntu Jaunty, City of Heroes characters show a horrible staggering when you try move consistently in any direction. The character animation resets at the interval equivalent to the keyboard delay.
So, it's as if the application is seeing you press the key over and over - instead of holding it down.
Turning off keyboard repeat in the system options eliminates this issue. Modifying the delay only slows the initial staggering.
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #1 from Wes Lange wes.lange@yahoo.com 2009-04-29 22:04:55 --- This issue also seems to affect Ubuntu Linux, Jaunty 9.04. Turning off the option for "Key presses repeat when key is held down..." in the Keyboard window under System -> Preferences fixes the issue. Wine version used is 1.01.
http://bugs.winehq.org/show_bug.cgi?id=18296
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-29 22:08:05 --- Obviously a KDE's bug. Wine perfectly copes with repeated key presses. Report to KDE.
http://bugs.winehq.org/show_bug.cgi?id=18296
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-29 22:08:20 --- Closing
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #4 from Evil wine@eternaldusk.com 2009-04-29 22:32:52 --- (In reply to comment #2)
Obviously a KDE's bug. Wine perfectly copes with repeated key presses. Report to KDE.
*sigh*... this is why I'm loath to report wine bugs.
You never even considered that KDE4.2's approach to input just uncovered a wine bug, did you?
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #5 from Evil wine@eternaldusk.com 2009-04-29 22:40:12 ---
BTW... the person above, talking about *Ubuntu* is obviously running Gnome, not KDE.
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #6 from Austin English austinenglish@gmail.com 2009-04-30 02:40:46 ---
(In reply to comment #2)
Obviously a KDE's bug. Wine perfectly copes with repeated key presses. Report to KDE.
*sigh*... this is why I'm loath to report wine bugs.
You never even considered that KDE4.2's approach to input just uncovered a wine bug, did you?
That's possible, but do you have any evidence showing that it's wine's fault? E.g., a KDE bug report that says it's a wine problem? Have you filed a bug with KDE?
(In reply to comment #5)
BTW... the person above, talking about *Ubuntu* is obviously running Gnome, not KDE.
That person was also using a 6 month old version of wine....
http://bugs.winehq.org/show_bug.cgi?id=18296
Christopher B. Wright wrightc@ubersoft.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wrightc@ubersoft.net
--- Comment #7 from Christopher B. Wright wrightc@ubersoft.net 2009-07-07 09:52:35 --- I think closing this bug and branding it as a KDE problem is a little hasty. In the comments section of the City of Heroes game listing there is a comment thread discussing this problem -- specifically that if you disable auto-repeat certain functions of the game start working again (very specifically, using the super jump power). Significantly, the people discussing this bug consist of one KDE user and one Gnome user. Both of us are using Jaunty but are not using the same x environment.
Are both desktop environments doing the same wrong thing to trigger the bug? Probably not -- one theory is that it's the latest version of the xorg server (http://ubuntuforums.org/showthread.php?t=1146254, this thread also contains a patch to wine that claims to fix the problem).
Is it an xorg problem or a wine problem? My prediction is that xorg will claim its a wine problem, and wine will claim its an xorg problem... at any rate, it is NOT specifically a KDE problem and the source of the problem isn't really "obvious" to someone who is noticing it in a windows application.
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-08 19:56:13 --- (In reply to comment #7)
Are both desktop environments doing the same wrong thing to trigger the bug?
Yes. Why is that standard X's key repeat working for everyone but this "special" KDE's way doesn't? Points directly to something that they are doing wrong.
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #9 from Christopher B. Wright wrightc@ubersoft.net 2009-07-08 20:26:36 --- Since this has been reproduced in both KDE and Gnome, why are you still attributing it to some "special" KDE way?
It might, perhaps, be a "special" Jaunty way, since Jaunty seems to be the common refrain.
http://bugs.winehq.org/show_bug.cgi?id=18296
Philip Nilsson leffeman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leffeman@gmail.com
--- Comment #10 from Philip Nilsson leffeman@gmail.com 2009-07-12 04:03:35 --- I run xserver 1.6.1.901 and experience a problem like this with the game Half-Life. I run neither KDE nor Gnome.
The linked patch makes the issue go away.
http://bugs.winehq.org/show_bug.cgi?id=18296
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Component|directx-dinput |winex11.drv Resolution|INVALID | Summary|DInput has issues with |Applications seeing key-up |KDE4.2 keyboard input |events when keys |repeat. |auto-repeat
--- Comment #11 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-12 11:23:28 --- Half-Life doesn't use dinput.
Will reopen to collect duplicates at least.
http://bugs.winehq.org/show_bug.cgi?id=18296
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #12 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-12 11:24:07 --- And confirming
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #13 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-12 11:25:49 --- Created an attachment (id=22342) --> (http://bugs.winehq.org/attachment.cgi?id=22342) Linked patch from Comment #7
Attaching patch here
http://bugs.winehq.org/show_bug.cgi?id=18296
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@araneidae.co.uk
--- Comment #14 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-20 21:27:58 --- *** Bug 18885 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #15 from Michael Abbott michael@araneidae.co.uk 2009-07-21 01:09:54 --- (In reply to comment #2)
Obviously a KDE's bug. Wine perfectly copes with repeated key presses. Report to KDE.
Can confirm this using XFCE, so nothing to do with KDE!
http://bugs.winehq.org/show_bug.cgi?id=18296
Markus Amsler markus.amsler@oribi.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markus.amsler@oribi.org
--- Comment #16 from Markus Amsler markus.amsler@oribi.org 2009-07-22 09:10:54 --- It's a bug in XkbSetDetectableAutoRepeat [1] which hitted upstream recently. As far as I can tell there's still no fix in current xserver git. Perhaps we should hack together a wine fix by comparing the timestamps of KeyPress and KeyRelease.
[1] http://lists.freedesktop.org/archives/xorg/2009-June/045940.html
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #17 from Markus Amsler markus.amsler@oribi.org 2009-07-22 11:18:56 --- Just found the correct xorg bug
http://bugs.freedesktop.org/show_bug.cgi?id=22515
http://bugs.winehq.org/show_bug.cgi?id=18296
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winex11.drv |-unknown Summary|Applications seeing key-up |Applications seeing key-up |events when keys |events when keys |auto-repeat |auto-repeat (not a Wine | |bug)
--- Comment #18 from Dmitry Timoshkov dmitry@codeweavers.com 2009-07-22 20:04:11 --- Probably it's worth to not close this bug as invalid yet to collect duplicate bug reports.
http://bugs.winehq.org/show_bug.cgi?id=18296
Darius Stein darius.stein@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |darius.stein@yahoo.de
--- Comment #19 from Darius Stein darius.stein@yahoo.de 2009-08-09 09:28:00 --- I can confirm the same bug in wine 1.1.27 with an up-to-date Ubuntu 9.04 in Gnome.
Using (System / Preferences /) Keyboard Preferences to disable "Key presses repeat when key is held down" in the Gnome settings solves the problem for the game.
However, one obviously has to switch back when key repeating is needed again; for example when scrolling through text, the lack of it quickly becomes annoying.
http://bugs.winehq.org/show_bug.cgi?id=18296
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fredrik.hultin@gmail.com
--- Comment #20 from Vitaliy Margolen vitaliy@kievinfo.com 2009-09-23 20:46:08 --- *** Bug 20137 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18296
3vi1 winehq.org@eternaldusk.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.org@eternaldusk.com
--- Comment #21 from 3vi1 winehq.org@eternaldusk.com 2009-09-23 20:53:02 --- (In reply to comment #17)
Just found the correct xorg bug
Thank god someone tracked this down to the correct bug. I've seen this with multiple games (Anarchy Online, City of Heroes, etc...), but never knew the exact cause.
Let's see if we can't get it fixed at the source.
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #22 from Markus Amsler markus.amsler@oribi.org 2009-10-01 04:58:43 --- The bug was fixed in xserver some time ago by [1].
[1] http://cgit.freedesktop.org/xorg/xserver/commit/?id=bfb219f532f3c78ba9054243...
http://bugs.winehq.org/show_bug.cgi?id=18296
Peter Seebach winehq@seebs.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@seebs.net
--- Comment #23 from Peter Seebach winehq@seebs.net 2009-10-06 00:54:37 --- Theoretically "fixed" in xserver -- but so far as I know, there is not yet any x.org release which includes the fix, so it doesn't actually HELP anyone yet.
http://bugs.winehq.org/show_bug.cgi?id=18296
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=18296
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kaalund@gmail.com
--- Comment #24 from Dmitry Timoshkov dmitry@codeweavers.com 2009-11-29 23:36:01 --- *** Bug 19067 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18296
jim jimportal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jimportal@gmail.com
--- Comment #25 from jim jimportal@gmail.com 2010-01-03 20:54:48 --- For additional reference:
Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/402206 openSUSE: https://bugzilla.novell.com/show_bug.cgi?id=533609
In theory, since it's fixed at XOrg, it is up to the distributions to pull it in?
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #26 from Peter Seebach winehq@seebs.net 2010-01-03 21:04:38 --- Yes, in theory, it is up to them to pull it in. But they're not going to for a LONG time -- in practice, there's no chance that this will be fixed before Ubuntu 10.04, in April, for instance.
Putting in the workaround for now, or making it at least available as an option, would allow users on actual distributions which exist to use WINE without horrible key repeat problems.
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #27 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-04 00:35:54 --- It's not only Wine which is affected by this X bug. This is not an option to have workarounds for an already fixed bug. Ask your distro to include a fix instead.
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #28 from 3vi1 winehq.org@eternaldusk.com 2010-01-04 09:11:38 --- The new Xorg is in the Ubuntu Lucid repository. I've confirmed that it makes the problem go away while testing with Champions Online.
http://bugs.winehq.org/show_bug.cgi?id=18296
--- Comment #29 from Luke Bratch l_bratch@yahoo.co.uk 2010-01-04 17:02:32 --- Xorg 7 is also available for Gentoo in ~arch and fixes this bug there too.
http://bugs.winehq.org/show_bug.cgi?id=18296
3vi1 winehq.org@eternaldusk.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|winehq.org@eternaldusk.com |
--- Comment #30 from 3vi1 winehq.org@eternaldusk.com 2010-01-06 16:51:58 --- I move that this be closed invalid/wontfix, as this is not truly a Wine bug, and is fixed in the newer Xorg packages.
http://bugs.winehq.org/show_bug.cgi?id=18296
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #31 from Erich Hoover ehoover@mines.edu 2010-01-19 09:52:00 --- *** Bug 21407 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18296
Ralf Jung ralfjung-e@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ralfjung-e@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=18296
edward savage epssyis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |epssyis@gmail.com
--- Comment #32 from edward savage epssyis@gmail.com 2010-03-28 22:57:52 --- *** Bug 22156 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18296
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eg.galano@gmail.com
--- Comment #33 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-01 02:28:52 --- *** Bug 22473 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18296
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yoav.benyosef@gmail.com
--- Comment #34 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-03 02:35:14 --- *** Bug 18251 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18296
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #35 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-03 02:37:16 --- Apparently Ubuntu 10.04 includes a fixed X11, probably other distros will follow this soon enough (if not already).
Marking as invalid.
http://bugs.winehq.org/show_bug.cgi?id=18296
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #36 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-03 02:37:31 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=18296
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nescientia@gmail.com
--- Comment #37 from Vitaliy Margolen vitaliy@kievinfo.com 2010-06-03 20:57:57 --- *** Bug 23016 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18296
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #38 from Austin English austinenglish@gmail.com 2011-04-18 17:17:01 CDT --- *** Bug 26293 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=18296
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vova7890@mail.ru
--- Comment #39 from Zebediah Figura z.figura12@gmail.com --- *** Bug 33296 has been marked as a duplicate of this bug. ***