Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem/Bug]: The new (12/07/2023) Webview2 update breaks ActiveX. #4229

Closed
rgoodman1977 opened this issue Dec 12, 2023 · 7 comments
Closed
Assignees
Labels
bug Something isn't working regression Something used to work but doesn't anymore

Comments

@rgoodman1977
Copy link

What happened?

We have been using Webview2 and MSHTML together for years now. Our program depends heavily on ActiveX to operate correctly. With the new update it works until you do anything which dynamically loads the WebView2 runtime. After that, all of the ActiveX controls won't load.

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

120.0.22.10.61

SDK Version

1.0.2151.40

Framework

Win32

Operating System

Windows 11

OS Version

Not applicable - reported on windows 10 and 11

Repro steps

You would need a copy of our product which I would supply...
Once you have the product installed open it... Open an appointment, try to log into Zoom (which loads WebView2). After that nothing works

Repros in Edge Browser

No

Regression

Regression in newer Runtime

Last working version (if regression)

119.0.2151.97

@rgoodman1977 rgoodman1977 added the bug Something isn't working label Dec 12, 2023
@rgoodman1977
Copy link
Author

This is similar to #4226. It is slightly different in that once the WebView2 is loaded and unloaded, I get calls to IInternetSecurityManager::ProcessUrlAction() (MSHTML) for
URLACTION_DOWNLOAD_SIGNED_ACTIVEX which I've never seen before.

@pontusn
Copy link

pontusn commented Dec 12, 2023

The unexpected call could originate from failure to create an ActiveX that is referred via URL.

@pontusn
Copy link

pontusn commented Dec 12, 2023

I used this tool to unveil details for revoked class factories:
http://www.rohitab.com/apimonitor

@victorhuangwq victorhuangwq added the regression Something used to work but doesn't anymore label Dec 12, 2023
@victorhuangwq
Copy link
Collaborator

Do you have any crash dumps to share?

@rgoodman1977
Copy link
Author

No , nothing crashes, just the active x controls all come up blank. I coded a fix based on the comments on 4226 for now.
(Use CoResumeClassObjects to revert suspended state)... I assume Microsoft is going to fix this soon?

@rgoodman1977
Copy link
Author

rgoodman1977 commented Dec 14, 2023

Your fix to #4226 (tested with Edge Canary) fixes this problem. Thanks!

@fabiorocha
Copy link
Member

@rgoodman1977 thanks for submitting this issue and connecting the dots between this and the other issue. As noted in #4226, Edge Stable should also be updated with the fix over the next couple of hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore
Projects
None yet
Development

No branches or pull requests

5 participants