Context:

When the diplomacy screen for another player requires attention, for example because their attitude changed or because they proposed a treaty, this is usually indicated by an alert marker in the form of a question mark or exclamation mark superimposed on top of their empire icon in the top left area of the main map screen.


Description:

These "!" or "?" markers often stay in place even after the player enters the respective diplomacy screen, reviews all related information, takes all necessary action, and closes the diplomacy screen.  If that happens, they do go away when opening and closing the respective diplomacy screen again, even wothout clicking on anything between opening and closing it.


Steps to reproduce:

1. Play until some diplomatic event or notification occurs.

2. Enter the respective diplomacy screen (no matter whether via the empire icon or directly from a notification), inspect all the related information and take all the necessary action, then close the diplomacy screen.

3. Look at respective the empire icon in th etop right area and see whether the "!" or "?" is still there.


Reproducibility:

at least 4/5, should be easy to reproduce

I'm not sure whether it happens always, but at least it feels like in the majority of cases.


Expected behavior:

The icon should appear at the same time as the notification and disappear immeadiately after looking at the relevant information, no matter whether the player decided to take any action with respect to it.


Notes:

I can only guess, but i suspect the code contains instructions for activating and deactivating these alert characters.  Since closing the diplomacy screen the second time reliably removes the alert, i deem it unlikely that it is the deactivation code that is broken; it feels more likely that something might be fishy with the activation.  For example, activation might be triggered late in some situations, for example at the same time or even after the player already exited the respective diplomacy screen the first time.