the following line works well when I debug the app (press F5):
WebView2 gains focus, it comes to the foreground
However, when I run the app from the Start menu, or from its shortcut, WebView does not come to the foreground
Why is this?
How can it be fixed?