Thunderbird is kept "dark" after showing an alert message
Affected version
I'm using Debian SID, and I've been having this problem at least since Gnome Shell 3.36 (but maybe it was there before). It happens at least in X11.
Bug summary
I found this in thunderbird, but I suspect that it can happen with other programs too. If in an email I want to open a link, but thunderbird thinks that it is phishing, it asks me if I really want to go to the URL using a modal dialog. While the modal dialog is shown, the main window of thunderbird is darker; but if I choose to open the link and firefox is already open in another virtual desktop, the main window doesn't return to the bright mode after the modal dialog is closed. Only if firefox wasn't open, or it was in the same virtual desktop does the thunderbird main window return to the bright appearance.
Steps to reproduce
-
Write an email with a "phishing" link (this is: it points to an URL, but shows a different one. Something like <a href="http://gitlab.gnome.org">http://github.com</a>
-
Open thunderbird in virtual desktop 0, and firefox in virtual desktop 1
-
Now, in thunderbird, do click in that link in the mail. Thunderbird will show a popup saying that the destination URL doesn't match the link text, and the main window, below the popup, will get darker.
-
Choose to visit any of the URLs. Gnome Shell will swap to virtual desktop 1 and show the URL in firefox
What happened
Thunderbird's main window will remain darker, instead of returning to the default intensity. But if Firefox is in the same virtual desktop than thunderbird, or if the user presses CANCEL (so Gnome Shell doesn't change to another virtual desktop), everything works fine.