Is there a new process hierarchy change after WebView2 runtime version 117.0*? #3848
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
@lflores-ms could you take a look at this? |
Beta Was this translation helpful? Give feedback.
-
Hey @tamuseanmiller - It's possible this was due to a change to avoid a bug when DPI compatibility settings were causing launch failures when trying to parent the processes/HWNDs. Instead, the child processes get launched from explorer.exe. You could check if your parent process has a "__COMPAT_LAYER" environment variable set, which could indicate this is happening. I also believe we use explorer.exe as the parent process if the host app is running as admin, as we try to avoid running the WebView2 processes as admin for security. |
Beta Was this translation helpful? Give feedback.
Hey @tamuseanmiller - It's possible this was due to a change to avoid a bug when DPI compatibility settings were causing launch failures when trying to parent the processes/HWNDs. Instead, the child processes get launched from explorer.exe. You could check if your parent process has a "__COMPAT_LAYER" environment variable set, which could indicate this is happening. I also believe we use explorer.exe as the parent process if the host app is running as admin, as we try to avoid running the WebView2 processes as admin for security.