View Issue Details

IDProjectCategoryLast Update
0003517AI War 1 / ClassicGUIJul 13, 2011 8:44 am
ReporterHearteater Assigned ToChris_McElligottPark  
Status closedResolutionnot fixable 
Summary0003517: System map moves when alt-tabbing
DescriptionIn fullscreen mode, when I alt-tab out and come back, the system map has centered on some empty location in space. Also applies if I minimize all with Window+D.
Tagssystem map
Internal Weight

Relationships

duplicate of 0002892 closedChris_McElligottPark Game screen pans to outer space on ALT+TAB 
related to 0000410 closedChris_McElligottPark The "alt" selector sticks 

Activities

Chris_McElligottPark

Jun 14, 2011 1:44 pm

administrator   ~0012440

Yep, this has been reported before. As with the note on the other one, the Unity 3D engine doesn't let us detect when the game doesn't have focus, so there's not much we can do.

Hearteater

Jun 14, 2011 2:45 pm

reporter   ~0012441

Would a work around be to detect when the system view jumps way outside the normal area? It just seems the resulting system view is pretty unusual, so a correction to auto-center on current selection (or just on the middle of the system if nothing is selected) might be helpful.

I know when I was first playing and that happened I had trouble figuring out where the system went! Luckily I just out of habit hit spacebar (I play a lot of LoL so it was habit).

Also, I'm sure you've researched it, but just in case you haven't seen it, there was a suggestion 2 days ago that to detect losing focus you'd need to use a C++ plugin.
http://answers.unity3d.com/questions/19403/detect-when-user-minimizes-application.html

No idea how feasible that is, or if it is even accurate.

Chris_McElligottPark

Jun 14, 2011 2:55 pm

administrator   ~0012442

That sort of plugin would only work on windows, and it's the sort of thing that we consider pretty flaky because system calls have a way of changing between OS versions, etc. That's just not a place we want to go; right now the only C++ plugins that we use are for Steam's API, and even there we have to have separate versions for windows and OSX.

In terms of not letting the view go way outside the viewing area, the problem is that if someone does that intentionally, suddenly the game "glitches" and shunts them back to the system, etc. I'm sure something could be worked out, but this is a pretty minor issue from the number of reports we've had of it (twoish), and thus it's not something high on my list.

Hearteater

Jun 14, 2011 9:14 pm

reporter   ~0012443

Thanks for taking the time to answer. That also answers my question on why the background music still plays while AI Wars is minimized. Of course since I find the music amazing, I really consider that more a feature than a bug.

Issue History

Date Modified Username Field Change
Jun 14, 2011 1:41 pm Hearteater New Issue
Jun 14, 2011 1:42 pm Hearteater Tag Attached: system map
Jun 14, 2011 1:44 pm Chris_McElligottPark Note Added: 0012440
Jun 14, 2011 1:44 pm Chris_McElligottPark Status new => closed
Jun 14, 2011 1:44 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jun 14, 2011 1:44 pm Chris_McElligottPark Resolution open => not fixable
Jun 14, 2011 2:45 pm Hearteater Note Added: 0012441
Jun 14, 2011 2:51 pm Hearteater Relationship added duplicate of 0002892
Jun 14, 2011 2:55 pm Chris_McElligottPark Note Added: 0012442
Jun 14, 2011 9:14 pm Hearteater Note Added: 0012443
Jul 13, 2011 8:44 am Chris_McElligottPark Relationship added related to 0000410
Apr 14, 2014 9:28 am Chris_McElligottPark Category Bug - UI => GUI