-
Notifications
You must be signed in to change notification settings - Fork 162
[Edge] Eclipse muzz never hung on displaying Javadoc tooltip with WebView2 installed #2061
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
Comments
Can you please share which exact Eclipse version you are running and take a sample while you hover over the Java element leading to the UI freeze (e.g., taken with VisualVM) so that one can analyze where the execution gets stuck? |
Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components) WebView2 ver. 135.0.3179.98 VisualVM snapshot: |
I am pretty sure the root cause is #1912 (fixed with #1920) @GooogLeMorons Can you try with the latest I-build version from https://download.eclipse.org/eclipse/downloads/? |
sure. the #1912 is about non-ASCII characters in TMP path, my is 'c:\Temp' symlink. checked it as described with '-Djava.io.tmpdir=d:\IDTTMP' in eclipse.ini and got same result: even if the provided 'd:\IDTTMP' is actively used by Eclipse for temp files, it still hungs on tooltip help with WebView2. when 'Use external web browser / Default system web browser' option is on, instead of tooltip Firefox opens e.g. 'file:///D:/IDTTMP/base15753692360015220917.html' - baseNNNNNNNNNNNNNN.html actually the file exists, and has 0 bytes size. |
Describe the bug
After installing WebView2 placing mouse over any tooltip-help-equipped term in (Java) editor causes IDE hung forever.
To Reproduce
On M$-Edgeless system with Firefox as system-wide default browser ensure default behavior of Eclipse Javadoc help - in tooltips('Press F2 to focus' in bottom bar).
Install M$ Edge WebView2 Runtime (https://developer.microsoft.com/en-us/microsoft-edge/webview2/)
Restart Eclipse
Check Help like Javadoc wasn't spontaneously switched to external browser. Return it back to internal tooltips, if so. Ensure General / Web browser / Use internal web browser is selected.
Place mouse pointer within editor over a Java term initiating Javadoc tooltip - Eclipse UI stops to respond (forever) and "(Not Responding)" suffix appears in window title after short period of time.
Expected behavior
The Javadoc tooltips work EXACTLY same way before WebView2 installation - just displayed with no hungs.
Environment:
Windows
Additional OS info (e.g. OS version, Linux Desktop, etc)
Windows 11
JRE/JDK version
Oracle JDK 24.GA
Workaround (or) Additional context
Wipe out WebView2 - this brings the annoying #2000 popups back, but Javadoc tooltips became functional too
The text was updated successfully, but these errors were encountered: