@@ -137,6 +137,44 @@ <h2>General Updates </h2>
137137 </ p >
138138 </ td >
139139 </ tr >
140+ < tr id ="edgeBrowserDefault "> <!-- https://github.com/eclipse-platform/eclipse.platform.swt/issues/1466 -->
141+ < td class ="title "> Edge as Default Browser on Windows</ td >
142+ < td class ="content ">
143+ < p >
144+ Edge replaces Internet Explorer as the default browser instantiated by SWT. Internet Explorer is outdated and out of
145+ maintenance. It is replaced with the WebView2 engine used by Edge. Switching to this modern engine will ensure that
146+ use cases keep working or enables uses cases that are not working with Internet Explorer anymore or have never been
147+ working with it. As an example, if an Eclipse application is executed in dark mode, according CSS styling of web
148+ pages will be applied if embedded via:< br >
149+ < code > @media (prefers-color-scheme: dark) { ... }</ code >
150+ </ p >
151+ < p >
152+ In consequence, every SWT- and Eclipse-based product will by default now create instances of the < code > Browser</ code >
153+ class based on Edge when running on Windows. Some notable examples are the welcome page and help in Eclipse products
154+ as well as the Javadoc view and the element info popups.
155+ </ p >
156+ < p >
157+ < b > Feedback:</ b > In case you experience any issues or limitations with the Edge browser implementation, please report
158+ them back in the umbrella issue (< a href ="https://github.com/eclipse-platform/eclipse.platform.swt/issues/1466 "> #1466</ a > ).
159+ </ p >
160+ < p >
161+ In case you want to or need to still use Internet Explorer in your Eclipse product, you can:
162+ < ul >
163+ < li > Switch to Internet Explorer for a complete product by setting the VM argument (for example in your
164+ < i > eclipse.ini</ i > : < code > -Dorg.eclipse.swt.browser.DefaultType=IE</ code >
165+ </ li >
166+ < li > Programmatically create a single browser instance with Internet Explorer by passing the flag
167+ < code > SWT.IE</ code > to the browser constructor
168+ </ li >
169+ < li >
170+ Create a fragment for host plug-in < code > org.eclipse.swt</ code > containing a class with qualified name
171+ < code > org.eclipse.swt.browser.BrowserInitializer</ code > that sets the system property
172+ < code > -Dorg.eclipse.swt.browser.DefaultType=IE</ code > in its static initializer.
173+ </ li >
174+ </ ul >
175+ </ p >
176+ </ td >
177+ </ tr >
140178
141179 <!-- ******************* End of General Updates ************************************* -->
142180 < tr > < td colspan ="2 "/> </ tr >
0 commit comments