From: SourceForge.net <no...@so...> - 2006-08-15 23:46:30
|
Bugs item #1486591, was opened at 2006-05-11 14:48 Message generated for change (Comment added) made by nhnb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=1486591&group_id=1111 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Code Group: None Status: Open Resolution: None Priority: 7 Submitted By: Daniel Herding (wikipedian) Assigned to: Nobody/Anonymous (nobody) Summary: Stendhal: Key auto-repeat switched off system-wide on Linux Initial Comment: Hi, when Stendhal is launched from SUSE Linux, you can no longer keep a key pressed properly, not even in other applications. This means that you can't e.g. scroll properly using the cursor keys in other applications while Stendhal is running. The cause is in client/gui/InGameGUI.java, where the command "xset r off" is explicitly executed on startup and "xset r on" executed on shutdown. The reason someone put that code in there is described in the comment on: http://www.linuxgames.com/news/feedback.php?identiferID=7524&action=flatview , but of course this is a very ugly hack to work around the problem. I guess that at the time the comment was posted (v0.13), Stendhal could still be run in Java 1.4.2. As Java 1.5.0 is now mandatory, someone should check if the mentioned Java bug still affects us; maybe we can throw the workaround out. Otherwise, we should start to think about a cleaner solution. ---------------------------------------------------------------------- >Comment By: Hendrik Brummermann (nhnb) Date: 2006-08-15 23:46 Message: Logged In: YES user_id=990499 fixed in last release. ---------------------------------------------------------------------- Comment By: Daniel Herding (wikipedian) Date: 2006-05-22 21:30 Message: Logged In: YES user_id=880694 Idea for a workaround by hendrik: if you can detect switching to another application, please restore the "xset r" state. ---------------------------------------------------------------------- Comment By: Snaketails (snaketails) Date: 2006-05-21 12:35 Message: Logged In: YES user_id=1410894 A work aroundof holding the key pressed for long periods of time to traverse great distances, I have tried in Winzode and Linux is to pick your direction and while holding that direction, mouse select another window, thus the key is assumed to be still pressed as you are not "focussed" on that window pane... Slight problem with controlling of your character when you return to that window and you have to press the key or another key to get the release nd stop walking, a bit cludgy here and controlling your character is then rather tricky :P ---------------------------------------------------------------------- Comment By: Snaketails (snaketails) Date: 2006-05-16 03:35 Message: Logged In: YES user_id=1410894 I did notice this, but if I was jumping from the game to do something else, I would inevitably get killed while distracted on another application :) ---------------------------------------------------------------------- Comment By: Miguel Angel Blanch Lardin (arianne_rpg) Date: 2006-05-11 22:13 Message: Logged In: YES user_id=3949 No, the bug is present because of the way X server works. As far as I know there is no better solution right now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=1486591&group_id=1111 |