tryphotino / photino.NET

https://tryphotino.io
Apache License 2.0
833 stars 68 forks source link

Running as administrator disables other instances #162

Open josago97 opened 6 months ago

josago97 commented 6 months ago

If you run an executable as administrator and later open another instance of the same executable, that new instance does not work, the inputs, the buttons do, but text, number or selector inputs do not work.

MikeYeager commented 6 months ago

@josago97 We are able to reproduce this, but we're stumped as to why it's occurring. For us, it only happens if we have an instance running "As Administrator", and then start one or more other instance normally. The normal instance(s) has the issue. Additional instances running "As Administrator" work fine. Once all "As Administrator" instances are shut down, all new normal instances work as expected. Any normal instances still open that had the issue, still do not work. This appears to be an issue with the WebView2 control as the native window still operates as expected. We cannot reproduce the issue with the full Edge web browser. Any help on this one is appreciated!