Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364908

Summary: Escape key fails to dismiss focused javadoc hover when using WebKit
Product: [Eclipse Project] Platform Reporter: burkskinka
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: akdart, daniel_megert, grant_gayed, remy.suen
Version: 3.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description burkskinka CLA 2011-11-27 09:14:58 EST
Build Identifier: M20110909-1335

When Eclipse is using WebKit as the HTML renderer, javadoc popups (after being focused with F2) are impossible to close with the keyboard: the escape key does nothing. Clicking somewhere in another window still works (i.e. closes the popup).

If I make it use Gecko instead (by setting org.eclipse.swt.browser.DefaultType to "mozilla" and pointing XULRunnerPath to Firefox 3.6.24 in eclipse.ini), the escape key works as expected.

Reproducible: Always

Steps to Reproduce:
1. Configure Eclipse to use WebKit instead of Gecko by means of eclipse.ini.
2. Open a Java project in Eclipse.
3. Point at a class or method that has documentation, e.g. String, and wait for the popup to appear.
4. Press F2.
5. Press escape.
Comment 1 Grant Gayed CLA 2011-11-28 12:39:51 EST
The symptom is different, but the cause is the same as bug 350098.  Marking as a duplicate.

*** This bug has been marked as a duplicate of bug 350098 ***
Comment 2 Sokolov Artem CLA 2012-01-29 01:24:53 EST
(In reply to comment #0)
> Build Identifier: M20110909-1335
> 
> When Eclipse is using WebKit as the HTML renderer, javadoc popups (after being
> focused with F2) are impossible to close with the keyboard: the escape key does
> nothing. Clicking somewhere in another window still works (i.e. closes the
> popup).
> 
> If I make it use Gecko instead (by setting org.eclipse.swt.browser.DefaultType
> to "mozilla" and pointing XULRunnerPath to Firefox 3.6.24 in eclipse.ini), the
> escape key works as expected.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Configure Eclipse to use WebKit instead of Gecko by means of eclipse.ini.
> 2. Open a Java project in Eclipse.
> 3. Point at a class or method that has documentation, e.g. String, and wait for
> the popup to appear.
> 4. Press F2.
> 5. Press escape.

Upgrading to webkit-gtk 1.6.1-r301 fixed this problem
Comment 3 Grant Gayed CLA 2012-04-12 12:05:33 EDT

*** This bug has been marked as a duplicate of bug 353305 ***