Skip to content
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

scroll key sometimes stuck #2075

Closed
Mailaender opened this issue Apr 30, 2012 · 5 comments
Closed

scroll key sometimes stuck #2075

Mailaender opened this issue Apr 30, 2012 · 5 comments
Labels

Comments

@Mailaender
Copy link
Member

Mailaender commented Apr 30, 2012

When I use the keyboard for scrolling sometimes the arrow feels "stuck" as I endlessly scroll into 1 direction. When I press the opposite key the scrolling simply stops instead of going into the different direction. I can only navigate via radar or backspace (to HQ) then. It vanishes after sometime, but it is really annoying. Happens often, but hard to reproduce.

@earthpig
Copy link
Contributor

earthpig commented May 1, 2012

This happens to me fairly often too, now that I think about it. Mashing the arrow keys a few times each seems to make it go away; I guess I don't even notice it any more. :\

@ScottNZ
Copy link
Contributor

ScottNZ commented Nov 25, 2012

Just came up with a repro:

  1. hold down an arrow key to scroll
  2. drag a box with your mouse while you're scrolling
  3. release the arrow key but keep your mouse down
  4. release mouse button

@cjshmyr
Copy link
Member

cjshmyr commented Nov 27, 2012

Easy to repo with Scott's method

@pchote pchote closed this as completed in 7c91d69 Jul 29, 2013
@abcdefg30
Copy link
Member

I can reproduce this on latest bleed.

New repo case:

  1. Press an arrow key and hold it
  2. Press esc
  3. Release the arrow key
  4. Press esc again

@rob-v
Copy link
Contributor

rob-v commented Apr 20, 2017

IMO #13111 = this issue #2075, solved by PR #13115 (occurs in game)
@ScottNZ's repro was solved by @pchote

@abcdefg30 case - can still be reproduced, but is minor - you need to keep arrow key pressed and press ESC. when you return to game, simple 1 key press (in the broken direction) fixes it. The other 2 issues weren't solved by simple key press, it was real issue in game, this is minor.
We would need to inform Viewport that such an event occurred to cancel scrolling. If there is no such event atm, we can simply keep it as is and close this issue after merging PR #13115.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants