I recently installed AT 0.5. The last time I ran it, I shut it down while it was minimized. The next time I started it, the main window did not appear. Having run into this issue with other apps, I quickly realized what is going on. When a Windows app is minimized, Windows hides it by changing the window location to coordinates that are not in the current viewing area. They use -32000 for the X and Y coordinates. AT saved these values in astrotortilla.cfg for both the main window and the log viewer window. I was able to recover by editing that file to change the coordinates. You may want to check the coordinates at startup to verify that they are in the current view port before applying them to the windows. This bug would also cause a problem for someone who was last using AT on a second monitor when they start it up without that monitor connected. You may want to look at the Win32 SetWindowPlacement function.
Rick Burke
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recently installed AT 0.5. The last time I ran it, I shut it down while it was minimized. The next time I started it, the main window did not appear. Having run into this issue with other apps, I quickly realized what is going on. When a Windows app is minimized, Windows hides it by changing the window location to coordinates that are not in the current viewing area. They use -32000 for the X and Y coordinates. AT saved these values in astrotortilla.cfg for both the main window and the log viewer window. I was able to recover by editing that file to change the coordinates. You may want to check the coordinates at startup to verify that they are in the current view port before applying them to the windows. This bug would also cause a problem for someone who was last using AT on a second monitor when they start it up without that monitor connected. You may want to look at the Win32 SetWindowPlacement function.
Rick Burke
This should be fixed in 0.5.1, out soon.
Last edit: Antti Kuntsi 2013-04-10