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

Bug 332676

Summary: [navigation] Hyperlinks broken after showing links while content assist proposals are shown
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: benno.baumgartner, daniel_megert, lbarbareau, sebastien.arod, support
Version: 3.5   
Target Milestone: 3.7 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Markus Keller CLA 2010-12-15 14:38:35 EST
HEAD

- paste this:

public class Snippet {
	
	void foo() {
	    System.out.println();
	    
	    new Boo
	}
}

- hold down Ctrl and hover over println
   => hyperlink and popup appear (good)
- set caret after "new Boo" and press Ctrl+Space
- hold down Ctrl and hover over println
   => hyperlink appears (good), multi-link-popup doesn't appear (good)
   => first hyperlink would even work (good, but don't click yet)
- move mouse away from println
   => bad: println is still underlined
- release Ctrl
   => Underline disappears.
   => From now on, hyperlinking is broken in that editor.

Looks like a problem in MultipleHyperlinkPresenter.MultipleHyperlinkHoverManager.showInformationControl(Rectangle): fIsControlVisible is set to true even if the information control wasn't shown (e.g. because its widget token priority was too low).
Comment 1 Dani Megert CLA 2010-12-16 06:54:26 EST
Fix is MultipleHyperlinkPresenter.java rev. 1.28.
Available in builds >= N20101216-2000.
Comment 2 Dani Megert CLA 2011-01-25 10:38:10 EST
Verified in I20110124-1800.
Comment 3 Dani Megert CLA 2011-02-11 04:45:15 EST
*** Bug 336909 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2011-04-12 11:14:05 EDT
*** Bug 342591 has been marked as a duplicate of this bug. ***
Comment 5 Markus Keller CLA 2011-06-29 05:25:02 EDT
*** Bug 350556 has been marked as a duplicate of this bug. ***