-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various isses with movement inputs persisting through the chatbox #2833
Comments
One additional (if barely different) case: immediately after opening the chat box with Pinging @ThompsonTyler due to extensive research on potentially adding modifier key support requested in #2551, also a includes a great summary of involved classes - #2551 (comment) - curious if it rings a bell or additional feedback/ideas may be available :-) |
Will take a look, see if I can see anything. (Sorry bout the absence lately, messed up my hand and gotta do everything 1 handed atm) Was able to replicate all problems other than Cervators(Not sure if I am understand it wrong, but if I open chat box and press was or d I don't see any movement) Also problem 3 I wasn't able to replicate (holding forward/back preventing chat from opening) |
Ah, yes, after some more testing I think issue 3 is due to my keyboard not sending all of the signals at once (it gives the same results in the terminal). Nothing wrong with the game there :P I have been able to replicate Cervator's, but it only happens when the chat window starts out empty. If there's already writing in it, the command won't make you move. Additionally, if you empty the window without leaving it (either backspacing all the way, or hitting enter in the command window), the first press after that will make you move too. Other buttons, such as spacebar to jump, don't seem to be able to be pressed in this way. |
Fix part of issue MovingBlocks#2833 (Various isses with movement inputs persisting through the chatbox) where the first letter typed into an empty chatbox was causing the player to move. This was caused by the event falling through to the normal event system, because a path was not marked with eventHandled = true.
Got a fix going for 1, 2, 4, and 6. (Could fix 5, but want to ask around in irc about something that seems weird to me, but would fix problem) Will wait on talking before putting through a PR. Note, these fixes only apple to chat, console grabs events with a higher priority and does something odd with the opening event that kind of confuses me, will need to talk to someone about that first. |
Merged #2839 so the first letter does no longer move the player. I could still walk with the console open if i hold 'ctrl' while pressing a movement key. Not sure if this is the intended behavior though. |
There are various issues concerning movement inputs persisting through the chatbox:
Holding down up and down at the same time will not allow you to open the chatbox.Log details and game version
Game version: tested both on the latest source tree (commit 7e3ba2c), and the Omega 691 binaries from http://forum.terasology.org/threads/play-test-session-sunday-march-19th-1-pm-us-eastern-time.1814/.
Computer details
GNU/Linux Ubuntu 16.10
The text was updated successfully, but these errors were encountered: