View Issue Details

IDProjectCategoryLast Update
0002306AI War 1 / ClassicGUIJan 19, 2011 1:33 am
ReporterDraco Cretel Assigned ToChris_McElligottPark  
Status closedResolutionnot fixable 
Product Version4.063 
Summary0002306: Alt-Tabbing Problems
DescriptionWhenever alt-tabbing out of game it causes the in game view to shift downward a little. It does not stay in the same position. Also the alt key stays stuck on when alt-tabbing out until you press and release the alt key.
TagsNo tags attached.
Internal Weight

Relationships

has duplicate 0002892 closedChris_McElligottPark Game screen pans to outer space on ALT+TAB 

Activities

Chris_McElligottPark

Jan 8, 2011 10:18 pm

administrator   ~0008013

Yes, the alt tab key being stuck is a known issue and that's why we show which keys have been held down for a long time. It's an engine issue, and not something we can fix. As far as it scrolling down slightly, that's not something I've heard of before, but it's also not the sort of thing that's within the ability of game-level code to fix for something like this. :/

Search the closed issues here for more info on alt-tabbing if you want.

BobTheJanitor

Jan 8, 2011 10:22 pm

reporter   ~0008015

Last edited: Jan 8, 2011 10:24 pm

I was about to come post this. Pre 4.063 it did not do this, but since then it is consistent every time I tab out while in a planet-level view, when I come back the view has gone diagonally down and to the right. It seems to go further the longer I am tabbed out. Did something change between the previous version and this one that makes the mouse detect as moving to the bottom right corner whenever you alt-tab?

Edit: Oops now I see this is closed. Uh, what's the etiquette for something like this? I'm pretty sure something changed, but I don't want to be annoying and resubmit something that's already been closed as non-fixable. Surely something had to break it in the first place...?

Chris_McElligottPark

Jan 8, 2011 10:25 pm

administrator   ~0008016

That part is new, then -- the game does keep track of your mouse movements when the game doesn't have focus. That's unfortunately an apparent result of our having fixed a bug with windowed mode being very broken (and edge scrolling not working quite right in general). Not something we can fix without breaking something else worse, though. :/

Draco18s

Jan 18, 2011 10:14 pm

developer   ~0009182

Hey X, would it be possible to disable view scrolling when the ALT key is "held" down?

TechSY730

Jan 18, 2011 10:17 pm

reporter   ~0009184

Bad idea. The alt key does modify selection behavior, so scrolling while holding down alt has use.

Draco18s

Jan 18, 2011 10:19 pm

developer   ~0009185

Hmm. It was a thought though. :\

TechSY730

Jan 18, 2011 10:20 pm

reporter   ~0009186

It would a great solution if the alt key wasn't mapped to anything important by default. Good thinking though.

BobTheJanitor

Jan 19, 2011 1:24 am

reporter   ~0009217

Does the tab part of alt + tab get passed to the game before switching windows? You could add a bind to always go to the galaxy map when alt + tab is pressed, or at least an option for those of us who tab out a lot (to put in too many bug and suggestion reports no doubt) so that when we come back our view won't be halfway to Alpha Centauri.

Chris_McElligottPark

Jan 19, 2011 1:32 am

administrator   ~0009218

Unfortunately not. When the tab part is hit, it's a windows interrupt and all the game knows is that alt is held down. We looked into this really thoroughly, believe me. Not that there might not be something we didn't think of, but we definitely put a lot of effort into this and this was the best we could find.

Chris_McElligottPark

Jan 19, 2011 1:33 am

administrator   ~0009219

By the way -- to quickly center on your stuff when you get back into a game, just tap the H key. That at least makes this a pretty minor issue if you know that hotkey, though it's still annoying and something we hope can be fixed in a future version of Unity.

Issue History

Date Modified Username Field Change
Jan 8, 2011 10:13 pm Draco Cretel New Issue
Jan 8, 2011 10:18 pm Chris_McElligottPark Note Added: 0008013
Jan 8, 2011 10:18 pm Chris_McElligottPark Status new => closed
Jan 8, 2011 10:18 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 8, 2011 10:18 pm Chris_McElligottPark Resolution open => not fixable
Jan 8, 2011 10:22 pm BobTheJanitor Note Added: 0008015
Jan 8, 2011 10:24 pm BobTheJanitor Note Edited: 0008015
Jan 8, 2011 10:25 pm Chris_McElligottPark Note Added: 0008016
Jan 18, 2011 10:14 pm Draco18s Note Added: 0009182
Jan 18, 2011 10:17 pm TechSY730 Note Added: 0009184
Jan 18, 2011 10:19 pm Draco18s Note Added: 0009185
Jan 18, 2011 10:20 pm TechSY730 Note Added: 0009186
Jan 19, 2011 1:24 am BobTheJanitor Note Added: 0009217
Jan 19, 2011 1:32 am Chris_McElligottPark Note Added: 0009218
Jan 19, 2011 1:33 am Chris_McElligottPark Note Added: 0009219
Feb 24, 2011 3:49 pm Draco18s Relationship added has duplicate 0002892
Apr 14, 2014 9:28 am Chris_McElligottPark Category Bug - UI => GUI