alt tabbing and losing camera control

A forum for solving problems that might be encountered during installation, updating, or in game.

Moderator: Doobie

alt tabbing and losing camera control

Postby killerking » Thu May 26, 2016 11:15 am

Hi guys,

Sometimes I alt tab during a game very quickly (ie to change the song i'm listening to) and on rare occasions it happens that when I return to myth, my camera goes 'out of control'. What I mean by this is that it feels like one key is stuck (i.e. d) and the camera keeps moving in one direction forever.
Yesterday this made me lose some important units in a coop game which sucked quite a bit so I finally decided to go over here and ask you guys: could you please fix this issue?! I think other people might have noticed it as well.
killerking
 
Posts: 290
Joined: Tue Jul 01, 2008 3:57 am
Location: The Netherlands

Re: alt tabbing and losing camera control

Postby Myrd » Thu May 26, 2016 8:58 pm

What OS are you using? You mention it acts like a key is stuck - when this happened did you actually press any of those keys? Does the issue go away when you move the mouse or press a key?
Myrd
Site Admin
 
Posts: 3679
Joined: Fri Mar 19, 2004 10:17 pm

Re: alt tabbing and losing camera control

Postby GodzFire » Fri May 27, 2016 5:31 pm

I've had that happen to me too for years and years on OSX. It's when you have whatever that preference is where if you mouse cursor the edges of the map, it moves the camera that way. Then if you tab out while your mouse is at the edge, it will keep going.
RIP: 1998-2013
GodzFire
 
Posts: 1659
Joined: Wed Nov 02, 2005 8:37 pm

Re: alt tabbing and losing camera control

Postby killerking » Sat May 28, 2016 3:34 pm

I'm using windows 10. The problem doesn't disappear when I press the 'stuck' key again. The camera stops moving when I press the key to move the camera in the opposite direction, but once I release it the camera drifts away again.

I also recognize the problem mentioned by Godzfire, but I was using OSX (think it was 10.4) at the time.
killerking
 
Posts: 290
Joined: Tue Jul 01, 2008 3:57 am
Location: The Netherlands

Re: alt tabbing and losing camera control

Postby GodzFire » Sun May 29, 2016 2:33 pm

Maybe Windows has the same issue with that one option.
RIP: 1998-2013
GodzFire
 
Posts: 1659
Joined: Wed Nov 02, 2005 8:37 pm

Re: alt tabbing and losing camera control

Postby Melekor » Sun May 29, 2016 3:30 pm

Hey Killerking, thanks for reporting this issue. I had not seen it myself. I'm surprised to hear it because the code was specifically designed to avoid the possibility of a key getting stuck.

The first thing I would recommend is to switch to 1.8.1 beta, which is backwards compatible. There is a small possibility that the issue was already fixed by some of the changes.

Second thing, when it happens please try the following program to check if the key is really stuck (not just in myth): http://projectmagma.net/~melekor/uploads/keystate.zip . It will print out the list of virtual keys that are currently pressed.

A few more questions:
How easy is it for you to reproduce this issue? How rare are we talking about?
What is your desktop DPI in Windows 10?
Does it still happen with the mouse camera movement preference disabled?
When the issue happens, are you still able to select things normally with the mouse?
User avatar
Melekor
Site Admin
 
Posts: 2076
Joined: Sat May 01, 2004 12:10 am
Location: British Columbia

Re: alt tabbing and losing camera control

Postby killerking » Tue Jun 14, 2016 1:43 am

I'll try to reproduce this later on, short on time at the moment unfortunately.
killerking
 
Posts: 290
Joined: Tue Jul 01, 2008 3:57 am
Location: The Netherlands


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests