Bug 576145 - [Browser][Edge] Failed to unregister class Chrome_WidgetWin_0. Error = 0
Summary: [Browser][Edge] Failed to unregister class Chrome_WidgetWin_0. Error = 0
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.21   Edit
Hardware: PC Windows 10
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 575660
  Show dependency tree
 
Reported: 2021-09-21 07:04 EDT by Flavio Donze CLA
Modified: 2022-01-14 05:42 EST (History)
5 users (show)

See Also:


Attachments
simple RCP project creating an Edge browser instance (70.41 KB, application/x-zip-compressed)
2021-09-21 07:04 EDT, Flavio Donze CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Flavio Donze CLA 2021-09-21 07:04:20 EDT
Created attachment 287175 [details]
simple RCP project creating an Edge browser instance

Switching an RCP application to use Edge, I get the following error after closing the application:

[0921/125633.272:ERROR:window_impl.cc(114)] Failed to unregister class Chrome_WidgetWin_0. Error = 0

Attached is a demo project based on the "RCP 3.x application with a view" template. Using a browser in the view.
Also the launch containing the argument:
  -Dorg.eclipse.swt.browser.DefaultType=edge

Environment:
Eclipse 2021-09 (4.21)
Windows 10 Pro for Workstations: 21H1
Java jdk17.0.0
Comment 1 Phil Beauvoir CLA 2021-10-10 04:34:00 EDT
I found a comment here about destroying the parent window of the WebView - https://causlayer.orgs.hk/MicrosoftEdge/WebView2Feedback/issues/1762#issuecomment-936668089
Comment 2 Lars Vogel CLA 2022-01-14 05:33:27 EST
I see a similar error in our client log:

[0114/113107.362:ERROR:window_impl.cc(115)] Failed to unregister class Chrome_WidgetWin_0. Error = 0


Nikta, anything SWT can do here?