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

Always asking for an older version of Microsoft WebView2 Runtime #442

Open
Spokkis opened this issue Nov 15, 2024 · 7 comments
Open

Always asking for an older version of Microsoft WebView2 Runtime #442

Spokkis opened this issue Nov 15, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Spokkis
Copy link

Spokkis commented Nov 15, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
For me it started each time I'm starting the account switcher after Edge updated to: Version 131.0.2903.48 (Official build) (64-bit).

Expected behavior
A clear and concise description of what you expected to happen, if not already obvious.

Screenshots
{32F8C85B-A09D-4500-B823-4121E8E6E7C7}

Desktop (please complete the following information):

  • OS: Win11 24H2

Additional context
Add any other context about the problem here.

@Spokkis Spokkis added the bug Something isn't working label Nov 15, 2024
@marcmy
Copy link

marcmy commented Nov 15, 2024

same here, issue since the latest version of webview got installed

edit: tried switching to CEF but it still does it.
edit2: got it working with CEF, just had to make sure it was not running in task manager and then ran the _main.exe, temporary workaround i guess

@Spokkis
Copy link
Author

Spokkis commented Nov 16, 2024

same here, issue since the latest version of webview got installed

edit: tried switching to CEF but it still does it.

edit2: got it working with CEF, just had to make sure it was not running in task manager and then ran the _main.exe, temporary workaround i guess

Thanks, will try this as a temporary workaround myself!

@S0NN1
Copy link

S0NN1 commented Nov 17, 2024

Adding some details that might be useful:
Microsoft Windows 11 Education 10.0.22631 22631
TcNo-Acc-Switcher 2024-08-30_01
Edge 131.0.2903.51

Funny enough ( I don't know since when) web to view is not listed as a separate runtime as shown below

image

Although I manually installed through the package under https://developer.microsoft.com/en-us/microsoft-edge/webview2?form=MA13LH#download but it is indeed in the right folder C:\Program Files (x86)\Microsoft\EdgeWebView\Application

image

My guess is that the program fails for the same reason although winget for example is able to list it correctly:

>winget list --name Web
Name                        Id                                                                             Version        Source
----------------------------------------------------------------------------------------------------------------------------------
obs-websocket version 5.0.1 ARP\Machine\X86\{117EE44F-48E1-49E5-A381-CC8D9195CF35}_is1                     5.0.1
WebStorm                    ARP\User\X64\JetBrains Toolbox (WebStorm) db215e5e-1fff-4e4c-98a5-8feca8f629c6 2024.3
Web Media Extensions        9N5TDP8VCMHS                                                                   1.1.1295.0     msstore
Webp Image Extensions       MSIX\Microsoft.WebpImageExtension_1.1.1711.0_x64__8wekyb3d8bbwe                1.1.1711.0
Windows Web Experience Pack MSIX\MicrosoftWindows.Client.WebExperience_524.28801.70.0_x64__cw5n1h2txyewy   524.28801.70.0
Microsoft Edge              Microsoft.EdgeWebView2Runtime                                                  131.0.2903.51  winget

EDIT: Looking at the source code I saw it checks for the reg keys, although looking at my installation I didn't find an entry for Web2View

EDIT 2: Looking at this comment MicrosoftEdge/WebView2Feedback#2019 (comment) it seems that the two folders used by TcNo to detect Edge2View reg keys are not valid. Moreover I see the reg key for the runtime on both folders mentioned in the comment above.
@TCNOco could you please check, we might need to update the find_installed_net_runtimes to cover such case...

@marcmy
Copy link

marcmy commented Nov 22, 2024

So my Win11 just (finally) got the 24H2 update and oddly enough it seems to have fixed this issue for me. PC also seems a bit snappier but that could just be placebo. Just an fyi in case anyone's holding back on it.

@Spokkis
Copy link
Author

Spokkis commented Nov 22, 2024

So my Win11 just (finally) got the 24H2 update and oddly enough it seems to have fixed this issue for me. PC also seems a bit snappier but that could just be placebo. Just an fyi in case anyone's holding back on it.

I am running Win11 24H2 as well. Strangely enough I seem to primarily have the issue on my desktop, laptop is working as normal.

@marcmy
Copy link

marcmy commented Dec 1, 2024

I had to go back to 23H2 due to crashing games on 24H2.. and I was having the issue again, but I updated MS Edge and I think there was also a new version of WebView and that must have fixed it because it's fine for me now.

@TCNOco
Copy link
Owner

TCNOco commented Dec 2, 2024

Thanks for the reports! Will look into this and get a new version out ASAP. I've had to reinstall Windows, so I need to set up all the build tools again..

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

No branches or pull requests

4 participants