gtk3.22 : press 'c' to center focus is sometimes wrong
I've seen this often. Pressing 'c' again sorts it out. In fact, I got so used to it before I started reporting bugs, that I didn't see it as a bug anymore.
I see this frequently too, gtk3.22 with hex tiles
The same problem (center screen not on the supposed tile) occurs also when contact an unknown nation, and 'got to ' the place (i dont remember if it was from popup message, or from F9 double click on the event
Attached a screenshot, obviously wrong. In that case it was easy to see, and find the new nation, but it may be much harder on land with many countries.
Another hint to support debugging (or to lead one to wrong track, if it's not related after all). On gtk4-client development I've now seen cases where the screen has already been correctly centered initially, but has then recentered about half a screen to the left.
In gtk4-client development similar effect seen also when selecting centering to unit in citydlg supported units context menu.
3.1 client gtk3.22
(if needed i confirm i have not seen this problem with qt client, so it is quite surely a client-gtk problem :-)
I can reproduce the bug from a saved game with a small map :
It depends on the window size, the bug may not show up if i reduce window's width.
i have found a reproducible case, on S3_0 and S3_1
Skip several units to have active unit = transporter near Tuwanuwa
Depending on where is the starting pont, the center can be good or bad.
I have it wrong systematically if i move the screen far to the left of the boat.
Attached a saved game, and two screenshots, before and after to show the problem.