How to reproduce:
1. Create a new Unity project
2. Create a new C# Script
3. Make any change in the Script and save
Expected result: The domain is reloaded when the Editor is in focus
Actual result: The domain is reloaded when the Editor is in the background and a "Reload Script Assemblies" or "Reloading Domain" dialog window is spawned on top of the IDE
Reproducible with: 2021.2.0b12, 2021.3.6f1, 2022.1.8f1, 2022.2.0b1, 2023.1.0a3
Not reproducible with: 2020.3.36f1, 2021.2.0b11
Reproducible on:
macOS 12.1 (Visual Studio for Mac 2022, Rider 2021.2.2)
Not reproducible on:
Windows 10 (Visual Studio 2022)