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

Bug 418618

Summary: Status bar: Should dismiss the status bar if a link inside the bar is clicked.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Mike_Wilson, simon_kaegi
Version: 3.0   
Target Milestone: 4.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Plugin to test links in the status bar. none

Description libing wang CLA 2013-10-03 15:38:33 EDT
In bug 417607, I put a fix to dismiss error and warning messages when you click somewhere else out side of the bar. But there is another common case:
If there is a link inside the bar, no matter it is error or normal message, we should dismiss the status bar when the link is clicked.
Comment 2 libing wang CLA 2013-10-03 15:49:53 EDT
Test case 1:
1.Open a file a change something.
2.In another tab, log out.
3.In the editor page from step 1, tr to save the file.
4. Now you got error message saying: "auth error please login again".
5.Log in again.
6.In the editor page the error messsage dismissed.

Test case 2:
1.Import the test plugin(attach later) into your workspace.
2.Install the plugin.
3.In any editor page click on "show some links" button then click on "display some links".
4.Now the status bar pops up and shows two links.
5. Clicking on any of the links will dismiss the status bar and in the mean while open the link in another tab.
Comment 3 libing wang CLA 2013-10-03 15:51:29 EDT
Created attachment 236084 [details]
Plugin to test links in the status bar.