Microsoft.Toolkit.Win32 icon indicating copy to clipboard operation
Microsoft.Toolkit.Win32 copied to clipboard

Forms program with WebView will not show in UAC Elevated mode

Open DJDoena opened this issue 4 years ago • 2 comments

Create a Windows Form application 4.7.2

Add NuGet Microsoft.Toolkit.Forms.UI.Controls.WebView 6.0.0

Add the control Microsoft.Toolkit.Forms.UI.Controls.WebView webView1 to your form

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    private void Form1_Load(object sender, System.EventArgs e)
    {
        webView1.Navigate("https://www.google.com");
    }
}

Start the program normally -> everything OK Start the program with Administrator privileges -> Window does not open, process must be killed via Task Manager

DJDoena avatar Apr 14 '20 20:04 DJDoena

Hello DJDoena, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

ghost avatar Apr 14 '20 20:04 ghost

@pagoe-msft ⬆️

Kyaa-dost avatar Apr 16 '20 18:04 Kyaa-dost