CommunityToolkit / Microsoft.Toolkit.Win32

ARCHIVE - This repository contained XAML Islands wrapper controls and tooling for XAML Islands with WinUI 2, see readme for more info about XAML Islands with WinUI 3 and the WindowsAppSDK.
https://aka.ms/windowsappsdk
Other
383 stars 89 forks source link

Forms program with WebView will not show in UAC Elevated mode #254

Open DJDoena opened 4 years ago

DJDoena commented 4 years ago

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

ghost commented 4 years ago

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 🙌

Kyaa-dost commented 4 years ago

@pagoe-msft ⬆️