Problem: Cannot close town dialog of a specific town.
Details:
There are few Dutch towns on the map. Problem is experienced only in "Fort Oranje", other towns' screens work as expected.
Problem can be worked-around by reconnecting/reloading the game. However, situation persists. If you reconnect/reload the game,
you can reproduce the problem.
The only difference I can possibly think about is a presence of Wagon Train in the Fort Oranje as there are no Wagon Trains in other towns.
Steps to reproduce:
1) Load attached savegame.
2) Open town dialog of "Fort Oranje" by double-clicking on the town on the map.
3) Hit "close" button on the town dialog. Dialog stays open.
Experienced on: openSUSE 42.1 x64
Java version: OpenJDK Runtime Environment (build 1.8.0_77-b03)
The same Java version was used for building and for running the game.
Built from: git.1756c04
I started a new game to confirm if it is really caused by a presence of Wagon Train - it is not.
In fact I found out that town screen cannot be closed by its "close" button when the town's build queue is empty. Confirmed on new game and also on the save which I originally attached to this ticket.
The panel will not close because of a stupid crash in the routine that closes it. My mistake. Fixed in git.7694aad.