EMailFormatter: Style change not propagated to all instances
Upon unlocking my screen this morning, I discovered this minor papercut bug with Evolution 3.48.3's handling of dark/light mode switching, in Fedora 38.
Reproducing the issue
Under some conditions (ex: minimized window, locked screen, or maybe some other conditions but I'm not sure which because I've sometimes seen it happen with non-minimized windows on a secondary monitor), the light/dark switch does not get applied to email message windows (or panes). This is easier to reproduce if you have a message opened as a standalone window, on a separate monitor and/or minimized, when switching between the freedesktop dark/light theme (the switch can be done manually, does not need to be an automated switch).
Results
When the problem occurs, it might look like this, with mixed colors:
Also the searchbar (if already active) does not adjust its shade of blue background, but that issue was already present.
Workaround: focusing the relevant window or widget and toggling the dark mode on/off once or twice makes it show the correct styling.