Bug Related To Timing of Selecting A New Technology To Research
Published on Friday, December 17, 2021 By
When you click on the icon to go to the next turn, there is a series of events that occur before you can do something with a ship in the next turn:
- any ships that have pending moves will execute those moves
- if one of those ships surveys a ship graveyard, whatever the graveyard held will be displayed
- if you have any ships on treasure hunting, research, or resource hunting missions and those missions complete, you will see those results
- if the technology you are researching gets completed (either naturally or by research provided by a research mission) the window informing you of this appears with a button in it you can click to select a new technology to re4search
- all other civilizations will do whatever they want to do INCLUDING communicate with you about gifts, trade, or war.
The bug that I have encountered is that, if I click the button to select a new technology BEFORE all of the other activities that can display a window have completed, I cannot get out of the technology selection screen no matter what I do. Even the Escape key does not work. I can click around the various technology options, but the Done key does not work and double-clicking on a technology does not work like it usually does. The only way out is to use the operating system to close the program.
I suspect that the problem is that another window has been opened behind the technology selection window and the program is waiting for a response in that window (which you cannot see) before it will let you close the technology selection window.
I strongly suggest that you take a look at prioritizing the sequence of windows that need to be shown to the user. In this case, there is no reason I can think of why the window related to the completion of a technology should not be the LAST window to appear before the user begins the next turn. I do not pretend to know or understand all of the complexities you have to deal with in the code, but the way it works now is unacceptable due to the fact that the user gets stuck with no way out.