View Issue Details

IDProjectCategoryLast Update
0000135AI War 1 / ClassicBug - OtherJan 3, 2011 11:45 am
ReporterBurnstreet Assigned ToChris_McElligottPark  
Status closedResolutionnot fixable 
Product Version3.700 
Summary0000135: input partially not working after alt-tab
DescriptionVersion 3.701

After tabbing out and back in again, most controls had stopped working.
Mouse-overs still displayed tooltips, P paused and unpaused the game and esc opened the menu but I was unable to select units or click buttons.
After saving the game everything worked again.
TagsNo tags attached.
Internal Weight

Relationships

has duplicate 0000946 closedChris_McElligottPark Modifier keys can become 'stuck' without notifying player 
has duplicate 0001532 closedChris_McElligottPark After using alt-tab to refocus game window alt button is "held down" 
has duplicate 0001625 closedChris_McElligottPark Bug: Sticky "LeftAlt" or "RightAlt" when Alt-Tab out of game 
has duplicate 0000410 closedChris_McElligottPark The "alt" selector sticks 
has duplicate 0002723 closedChris_McElligottPark Game keeps key presses if active window is switched away from the game. (when alt-tabbing for example) 

Activities

Moonshine Fox

Oct 3, 2010 8:43 am

reporter   ~0000045

This is due to Unity "locking" the ALT key in place during an Alt-tab. Other symptoms of this is that all targeting lines are now permanently visible. Simply pressing "Alt" again will make this go away.


Funnily enough, that doesn't seem to be bugreported yet. Anyhow, that's the reason for it, and hopefully there will be a fix for it soon-ish.

Chris_McElligottPark

Oct 3, 2010 11:52 am

administrator   ~0000062

Yes, this is a known issue in unity, and has been since 2.61 of unity and I'm sure always before. Tapping alt will fix it, but I'm pretty sure there's not much we can do on it directly. I marked this as acknowledged, though, because the fact that clicking fails might give us some interesting insight on this.

Note to self: see if the ongui events are still firing, they may be.

Kalzarius

Oct 3, 2010 7:31 pm

reporter   ~0000092

Strangely enough, upon reloading one of my test games, the game exhibited the alt-locked behaviour despite that I had never pressed the alt button nor had alt-tabbed out of the program (in fact, I had just recently loaded it).

Kalzarius

Oct 6, 2010 6:33 pm

reporter   ~0000421

I take it there's no way to make AI War release all keys when it loses focus? If not, somebody should get in touch with Unity and have them fix it. It's a pretty goofy bug to have lying around for so long.

Chris_McElligottPark

Oct 6, 2010 6:34 pm

administrator   ~0000422

Nope -- we can't tell when the application does or does not have focus, unfortunately. I'm pretty sure Unity is well aware of it, but why they've not fixed it I don't know.

keith.lamothe

Oct 6, 2010 6:34 pm

administrator   ~0000423

Yea, we can't tell in code whether we have focus, have just lost focus, or have just gained focus.

Issue History

Date Modified Username Field Change
Oct 3, 2010 8:37 am Burnstreet New Issue
Oct 3, 2010 8:43 am Moonshine Fox Note Added: 0000045
Oct 3, 2010 11:52 am Chris_McElligottPark Note Added: 0000062
Oct 3, 2010 11:52 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 3, 2010 11:52 am Chris_McElligottPark Status new => acknowledged
Oct 3, 2010 7:31 pm Kalzarius Note Added: 0000092
Oct 6, 2010 6:33 pm Kalzarius Note Added: 0000421
Oct 6, 2010 6:34 pm Chris_McElligottPark Note Added: 0000422
Oct 6, 2010 6:34 pm keith.lamothe Note Added: 0000423
Oct 28, 2010 4:42 am zebramatt Relationship added has duplicate 0000946
Nov 22, 2010 8:28 am Toll Relationship added has duplicate 0001532
Nov 22, 2010 8:34 am Chris_McElligottPark Status acknowledged => resolved
Nov 22, 2010 8:34 am Chris_McElligottPark Resolution open => not fixable
Nov 26, 2010 1:27 am unclean Relationship added has duplicate 0001625
Jan 3, 2011 11:45 am Chris_McElligottPark Status resolved => closed
Feb 1, 2011 10:51 pm keith.lamothe Relationship added has duplicate 0000410
Feb 1, 2011 10:52 pm keith.lamothe Relationship added has duplicate 0002723