TcNo-Acc-Switcher icon indicating copy to clipboard operation
TcNo-Acc-Switcher copied to clipboard

Always asking for an older version of Microsoft WebView2 Runtime

Open Spokkis opened this issue 1 year ago • 7 comments

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 avatar Nov 15 '24 12:11 Spokkis

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

marcmy avatar Nov 15 '24 23:11 marcmy

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!

Spokkis avatar Nov 16 '24 10:11 Spokkis

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 https://github.com/MicrosoftEdge/WebView2Feedback/issues/2019#issuecomment-1138319113 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...

S0NN1 avatar Nov 17 '24 11:11 S0NN1

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.

marcmy avatar Nov 22 '24 11:11 marcmy

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.

Spokkis avatar Nov 22 '24 11:11 Spokkis

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.

marcmy avatar Dec 01 '24 20:12 marcmy

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..

TCNOco avatar Dec 02 '24 02:12 TCNOco